public abstract class GeneratedYaasClientCredential extends GenericItem
YaasClientCredential.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 java.lang.String |
CLIENTID
Qualifier of the
YaasClientCredential.clientId attribute |
static java.lang.String |
CLIENTSECRET
Qualifier of the
YaasClientCredential.clientSecret attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
IDENTIFIER
Qualifier of the
YaasClientCredential.identifier attribute |
static java.lang.String |
OAUTHURL
Qualifier of the
YaasClientCredential.oauthURL attribute |
static java.lang.String |
PUBSUBCLIENT
Qualifier of the
YaasClientCredential.pubsubClient attribute |
static java.lang.String |
YAASPROJECT
Qualifier of the
YaasClientCredential.yaasProject attribute |
protected static BidirectionalOneToManyHandler<GeneratedYaasClientCredential> |
YAASPROJECTHANDLER
BidirectionalOneToManyHandler for handling 1:n YAASPROJECT's relation attributes from 'one' side. |
static java.lang.String |
YAASSERVICEMAPPINGS
Qualifier of the
YaasClientCredential.yaasServiceMappings attribute |
protected static OneToManyHandler<AbstractYaasServiceMapping> |
YAASSERVICEMAPPINGSHANDLER
OneToManyHandler for handling 1:n YAASSERVICEMAPPINGS's relation attributes from 'many' side. |
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 |
|---|
GeneratedYaasClientCredential() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToYaasServiceMappings(AbstractYaasServiceMapping value)
Generated method - Adds
value to yaasServiceMappings. |
void |
addToYaasServiceMappings(SessionContext ctx,
AbstractYaasServiceMapping value)
Generated method - Adds
value to yaasServiceMappings. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.lang.String |
getClientId()
Generated method - Getter of the
YaasClientCredential.clientId attribute. |
java.lang.String |
getClientId(SessionContext ctx)
Generated method - Getter of the
YaasClientCredential.clientId attribute. |
java.lang.String |
getClientSecret()
Generated method - Getter of the
YaasClientCredential.clientSecret attribute. |
java.lang.String |
getClientSecret(SessionContext ctx)
Generated method - Getter of the
YaasClientCredential.clientSecret attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getIdentifier()
Generated method - Getter of the
YaasClientCredential.identifier attribute. |
java.lang.String |
getIdentifier(SessionContext ctx)
Generated method - Getter of the
YaasClientCredential.identifier attribute. |
java.lang.String |
getOauthURL()
Generated method - Getter of the
YaasClientCredential.oauthURL attribute. |
java.lang.String |
getOauthURL(SessionContext ctx)
Generated method - Getter of the
YaasClientCredential.oauthURL attribute. |
java.lang.String |
getPubsubClient()
Generated method - Getter of the
YaasClientCredential.pubsubClient attribute. |
java.lang.String |
getPubsubClient(SessionContext ctx)
Generated method - Getter of the
YaasClientCredential.pubsubClient attribute. |
YaasProject |
getYaasProject()
Generated method - Getter of the
YaasClientCredential.yaasProject attribute. |
YaasProject |
getYaasProject(SessionContext ctx)
Generated method - Getter of the
YaasClientCredential.yaasProject attribute. |
java.util.Set<AbstractYaasServiceMapping> |
getYaasServiceMappings()
Generated method - Getter of the
YaasClientCredential.yaasServiceMappings attribute. |
java.util.Set<AbstractYaasServiceMapping> |
getYaasServiceMappings(SessionContext ctx)
Generated method - Getter of the
YaasClientCredential.yaasServiceMappings attribute. |
void |
removeFromYaasServiceMappings(AbstractYaasServiceMapping value)
Generated method - Removes
value from yaasServiceMappings. |
void |
removeFromYaasServiceMappings(SessionContext ctx,
AbstractYaasServiceMapping value)
Generated method - Removes
value from yaasServiceMappings. |
void |
setClientId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
YaasClientCredential.clientId attribute. |
void |
setClientId(java.lang.String value)
Generated method - Setter of the
YaasClientCredential.clientId attribute. |
void |
setClientSecret(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
YaasClientCredential.clientSecret attribute. |
void |
setClientSecret(java.lang.String value)
Generated method - Setter of the
YaasClientCredential.clientSecret attribute. |
void |
setIdentifier(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
YaasClientCredential.identifier attribute. |
void |
setIdentifier(java.lang.String value)
Generated method - Setter of the
YaasClientCredential.identifier attribute. |
void |
setOauthURL(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
YaasClientCredential.oauthURL attribute. |
void |
setOauthURL(java.lang.String value)
Generated method - Setter of the
YaasClientCredential.oauthURL attribute. |
void |
setPubsubClient(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
YaasClientCredential.pubsubClient attribute. |
void |
setPubsubClient(java.lang.String value)
Generated method - Setter of the
YaasClientCredential.pubsubClient attribute. |
void |
setYaasProject(SessionContext ctx,
YaasProject value)
Generated method - Setter of the
YaasClientCredential.yaasProject attribute. |
void |
setYaasProject(YaasProject value)
Generated method - Setter of the
YaasClientCredential.yaasProject attribute. |
void |
setYaasServiceMappings(SessionContext ctx,
java.util.Set<AbstractYaasServiceMapping> value)
Generated method - Setter of the
YaasClientCredential.yaasServiceMappings attribute. |
void |
setYaasServiceMappings(java.util.Set<AbstractYaasServiceMapping> value)
Generated method - Setter of the
YaasClientCredential.yaasServiceMappings attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, 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, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, 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, writeReplacesetTenantpublic static final java.lang.String IDENTIFIER
YaasClientCredential.identifier attributepublic static final java.lang.String CLIENTID
YaasClientCredential.clientId attributepublic static final java.lang.String CLIENTSECRET
YaasClientCredential.clientSecret attributepublic static final java.lang.String PUBSUBCLIENT
YaasClientCredential.pubsubClient attributepublic static final java.lang.String OAUTHURL
YaasClientCredential.oauthURL attributepublic static final java.lang.String YAASPROJECT
YaasClientCredential.yaasProject attributepublic static final java.lang.String YAASSERVICEMAPPINGS
YaasClientCredential.yaasServiceMappings attributeprotected static final BidirectionalOneToManyHandler<GeneratedYaasClientCredential> YAASPROJECTHANDLER
BidirectionalOneToManyHandler for handling 1:n YAASPROJECT's relation attributes from 'one' side.protected static final OneToManyHandler<AbstractYaasServiceMapping> YAASSERVICEMAPPINGSHANDLER
OneToManyHandler for handling 1:n YAASSERVICEMAPPINGS's relation attributes from 'many' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.lang.String getClientId(SessionContext ctx)
YaasClientCredential.clientId attribute.public java.lang.String getClientId()
YaasClientCredential.clientId attribute.public void setClientId(SessionContext ctx, java.lang.String value)
YaasClientCredential.clientId attribute.value - the clientIdpublic void setClientId(java.lang.String value)
YaasClientCredential.clientId attribute.value - the clientIdpublic java.lang.String getClientSecret(SessionContext ctx)
YaasClientCredential.clientSecret attribute.public java.lang.String getClientSecret()
YaasClientCredential.clientSecret attribute.public void setClientSecret(SessionContext ctx, java.lang.String value)
YaasClientCredential.clientSecret attribute.value - the clientSecretpublic void setClientSecret(java.lang.String value)
YaasClientCredential.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 java.lang.String getIdentifier(SessionContext ctx)
YaasClientCredential.identifier attribute.public java.lang.String getIdentifier()
YaasClientCredential.identifier attribute.public void setIdentifier(SessionContext ctx, java.lang.String value)
YaasClientCredential.identifier attribute.value - the identifierpublic void setIdentifier(java.lang.String value)
YaasClientCredential.identifier attribute.value - the identifierpublic java.lang.String getOauthURL(SessionContext ctx)
YaasClientCredential.oauthURL attribute.public java.lang.String getOauthURL()
YaasClientCredential.oauthURL attribute.public void setOauthURL(SessionContext ctx, java.lang.String value)
YaasClientCredential.oauthURL attribute.value - the oauthURLpublic void setOauthURL(java.lang.String value)
YaasClientCredential.oauthURL attribute.value - the oauthURLpublic java.lang.String getPubsubClient(SessionContext ctx)
YaasClientCredential.pubsubClient attribute.public java.lang.String getPubsubClient()
YaasClientCredential.pubsubClient attribute.public void setPubsubClient(SessionContext ctx, java.lang.String value)
YaasClientCredential.pubsubClient attribute.value - the pubsubClientpublic void setPubsubClient(java.lang.String value)
YaasClientCredential.pubsubClient attribute.value - the pubsubClientpublic YaasProject getYaasProject(SessionContext ctx)
YaasClientCredential.yaasProject attribute.public YaasProject getYaasProject()
YaasClientCredential.yaasProject attribute.public void setYaasProject(SessionContext ctx, YaasProject value)
YaasClientCredential.yaasProject attribute.value - the yaasProjectpublic void setYaasProject(YaasProject value)
YaasClientCredential.yaasProject attribute.value - the yaasProjectpublic java.util.Set<AbstractYaasServiceMapping> getYaasServiceMappings(SessionContext ctx)
YaasClientCredential.yaasServiceMappings attribute.public java.util.Set<AbstractYaasServiceMapping> getYaasServiceMappings()
YaasClientCredential.yaasServiceMappings attribute.public void setYaasServiceMappings(SessionContext ctx, java.util.Set<AbstractYaasServiceMapping> value)
YaasClientCredential.yaasServiceMappings attribute.value - the yaasServiceMappingspublic void setYaasServiceMappings(java.util.Set<AbstractYaasServiceMapping> value)
YaasClientCredential.yaasServiceMappings attribute.value - the yaasServiceMappingspublic void addToYaasServiceMappings(SessionContext ctx, AbstractYaasServiceMapping value)
value to yaasServiceMappings.value - the item to add to yaasServiceMappingspublic void addToYaasServiceMappings(AbstractYaasServiceMapping value)
value to yaasServiceMappings.value - the item to add to yaasServiceMappingspublic void removeFromYaasServiceMappings(SessionContext ctx, AbstractYaasServiceMapping value)
value from yaasServiceMappings.value - the item to remove from yaasServiceMappingspublic void removeFromYaasServiceMappings(AbstractYaasServiceMapping value)
value from yaasServiceMappings.value - the item to remove from yaasServiceMappingsCopyright © 2018 SAP SE. All Rights Reserved.