public abstract class GeneratedYaasApplication extends GenericItem
YaasApplication.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENTID
Qualifier of the
YaasApplication.clientId attribute |
static String |
CLIENTSECRET
Qualifier of the
YaasApplication.clientSecret attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
IDENTIFIER
Qualifier of the
YaasApplication.identifier attribute |
static String |
OAUTHURL
Qualifier of the
YaasApplication.oauthURL attribute |
static String |
PUBSUBCLIENT
Qualifier of the
YaasApplication.pubsubClient attribute |
static String |
YAASCLIENTS
Qualifier of the
YaasApplication.yaasClients attribute |
protected static OneToManyHandler<YaasClient> |
YAASCLIENTSHANDLER
OneToManyHandler for handling 1:n YAASCLIENTS's relation attributes from 'many' side. |
static String |
YAASPROJECT
Qualifier of the
YaasApplication.yaasProject attribute |
protected static BidirectionalOneToManyHandler<GeneratedYaasApplication> |
YAASPROJECTHANDLER
BidirectionalOneToManyHandler for handling 1:n YAASPROJECT's relation attributes from 'one' side. |
static String |
YAASPROJECTPOS
Qualifier of the
YaasApplication.yaasProjectPOS attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedYaasApplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToYaasClients(SessionContext ctx,
YaasClient value)
Generated method - Adds
value to yaasClients. |
void |
addToYaasClients(YaasClient value)
Generated method - Adds
value to yaasClients. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
String |
getClientId()
Generated method - Getter of the
YaasApplication.clientId attribute. |
String |
getClientId(SessionContext ctx)
Generated method - Getter of the
YaasApplication.clientId attribute. |
String |
getClientSecret()
Generated method - Getter of the
YaasApplication.clientSecret attribute. |
String |
getClientSecret(SessionContext ctx)
Generated method - Getter of the
YaasApplication.clientSecret attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getIdentifier()
Generated method - Getter of the
YaasApplication.identifier attribute. |
String |
getIdentifier(SessionContext ctx)
Generated method - Getter of the
YaasApplication.identifier attribute. |
String |
getOauthURL()
Generated method - Getter of the
YaasApplication.oauthURL attribute. |
String |
getOauthURL(SessionContext ctx)
Generated method - Getter of the
YaasApplication.oauthURL attribute. |
String |
getPubsubClient()
Generated method - Getter of the
YaasApplication.pubsubClient attribute. |
String |
getPubsubClient(SessionContext ctx)
Generated method - Getter of the
YaasApplication.pubsubClient attribute. |
Set<YaasClient> |
getYaasClients()
Generated method - Getter of the
YaasApplication.yaasClients attribute. |
Set<YaasClient> |
getYaasClients(SessionContext ctx)
Generated method - Getter of the
YaasApplication.yaasClients attribute. |
YaasProject |
getYaasProject()
Generated method - Getter of the
YaasApplication.yaasProject attribute. |
YaasProject |
getYaasProject(SessionContext ctx)
Generated method - Getter of the
YaasApplication.yaasProject attribute. |
void |
removeFromYaasClients(SessionContext ctx,
YaasClient value)
Generated method - Removes
value from yaasClients. |
void |
removeFromYaasClients(YaasClient value)
Generated method - Removes
value from yaasClients. |
void |
setClientId(SessionContext ctx,
String value)
Generated method - Setter of the
YaasApplication.clientId attribute. |
void |
setClientId(String value)
Generated method - Setter of the
YaasApplication.clientId attribute. |
void |
setClientSecret(SessionContext ctx,
String value)
Generated method - Setter of the
YaasApplication.clientSecret attribute. |
void |
setClientSecret(String value)
Generated method - Setter of the
YaasApplication.clientSecret attribute. |
void |
setIdentifier(SessionContext ctx,
String value)
Generated method - Setter of the
YaasApplication.identifier attribute. |
void |
setIdentifier(String value)
Generated method - Setter of the
YaasApplication.identifier attribute. |
void |
setOauthURL(SessionContext ctx,
String value)
Generated method - Setter of the
YaasApplication.oauthURL attribute. |
void |
setOauthURL(String value)
Generated method - Setter of the
YaasApplication.oauthURL attribute. |
void |
setPubsubClient(SessionContext ctx,
String value)
Generated method - Setter of the
YaasApplication.pubsubClient attribute. |
void |
setPubsubClient(String value)
Generated method - Setter of the
YaasApplication.pubsubClient attribute. |
void |
setYaasClients(SessionContext ctx,
Set<YaasClient> value)
Generated method - Setter of the
YaasApplication.yaasClients attribute. |
void |
setYaasClients(Set<YaasClient> value)
Generated method - Setter of the
YaasApplication.yaasClients attribute. |
void |
setYaasProject(SessionContext ctx,
YaasProject value)
Generated method - Setter of the
YaasApplication.yaasProject attribute. |
void |
setYaasProject(YaasProject value)
Generated method - Setter of the
YaasApplication.yaasProject attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String IDENTIFIER
YaasApplication.identifier attributepublic static final String CLIENTID
YaasApplication.clientId attributepublic static final String CLIENTSECRET
YaasApplication.clientSecret attributepublic static final String PUBSUBCLIENT
YaasApplication.pubsubClient attributepublic static final String OAUTHURL
YaasApplication.oauthURL attributepublic static final String YAASPROJECTPOS
YaasApplication.yaasProjectPOS attributepublic static final String YAASPROJECT
YaasApplication.yaasProject attributepublic static final String YAASCLIENTS
YaasApplication.yaasClients attributeprotected static final BidirectionalOneToManyHandler<GeneratedYaasApplication> YAASPROJECTHANDLER
BidirectionalOneToManyHandler for handling 1:n YAASPROJECT's relation attributes from 'one' side.protected static final OneToManyHandler<YaasClient> YAASCLIENTSHANDLER
OneToManyHandler for handling 1:n YAASCLIENTS's relation attributes from 'many' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic String getClientId(SessionContext ctx)
YaasApplication.clientId attribute.public String getClientId()
YaasApplication.clientId attribute.public void setClientId(SessionContext ctx, String value)
YaasApplication.clientId attribute.value - the clientIdpublic void setClientId(String value)
YaasApplication.clientId attribute.value - the clientIdpublic String getClientSecret(SessionContext ctx)
YaasApplication.clientSecret attribute.public String getClientSecret()
YaasApplication.clientSecret attribute.public void setClientSecret(SessionContext ctx, String value)
YaasApplication.clientSecret attribute.value - the clientSecretpublic void setClientSecret(String value)
YaasApplication.clientSecret attribute.value - the clientSecretprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GenericItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic String getIdentifier(SessionContext ctx)
YaasApplication.identifier attribute.public String getIdentifier()
YaasApplication.identifier attribute.public void setIdentifier(SessionContext ctx, String value)
YaasApplication.identifier attribute.value - the identifierpublic void setIdentifier(String value)
YaasApplication.identifier attribute.value - the identifierpublic String getOauthURL(SessionContext ctx)
YaasApplication.oauthURL attribute.public String getOauthURL()
YaasApplication.oauthURL attribute.public void setOauthURL(SessionContext ctx, String value)
YaasApplication.oauthURL attribute.value - the oauthURLpublic void setOauthURL(String value)
YaasApplication.oauthURL attribute.value - the oauthURLpublic String getPubsubClient(SessionContext ctx)
YaasApplication.pubsubClient attribute.public String getPubsubClient()
YaasApplication.pubsubClient attribute.public void setPubsubClient(SessionContext ctx, String value)
YaasApplication.pubsubClient attribute.value - the pubsubClientpublic void setPubsubClient(String value)
YaasApplication.pubsubClient attribute.value - the pubsubClientpublic Set<YaasClient> getYaasClients(SessionContext ctx)
YaasApplication.yaasClients attribute.public Set<YaasClient> getYaasClients()
YaasApplication.yaasClients attribute.public void setYaasClients(SessionContext ctx, Set<YaasClient> value)
YaasApplication.yaasClients attribute.value - the yaasClientspublic void setYaasClients(Set<YaasClient> value)
YaasApplication.yaasClients attribute.value - the yaasClientspublic void addToYaasClients(SessionContext ctx, YaasClient value)
value to yaasClients.value - the item to add to yaasClientspublic void addToYaasClients(YaasClient value)
value to yaasClients.value - the item to add to yaasClientspublic void removeFromYaasClients(SessionContext ctx, YaasClient value)
value from yaasClients.value - the item to remove from yaasClientspublic void removeFromYaasClients(YaasClient value)
value from yaasClients.value - the item to remove from yaasClientspublic YaasProject getYaasProject(SessionContext ctx)
YaasApplication.yaasProject attribute.public YaasProject getYaasProject()
YaasApplication.yaasProject attribute.public void setYaasProject(SessionContext ctx, YaasProject value)
YaasApplication.yaasProject attribute.value - the yaasProjectpublic void setYaasProject(YaasProject value)
YaasApplication.yaasProject attribute.value - the yaasProjectCopyright © 2017 SAP SE. All Rights Reserved.