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:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
Principal
public abstract class GeneratedPrincipal extends GenericItem
Generated class for typePrincipal.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested 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
Fields Modifier and Type Field Description protected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringDESCRIPTIONQualifier of thePrincipal.descriptionattributestatic java.lang.StringGROUPSQualifier of thePrincipal.groupsattributestatic java.lang.StringNAMEQualifier of thePrincipal.nameattributeprotected static java.lang.StringPRINCIPALGROUPRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for PrincipalGroupRelation from ((core))protected static java.lang.StringPRINCIPALGROUPRELATION_SRC_ORDEREDRelation ordering override parameter constants for PrincipalGroupRelation from ((core))protected static java.lang.StringPRINCIPALGROUPRELATION_TGT_ORDEREDstatic java.lang.StringSEARCHRESTRICTIONSQualifier of thePrincipal.searchRestrictionsattributeprotected static OneToManyHandler<SearchRestriction>SEARCHRESTRICTIONSHANDLEROneToManyHandlerfor handling 1:n SEARCHRESTRICTIONS's relation attributes from 'many' side.static java.lang.StringUIDQualifier of thePrincipal.uidattribute-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields 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, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedPrincipal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToGroups(PrincipalGroup value)Generated method - Addsvalueto groups.voidaddToGroups(SessionContext ctx, PrincipalGroup value)Generated method - Addsvalueto groups.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.StringgetDescription()Generated method - Getter of thePrincipal.descriptionattribute.java.lang.StringgetDescription(SessionContext ctx)Generated method - Getter of thePrincipal.descriptionattribute.java.util.Set<PrincipalGroup>getGroups()Generated method - Getter of thePrincipal.groupsattribute.java.util.Set<PrincipalGroup>getGroups(SessionContext ctx)Generated method - Getter of thePrincipal.groupsattribute.longgetGroupsCount()longgetGroupsCount(SessionContext ctx)java.lang.StringgetName()Generated method - Getter of thePrincipal.nameattribute.java.lang.StringgetName(SessionContext ctx)Generated method - Getter of thePrincipal.nameattribute.java.util.Collection<SearchRestriction>getSearchRestrictions()Generated method - Getter of thePrincipal.searchRestrictionsattribute.java.util.Collection<SearchRestriction>getSearchRestrictions(SessionContext ctx)Generated method - Getter of thePrincipal.searchRestrictionsattribute.java.lang.StringgetUid()Generated method - Getter of thePrincipal.uidattribute.java.lang.StringgetUid(SessionContext ctx)Generated method - Getter of thePrincipal.uidattribute.booleanisMarkModifiedDisabled(Item referencedItem)voidremoveFromGroups(PrincipalGroup value)Generated method - Removesvaluefrom groups.voidremoveFromGroups(SessionContext ctx, PrincipalGroup value)Generated method - Removesvaluefrom groups.voidsetDescription(SessionContext ctx, java.lang.String value)Generated method - Setter of thePrincipal.descriptionattribute.voidsetDescription(java.lang.String value)Generated method - Setter of thePrincipal.descriptionattribute.voidsetGroups(SessionContext ctx, java.util.Set<PrincipalGroup> value)Generated method - Setter of thePrincipal.groupsattribute.voidsetGroups(java.util.Set<PrincipalGroup> value)Generated method - Setter of thePrincipal.groupsattribute.voidsetName(SessionContext ctx, java.lang.String value)Generated method - Setter of thePrincipal.nameattribute.voidsetName(java.lang.String value)Generated method - Setter of thePrincipal.nameattribute.voidsetUid(SessionContext ctx, java.lang.String value)Generated method - Setter of thePrincipal.uidattribute.voidsetUid(java.lang.String value)Generated method - Setter of thePrincipal.uidattribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
createItem, getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods 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, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods 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, 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, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Qualifier of thePrincipal.descriptionattribute- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Qualifier of thePrincipal.nameattribute- See Also:
- Constant Field Values
-
UID
public static final java.lang.String UID
Qualifier of thePrincipal.uidattribute- See Also:
- Constant Field Values
-
GROUPS
public static final java.lang.String GROUPS
Qualifier of thePrincipal.groupsattribute- See Also:
- Constant Field Values
-
PRINCIPALGROUPRELATION_SRC_ORDERED
protected static java.lang.String PRINCIPALGROUPRELATION_SRC_ORDERED
Relation ordering override parameter constants for PrincipalGroupRelation from ((core))
-
PRINCIPALGROUPRELATION_TGT_ORDERED
protected static java.lang.String PRINCIPALGROUPRELATION_TGT_ORDERED
-
PRINCIPALGROUPRELATION_MARKMODIFIED
protected static java.lang.String PRINCIPALGROUPRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for PrincipalGroupRelation from ((core))
-
SEARCHRESTRICTIONS
public static final java.lang.String SEARCHRESTRICTIONS
Qualifier of thePrincipal.searchRestrictionsattribute- See Also:
- Constant Field Values
-
SEARCHRESTRICTIONSHANDLER
protected static final OneToManyHandler<SearchRestriction> SEARCHRESTRICTIONSHANDLER
OneToManyHandlerfor handling 1:n SEARCHRESTRICTIONS's relation attributes from 'many' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classItem
-
getDescription
public java.lang.String getDescription(SessionContext ctx)
Generated method - Getter of thePrincipal.descriptionattribute.- Returns:
- the description
-
getDescription
public java.lang.String getDescription()
Generated method - Getter of thePrincipal.descriptionattribute.- Returns:
- the description
-
setDescription
public void setDescription(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePrincipal.descriptionattribute.- Parameters:
value- the description
-
setDescription
public void setDescription(java.lang.String value)
Generated method - Setter of thePrincipal.descriptionattribute.- Parameters:
value- the description
-
getGroups
public java.util.Set<PrincipalGroup> getGroups(SessionContext ctx)
Generated method - Getter of thePrincipal.groupsattribute.- Returns:
- the groups
-
getGroups
public java.util.Set<PrincipalGroup> getGroups()
Generated method - Getter of thePrincipal.groupsattribute.- Returns:
- the groups
-
getGroupsCount
public long getGroupsCount(SessionContext ctx)
-
getGroupsCount
public long getGroupsCount()
-
setGroups
public void setGroups(SessionContext ctx, java.util.Set<PrincipalGroup> value)
Generated method - Setter of thePrincipal.groupsattribute.- Parameters:
value- the groups
-
setGroups
public void setGroups(java.util.Set<PrincipalGroup> value)
Generated method - Setter of thePrincipal.groupsattribute.- Parameters:
value- the groups
-
addToGroups
public void addToGroups(SessionContext ctx, PrincipalGroup value)
Generated method - Addsvalueto groups.- Parameters:
value- the item to add to groups
-
addToGroups
public void addToGroups(PrincipalGroup value)
Generated method - Addsvalueto groups.- Parameters:
value- the item to add to groups
-
removeFromGroups
public void removeFromGroups(SessionContext ctx, PrincipalGroup value)
Generated method - Removesvaluefrom groups.- Parameters:
value- the item to remove from groups
-
removeFromGroups
public void removeFromGroups(PrincipalGroup value)
Generated method - Removesvaluefrom groups.- Parameters:
value- the item to remove from groups
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabledin classItem
-
getName
public java.lang.String getName(SessionContext ctx)
Generated method - Getter of thePrincipal.nameattribute.- Returns:
- the name
-
getName
public java.lang.String getName()
Generated method - Getter of thePrincipal.nameattribute.- Returns:
- the name
-
setName
public void setName(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePrincipal.nameattribute.- Parameters:
value- the name
-
setName
public void setName(java.lang.String value)
Generated method - Setter of thePrincipal.nameattribute.- Parameters:
value- the name
-
getSearchRestrictions
public java.util.Collection<SearchRestriction> getSearchRestrictions(SessionContext ctx)
Generated method - Getter of thePrincipal.searchRestrictionsattribute.- Returns:
- the searchRestrictions
-
getSearchRestrictions
public java.util.Collection<SearchRestriction> getSearchRestrictions()
Generated method - Getter of thePrincipal.searchRestrictionsattribute.- Returns:
- the searchRestrictions
-
getUid
public java.lang.String getUid(SessionContext ctx)
Generated method - Getter of thePrincipal.uidattribute.- Returns:
- the uid
-
getUid
public java.lang.String getUid()
Generated method - Getter of thePrincipal.uidattribute.- Returns:
- the uid
-
setUid
public void setUid(SessionContext ctx, java.lang.String value) throws ConsistencyCheckException
Generated method - Setter of thePrincipal.uidattribute.- Parameters:
value- the uid- Throws:
ConsistencyCheckException
-
setUid
public void setUid(java.lang.String value) throws ConsistencyCheckExceptionGenerated method - Setter of thePrincipal.uidattribute.- Parameters:
value- the uid- Throws:
ConsistencyCheckException
-
-