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_ATTRIBUTES
static java.lang.String
DESCRIPTION
Qualifier of thePrincipal.description
attributestatic java.lang.String
GROUPS
Qualifier of thePrincipal.groups
attributestatic java.lang.String
NAME
Qualifier of thePrincipal.name
attributeprotected 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 thePrincipal.searchRestrictions
attributeprotected static OneToManyHandler<SearchRestriction>
SEARCHRESTRICTIONSHANDLER
OneToManyHandler
for handling 1:n SEARCHRESTRICTIONS's relation attributes from 'many' side.static java.lang.String
UID
Qualifier of thePrincipal.uid
attribute-
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 void
addToGroups(PrincipalGroup value)
Generated method - Addsvalue
to groups.void
addToGroups(SessionContext ctx, PrincipalGroup value)
Generated method - Addsvalue
to groups.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.String
getDescription()
Generated method - Getter of thePrincipal.description
attribute.java.lang.String
getDescription(SessionContext ctx)
Generated method - Getter of thePrincipal.description
attribute.java.util.Set<PrincipalGroup>
getGroups()
Generated method - Getter of thePrincipal.groups
attribute.java.util.Set<PrincipalGroup>
getGroups(SessionContext ctx)
Generated method - Getter of thePrincipal.groups
attribute.long
getGroupsCount()
long
getGroupsCount(SessionContext ctx)
java.lang.String
getName()
Generated method - Getter of thePrincipal.name
attribute.java.lang.String
getName(SessionContext ctx)
Generated method - Getter of thePrincipal.name
attribute.java.util.Collection<SearchRestriction>
getSearchRestrictions()
Generated method - Getter of thePrincipal.searchRestrictions
attribute.java.util.Collection<SearchRestriction>
getSearchRestrictions(SessionContext ctx)
Generated method - Getter of thePrincipal.searchRestrictions
attribute.java.lang.String
getUid()
Generated method - Getter of thePrincipal.uid
attribute.java.lang.String
getUid(SessionContext ctx)
Generated method - Getter of thePrincipal.uid
attribute.boolean
isMarkModifiedDisabled(Item referencedItem)
void
removeFromGroups(PrincipalGroup value)
Generated method - Removesvalue
from groups.void
removeFromGroups(SessionContext ctx, PrincipalGroup value)
Generated method - Removesvalue
from groups.void
setDescription(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePrincipal.description
attribute.void
setDescription(java.lang.String value)
Generated method - Setter of thePrincipal.description
attribute.void
setGroups(SessionContext ctx, java.util.Set<PrincipalGroup> value)
Generated method - Setter of thePrincipal.groups
attribute.void
setGroups(java.util.Set<PrincipalGroup> value)
Generated method - Setter of thePrincipal.groups
attribute.void
setName(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePrincipal.name
attribute.void
setName(java.lang.String value)
Generated method - Setter of thePrincipal.name
attribute.void
setUid(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePrincipal.uid
attribute.void
setUid(java.lang.String value)
Generated method - Setter of thePrincipal.uid
attribute.-
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.description
attribute- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Qualifier of thePrincipal.name
attribute- See Also:
- Constant Field Values
-
UID
public static final java.lang.String UID
Qualifier of thePrincipal.uid
attribute- See Also:
- Constant Field Values
-
GROUPS
public static final java.lang.String GROUPS
Qualifier of thePrincipal.groups
attribute- 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.searchRestrictions
attribute- See Also:
- Constant Field Values
-
SEARCHRESTRICTIONSHANDLER
protected static final OneToManyHandler<SearchRestriction> SEARCHRESTRICTIONSHANDLER
OneToManyHandler
for 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:
getDefaultAttributeModes
in classItem
-
getDescription
public java.lang.String getDescription(SessionContext ctx)
Generated method - Getter of thePrincipal.description
attribute.- Returns:
- the description
-
getDescription
public java.lang.String getDescription()
Generated method - Getter of thePrincipal.description
attribute.- Returns:
- the description
-
setDescription
public void setDescription(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePrincipal.description
attribute.- Parameters:
value
- the description
-
setDescription
public void setDescription(java.lang.String value)
Generated method - Setter of thePrincipal.description
attribute.- Parameters:
value
- the description
-
getGroups
public java.util.Set<PrincipalGroup> getGroups(SessionContext ctx)
Generated method - Getter of thePrincipal.groups
attribute.- Returns:
- the groups
-
getGroups
public java.util.Set<PrincipalGroup> getGroups()
Generated method - Getter of thePrincipal.groups
attribute.- 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.groups
attribute.- Parameters:
value
- the groups
-
setGroups
public void setGroups(java.util.Set<PrincipalGroup> value)
Generated method - Setter of thePrincipal.groups
attribute.- Parameters:
value
- the groups
-
addToGroups
public void addToGroups(SessionContext ctx, PrincipalGroup value)
Generated method - Addsvalue
to groups.- Parameters:
value
- the item to add to groups
-
addToGroups
public void addToGroups(PrincipalGroup value)
Generated method - Addsvalue
to groups.- Parameters:
value
- the item to add to groups
-
removeFromGroups
public void removeFromGroups(SessionContext ctx, PrincipalGroup value)
Generated method - Removesvalue
from groups.- Parameters:
value
- the item to remove from groups
-
removeFromGroups
public void removeFromGroups(PrincipalGroup value)
Generated method - Removesvalue
from groups.- Parameters:
value
- the item to remove from groups
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabled
in classItem
-
getName
public java.lang.String getName(SessionContext ctx)
Generated method - Getter of thePrincipal.name
attribute.- Returns:
- the name
-
getName
public java.lang.String getName()
Generated method - Getter of thePrincipal.name
attribute.- Returns:
- the name
-
setName
public void setName(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePrincipal.name
attribute.- Parameters:
value
- the name
-
setName
public void setName(java.lang.String value)
Generated method - Setter of thePrincipal.name
attribute.- Parameters:
value
- the name
-
getSearchRestrictions
public java.util.Collection<SearchRestriction> getSearchRestrictions(SessionContext ctx)
Generated method - Getter of thePrincipal.searchRestrictions
attribute.- Returns:
- the searchRestrictions
-
getSearchRestrictions
public java.util.Collection<SearchRestriction> getSearchRestrictions()
Generated method - Getter of thePrincipal.searchRestrictions
attribute.- Returns:
- the searchRestrictions
-
getUid
public java.lang.String getUid(SessionContext ctx)
Generated method - Getter of thePrincipal.uid
attribute.- Returns:
- the uid
-
getUid
public java.lang.String getUid()
Generated method - Getter of thePrincipal.uid
attribute.- Returns:
- the uid
-
setUid
public void setUid(SessionContext ctx, java.lang.String value) throws ConsistencyCheckException
Generated method - Setter of thePrincipal.uid
attribute.- Parameters:
value
- the uid- Throws:
ConsistencyCheckException
-
setUid
public void setUid(java.lang.String value) throws ConsistencyCheckException
Generated method - Setter of thePrincipal.uid
attribute.- Parameters:
value
- the uid- Throws:
ConsistencyCheckException
-
-