Class GeneratedPrincipal

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    Principal

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

      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Qualifier of the Principal.description attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the Principal.name attribute
        See Also:
        Constant Field Values
      • UID

        public static final java.lang.String UID
        Qualifier of the Principal.uid attribute
        See Also:
        Constant Field Values
      • GROUPS

        public static final java.lang.String GROUPS
        Qualifier of the Principal.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 the Principal.searchRestrictions attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedPrincipal

        public GeneratedPrincipal()
    • Method Detail

      • getDescription

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

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

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

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

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

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

        public long getGroupsCount()
      • setGroups

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

        public void setGroups​(java.util.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
      • getName

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

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

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

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

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

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

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

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