Class GeneratedPrincipal

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
Principal

public abstract class GeneratedPrincipal extends GenericItem
Generated class for type Principal.
See Also:
  • Field Details

    • DESCRIPTION

      public static final String DESCRIPTION
      Qualifier of the Principal.description attribute
      See Also:
    • NAME

      public static final String NAME
      Qualifier of the Principal.name attribute
      See Also:
    • UID

      public static final String UID
      Qualifier of the Principal.uid attribute
      See Also:
    • GROUPS

      public static final String GROUPS
      Qualifier of the Principal.groups attribute
      See Also:
    • PRINCIPALGROUPRELATION_SRC_ORDERED

      protected static String PRINCIPALGROUPRELATION_SRC_ORDERED
      Relation ordering override parameter constants for PrincipalGroupRelation from ((core))
    • PRINCIPALGROUPRELATION_TGT_ORDERED

      protected static String PRINCIPALGROUPRELATION_TGT_ORDERED
    • PRINCIPALGROUPRELATION_MARKMODIFIED

      protected static String PRINCIPALGROUPRELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for PrincipalGroupRelation from ((core))
    • SEARCHRESTRICTIONS

      public static final String SEARCHRESTRICTIONS
      Qualifier of the Principal.searchRestrictions attribute
      See Also:
    • 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedPrincipal

      public GeneratedPrincipal()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getDescription

      public String getDescription(SessionContext ctx)
      Generated method - Getter of the Principal.description attribute.
      Returns:
      the description
    • getDescription

      public String getDescription()
      Generated method - Getter of the Principal.description attribute.
      Returns:
      the description
    • setDescription

      public void setDescription(SessionContext ctx, String value)
      Generated method - Setter of the Principal.description attribute.
      Parameters:
      value - the description
    • setDescription

      public void setDescription(String value)
      Generated method - Setter of the Principal.description attribute.
      Parameters:
      value - the description
    • getGroups

      public Set<PrincipalGroup> getGroups(SessionContext ctx)
      Generated method - Getter of the Principal.groups attribute.
      Returns:
      the groups
    • getGroups

      public Set<PrincipalGroup> getGroups()
      Generated method - Getter of the Principal.groups attribute.
      Returns:
      the groups
    • getGroupsCount

      public long getGroupsCount(SessionContext ctx)
    • getGroupsCount

      public long getGroupsCount()
    • setGroups

      public void setGroups(SessionContext ctx, Set<PrincipalGroup> value)
      Generated method - Setter of the Principal.groups attribute.
      Parameters:
      value - the groups
    • setGroups

      public void setGroups(Set<PrincipalGroup> value)
      Generated method - Setter of the Principal.groups attribute.
      Parameters:
      value - the groups
    • addToGroups

      public void addToGroups(SessionContext ctx, PrincipalGroup value)
      Generated method - Adds value to groups.
      Parameters:
      value - the item to add to groups
    • addToGroups

      public void addToGroups(PrincipalGroup value)
      Generated method - Adds value to groups.
      Parameters:
      value - the item to add to groups
    • removeFromGroups

      public void removeFromGroups(SessionContext ctx, PrincipalGroup value)
      Generated method - Removes value from groups.
      Parameters:
      value - the item to remove from groups
    • removeFromGroups

      public void removeFromGroups(PrincipalGroup value)
      Generated method - Removes value from 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:
      isMarkModifiedDisabled in class Item
    • getName

      public String getName(SessionContext ctx)
      Generated method - Getter of the Principal.name attribute.
      Returns:
      the name
    • getName

      public String getName()
      Generated method - Getter of the Principal.name attribute.
      Returns:
      the name
    • setName

      public void setName(SessionContext ctx, String value)
      Generated method - Setter of the Principal.name attribute.
      Parameters:
      value - the name
    • setName

      public void setName(String value)
      Generated method - Setter of the Principal.name attribute.
      Parameters:
      value - the name
    • getSearchRestrictions

      public Collection<SearchRestriction> getSearchRestrictions(SessionContext ctx)
      Generated method - Getter of the Principal.searchRestrictions attribute.
      Returns:
      the searchRestrictions
    • getSearchRestrictions

      public Collection<SearchRestriction> getSearchRestrictions()
      Generated method - Getter of the Principal.searchRestrictions attribute.
      Returns:
      the searchRestrictions
    • getUid

      public String getUid(SessionContext ctx)
      Generated method - Getter of the Principal.uid attribute.
      Returns:
      the uid
    • getUid

      public String getUid()
      Generated method - Getter of the Principal.uid attribute.
      Returns:
      the uid
    • setUid

      public void setUid(SessionContext ctx, String value) throws ConsistencyCheckException
      Generated method - Setter of the Principal.uid attribute.
      Parameters:
      value - the uid
      Throws:
      ConsistencyCheckException
    • setUid

      public void setUid(String value) throws ConsistencyCheckException
      Generated method - Setter of the Principal.uid attribute.
      Parameters:
      value - the uid
      Throws:
      ConsistencyCheckException