public abstract class GeneratedPrincipal extends GenericItem
Principal.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 |
|---|---|
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DESCRIPTION
Qualifier of the
Principal.description attribute |
static java.lang.String |
GROUPS
Qualifier of the
Principal.groups attribute |
static java.lang.String |
NAME
Qualifier of the
Principal.name attribute |
protected static java.lang.String |
PRINCIPALGROUPRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for PrincipalGroupRelation from ((core))
|
protected static java.lang.String |
PRINCIPALGROUPRELATION_SRC_ORDERED
Relation ordering override parameter constants for PrincipalGroupRelation from ((core))
|
protected static java.lang.String |
PRINCIPALGROUPRELATION_TGT_ORDERED |
static java.lang.String |
SEARCHRESTRICTIONS
Qualifier of the
Principal.searchRestrictions attribute |
protected static OneToManyHandler<SearchRestriction> |
SEARCHRESTRICTIONSHANDLER
OneToManyHandler for handling 1:n SEARCHRESTRICTIONS's relation attributes from 'many' side. |
static java.lang.String |
UID
Qualifier of the
Principal.uid 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 |
|---|
GeneratedPrincipal() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToGroups(PrincipalGroup value)
Generated method - Adds
value to groups. |
void |
addToGroups(SessionContext ctx,
PrincipalGroup value)
Generated method - Adds
value to groups. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getDescription()
Generated method - Getter of the
Principal.description attribute. |
java.lang.String |
getDescription(SessionContext ctx)
Generated method - Getter of the
Principal.description attribute. |
java.util.Set<PrincipalGroup> |
getGroups()
Generated method - Getter of the
Principal.groups attribute. |
java.util.Set<PrincipalGroup> |
getGroups(SessionContext ctx)
Generated method - Getter of the
Principal.groups attribute. |
long |
getGroupsCount() |
long |
getGroupsCount(SessionContext ctx) |
java.lang.String |
getName()
Generated method - Getter of the
Principal.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
Principal.name attribute. |
java.util.Collection<SearchRestriction> |
getSearchRestrictions()
Generated method - Getter of the
Principal.searchRestrictions attribute. |
java.util.Collection<SearchRestriction> |
getSearchRestrictions(SessionContext ctx)
Generated method - Getter of the
Principal.searchRestrictions attribute. |
java.lang.String |
getUid()
Generated method - Getter of the
Principal.uid attribute. |
java.lang.String |
getUid(SessionContext ctx)
Generated method - Getter of the
Principal.uid attribute. |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromGroups(PrincipalGroup value)
Generated method - Removes
value from groups. |
void |
removeFromGroups(SessionContext ctx,
PrincipalGroup value)
Generated method - Removes
value from groups. |
void |
setDescription(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
Principal.description attribute. |
void |
setDescription(java.lang.String value)
Generated method - Setter of the
Principal.description attribute. |
void |
setGroups(SessionContext ctx,
java.util.Set<PrincipalGroup> value)
Generated method - Setter of the
Principal.groups attribute. |
void |
setGroups(java.util.Set<PrincipalGroup> value)
Generated method - Setter of the
Principal.groups attribute. |
void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
Principal.name attribute. |
void |
setName(java.lang.String value)
Generated method - Setter of the
Principal.name attribute. |
void |
setUid(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
Principal.uid attribute. |
void |
setUid(java.lang.String value)
Generated method - Setter of the
Principal.uid attribute. |
createItem, 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, 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 DESCRIPTION
Principal.description attributepublic static final java.lang.String NAME
Principal.name attributepublic static final java.lang.String UID
Principal.uid attributepublic static final java.lang.String GROUPS
Principal.groups attributeprotected static java.lang.String PRINCIPALGROUPRELATION_SRC_ORDERED
protected static java.lang.String PRINCIPALGROUPRELATION_TGT_ORDERED
protected static java.lang.String PRINCIPALGROUPRELATION_MARKMODIFIED
public static final java.lang.String SEARCHRESTRICTIONS
Principal.searchRestrictions attributeprotected static final OneToManyHandler<SearchRestriction> SEARCHRESTRICTIONSHANDLER
OneToManyHandler for handling 1:n SEARCHRESTRICTIONS'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 getDescription(SessionContext ctx)
Principal.description attribute.public java.lang.String getDescription()
Principal.description attribute.public void setDescription(SessionContext ctx, java.lang.String value)
Principal.description attribute.value - the descriptionpublic void setDescription(java.lang.String value)
Principal.description attribute.value - the descriptionpublic java.util.Set<PrincipalGroup> getGroups(SessionContext ctx)
Principal.groups attribute.public java.util.Set<PrincipalGroup> getGroups()
Principal.groups attribute.public long getGroupsCount(SessionContext ctx)
public long getGroupsCount()
public void setGroups(SessionContext ctx, java.util.Set<PrincipalGroup> value)
Principal.groups attribute.value - the groupspublic void setGroups(java.util.Set<PrincipalGroup> value)
Principal.groups attribute.value - the groupspublic void addToGroups(SessionContext ctx, PrincipalGroup value)
value to groups.value - the item to add to groupspublic void addToGroups(PrincipalGroup value)
value to groups.value - the item to add to groupspublic void removeFromGroups(SessionContext ctx, PrincipalGroup value)
value from groups.value - the item to remove from groupspublic void removeFromGroups(PrincipalGroup value)
value from groups.value - the item to remove from groupspublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic java.lang.String getName(SessionContext ctx)
Principal.name attribute.public java.lang.String getName()
Principal.name attribute.public void setName(SessionContext ctx, java.lang.String value)
Principal.name attribute.value - the namepublic void setName(java.lang.String value)
Principal.name attribute.value - the namepublic java.util.Collection<SearchRestriction> getSearchRestrictions(SessionContext ctx)
Principal.searchRestrictions attribute.public java.util.Collection<SearchRestriction> getSearchRestrictions()
Principal.searchRestrictions attribute.public java.lang.String getUid(SessionContext ctx)
Principal.uid attribute.public java.lang.String getUid()
Principal.uid attribute.public void setUid(SessionContext ctx, java.lang.String value) throws ConsistencyCheckException
Principal.uid attribute.value - the uidConsistencyCheckExceptionpublic void setUid(java.lang.String value)
throws ConsistencyCheckException
Principal.uid attribute.value - the uidConsistencyCheckExceptionCopyright © 2018 SAP SE. All Rights Reserved.