Package de.hybris.platform.jalo.security
Class GeneratedPrincipal
java.lang.Object
de.hybris.platform.util.BridgeAbstraction
de.hybris.platform.jalo.Item
de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.GenericItem
de.hybris.platform.jalo.security.GeneratedPrincipal
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
Principal
Generated class for type
Principal.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Map<String,Item.AttributeMode> static final StringQualifier of thePrincipal.descriptionattributestatic final StringQualifier of thePrincipal.groupsattributestatic final StringQualifier of thePrincipal.nameattributeprotected static StringRelation disable markmodifed parameter constants for PrincipalGroupRelation from ((core))protected static StringRelation ordering override parameter constants for PrincipalGroupRelation from ((core))protected static Stringstatic final StringQualifier of thePrincipal.searchRestrictionsattributeprotected static final OneToManyHandler<SearchRestriction>OneToManyHandlerfor handling 1:n SEARCHRESTRICTIONS's relation attributes from 'many' side.static final StringQualifier of thePrincipal.uidattributeFields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToGroups(PrincipalGroup value) Generated method - Addsvalueto groups.voidaddToGroups(SessionContext ctx, PrincipalGroup value) Generated method - Addsvalueto groups.protected Map<String,Item.AttributeMode> Generated method - Getter of thePrincipal.descriptionattribute.Generated method - Getter of thePrincipal.descriptionattribute.Generated method - Getter of thePrincipal.groupsattribute.getGroups(SessionContext ctx) Generated method - Getter of thePrincipal.groupsattribute.longlonggetName()Generated method - Getter of thePrincipal.nameattribute.getName(SessionContext ctx) Generated method - Getter of thePrincipal.nameattribute.Generated method - Getter of thePrincipal.searchRestrictionsattribute.Generated method - Getter of thePrincipal.searchRestrictionsattribute.getUid()Generated method - Getter of thePrincipal.uidattribute.getUid(SessionContext ctx) Generated method - Getter of thePrincipal.uidattribute.booleanisMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.voidremoveFromGroups(PrincipalGroup value) Generated method - Removesvaluefrom groups.voidremoveFromGroups(SessionContext ctx, PrincipalGroup value) Generated method - Removesvaluefrom groups.voidsetDescription(SessionContext ctx, String value) Generated method - Setter of thePrincipal.descriptionattribute.voidsetDescription(String value) Generated method - Setter of thePrincipal.descriptionattribute.voidsetGroups(SessionContext ctx, Set<PrincipalGroup> value) Generated method - Setter of thePrincipal.groupsattribute.voidsetGroups(Set<PrincipalGroup> value) Generated method - Setter of thePrincipal.groupsattribute.voidsetName(SessionContext ctx, String value) Generated method - Setter of thePrincipal.nameattribute.voidGenerated method - Setter of thePrincipal.nameattribute.voidsetUid(SessionContext ctx, String value) Generated method - Setter of thePrincipal.uidattribute.voidGenerated method - Setter of thePrincipal.uidattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
createItem, getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, getPartOfRemovedSessionMarker, 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, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
DESCRIPTION
Qualifier of thePrincipal.descriptionattribute- See Also:
-
NAME
Qualifier of thePrincipal.nameattribute- See Also:
-
UID
Qualifier of thePrincipal.uidattribute- See Also:
-
GROUPS
Qualifier of thePrincipal.groupsattribute- See Also:
-
PRINCIPALGROUPRELATION_SRC_ORDERED
Relation ordering override parameter constants for PrincipalGroupRelation from ((core)) -
PRINCIPALGROUPRELATION_TGT_ORDERED
-
PRINCIPALGROUPRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for PrincipalGroupRelation from ((core)) -
SEARCHRESTRICTIONS
Qualifier of thePrincipal.searchRestrictionsattribute- See Also:
-
SEARCHRESTRICTIONSHANDLER
OneToManyHandlerfor handling 1:n SEARCHRESTRICTIONS's relation attributes from 'many' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedPrincipal
public GeneratedPrincipal()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getDescription
Generated method - Getter of thePrincipal.descriptionattribute.- Returns:
- the description
-
getDescription
Generated method - Getter of thePrincipal.descriptionattribute.- Returns:
- the description
-
setDescription
Generated method - Setter of thePrincipal.descriptionattribute.- Parameters:
value- the description
-
setDescription
Generated method - Setter of thePrincipal.descriptionattribute.- Parameters:
value- the description
-
getGroups
Generated method - Getter of thePrincipal.groupsattribute.- Returns:
- the groups
-
getGroups
Generated method - Getter of thePrincipal.groupsattribute.- Returns:
- the groups
-
getGroupsCount
-
getGroupsCount
public long getGroupsCount() -
setGroups
Generated method - Setter of thePrincipal.groupsattribute.- Parameters:
value- the groups
-
setGroups
Generated method - Setter of thePrincipal.groupsattribute.- Parameters:
value- the groups
-
addToGroups
Generated method - Addsvalueto groups.- Parameters:
value- the item to add to groups
-
addToGroups
Generated method - Addsvalueto groups.- Parameters:
value- the item to add to groups
-
removeFromGroups
Generated method - Removesvaluefrom groups.- Parameters:
value- the item to remove from groups
-
removeFromGroups
Generated method - Removesvaluefrom groups.- Parameters:
value- the item to remove from groups
-
isMarkModifiedDisabled
@Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isMarkModifiedDisabledin classItem
-
getName
Generated method - Getter of thePrincipal.nameattribute.- Returns:
- the name
-
getName
Generated method - Getter of thePrincipal.nameattribute.- Returns:
- the name
-
setName
Generated method - Setter of thePrincipal.nameattribute.- Parameters:
value- the name
-
setName
Generated method - Setter of thePrincipal.nameattribute.- Parameters:
value- the name
-
getSearchRestrictions
Generated method - Getter of thePrincipal.searchRestrictionsattribute.- Returns:
- the searchRestrictions
-
getSearchRestrictions
Generated method - Getter of thePrincipal.searchRestrictionsattribute.- Returns:
- the searchRestrictions
-
getUid
Generated method - Getter of thePrincipal.uidattribute.- Returns:
- the uid
-
getUid
Generated method - Getter of thePrincipal.uidattribute.- Returns:
- the uid
-
setUid
Generated method - Setter of thePrincipal.uidattribute.- Parameters:
value- the uid- Throws:
ConsistencyCheckException
-
setUid
Generated method - Setter of thePrincipal.uidattribute.- Parameters:
value- the uid- Throws:
ConsistencyCheckException
-
Utilities.getMarkModifiedOverride(de.hybris.platform.jalo.type.RelationType)