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 Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DESCRIPTION
Qualifier of the
Principal.description attribute |
static String |
GROUPS
Qualifier of the
Principal.groups attribute |
static String |
NAME
Qualifier of the
Principal.name attribute |
protected static String |
PRINCIPALGROUPRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for PrincipalGroupRelation from ((core))
|
protected static String |
PRINCIPALGROUPRELATION_SRC_ORDERED
Relation ordering override parameter constants for PrincipalGroupRelation from ((core))
|
protected static String |
PRINCIPALGROUPRELATION_TGT_ORDERED |
static 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 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 Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getDescription()
Generated method - Getter of the
Principal.description attribute. |
String |
getDescription(SessionContext ctx)
Generated method - Getter of the
Principal.description attribute. |
Set<PrincipalGroup> |
getGroups()
Generated method - Getter of the
Principal.groups attribute. |
Set<PrincipalGroup> |
getGroups(SessionContext ctx)
Generated method - Getter of the
Principal.groups attribute. |
long |
getGroupsCount() |
long |
getGroupsCount(SessionContext ctx) |
String |
getName()
Generated method - Getter of the
Principal.name attribute. |
String |
getName(SessionContext ctx)
Generated method - Getter of the
Principal.name attribute. |
Collection<SearchRestriction> |
getSearchRestrictions()
Generated method - Getter of the
Principal.searchRestrictions attribute. |
Collection<SearchRestriction> |
getSearchRestrictions(SessionContext ctx)
Generated method - Getter of the
Principal.searchRestrictions attribute. |
String |
getUid()
Generated method - Getter of the
Principal.uid attribute. |
String |
getUid(SessionContext ctx)
Generated method - Getter of the
Principal.uid attribute. |
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,
String value)
Generated method - Setter of the
Principal.description attribute. |
void |
setDescription(String value)
Generated method - Setter of the
Principal.description attribute. |
void |
setGroups(SessionContext ctx,
Set<PrincipalGroup> value)
Generated method - Setter of the
Principal.groups attribute. |
void |
setGroups(Set<PrincipalGroup> value)
Generated method - Setter of the
Principal.groups attribute. |
void |
setName(SessionContext ctx,
String value)
Generated method - Setter of the
Principal.name attribute. |
void |
setName(String value)
Generated method - Setter of the
Principal.name attribute. |
void |
setUid(SessionContext ctx,
String value)
Generated method - Setter of the
Principal.uid attribute. |
void |
setUid(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, 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 DESCRIPTION
Principal.description attributepublic static final String NAME
Principal.name attributepublic static final String UID
Principal.uid attributepublic static final String GROUPS
Principal.groups attributeprotected static String PRINCIPALGROUPRELATION_SRC_ORDERED
protected static String PRINCIPALGROUPRELATION_TGT_ORDERED
protected static String PRINCIPALGROUPRELATION_MARKMODIFIED
public static final 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic String getDescription(SessionContext ctx)
Principal.description attribute.public String getDescription()
Principal.description attribute.public void setDescription(SessionContext ctx, String value)
Principal.description attribute.value - the descriptionpublic void setDescription(String value)
Principal.description attribute.value - the descriptionpublic Set<PrincipalGroup> getGroups(SessionContext ctx)
Principal.groups attribute.public Set<PrincipalGroup> getGroups()
Principal.groups attribute.public long getGroupsCount(SessionContext ctx)
public long getGroupsCount()
public void setGroups(SessionContext ctx, Set<PrincipalGroup> value)
Principal.groups attribute.value - the groupspublic void setGroups(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 String getName(SessionContext ctx)
Principal.name attribute.public String getName()
Principal.name attribute.public void setName(SessionContext ctx, String value)
Principal.name attribute.value - the namepublic void setName(String value)
Principal.name attribute.value - the namepublic Collection<SearchRestriction> getSearchRestrictions(SessionContext ctx)
Principal.searchRestrictions attribute.public Collection<SearchRestriction> getSearchRestrictions()
Principal.searchRestrictions attribute.public String getUid(SessionContext ctx)
Principal.uid attribute.public String getUid()
Principal.uid attribute.public void setUid(SessionContext ctx, String value) throws ConsistencyCheckException
Principal.uid attribute.value - the uidConsistencyCheckExceptionpublic void setUid(String value) throws ConsistencyCheckException
Principal.uid attribute.value - the uidConsistencyCheckExceptionCopyright © 2017 SAP SE. All Rights Reserved.