Class Group


  • @Entity
    public class Group
    extends AuditableModel
    This object stores the groups.
    • Constructor Detail

      • Group

        public Group()
    • Method Detail

      • setId

        public void setId​(Long id)
        Specified by:
        setId in class Model
      • getCode

        public String getCode()
      • setCode

        public void setCode​(String code)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getNavigation

        public String getNavigation()
      • setNavigation

        public void setNavigation​(String navigation)
      • getHomeAction

        public String getHomeAction()
        Default home action.
        Returns:
        the property value
      • setHomeAction

        public void setHomeAction​(String homeAction)
      • getTechnicalStaff

        public Boolean getTechnicalStaff()
        Specify whether the members of this group are technical staff.
        Returns:
        the property value
      • setTechnicalStaff

        public void setTechnicalStaff​(Boolean technicalStaff)
      • setViewCustomizationPermission

        public void setViewCustomizationPermission​(ViewCustomizationPermission viewCustomizationPermission)
      • getRoles

        public Set<Role> getRoles()
      • setRoles

        public void setRoles​(Set<Role> roles)
      • addRole

        public void addRole​(Role item)
        Add the given Role item to the roles collection.
        Parameters:
        item - the item to add
      • removeRole

        public void removeRole​(Role item)
        Remove the given Role item from the roles collection.
        Parameters:
        item - the item to remove
      • clearRoles

        public void clearRoles()
        Clear the roles collection.
      • setPermissions

        public void setPermissions​(Set<Permission> permissions)
      • addPermission

        public void addPermission​(Permission item)
        Add the given Permission item to the permissions collection.
        Parameters:
        item - the item to add
      • removePermission

        public void removePermission​(Permission item)
        Remove the given Permission item from the permissions collection.
        Parameters:
        item - the item to remove
      • clearPermissions

        public void clearPermissions()
        Clear the permissions collection.
      • setMetaPermissions

        public void setMetaPermissions​(Set<MetaPermission> metaPermissions)
      • addMetaPermission

        public void addMetaPermission​(MetaPermission item)
        Add the given MetaPermission item to the metaPermissions collection.
        Parameters:
        item - the item to add
      • removeMetaPermission

        public void removeMetaPermission​(MetaPermission item)
        Remove the given MetaPermission item from the metaPermissions collection.
        Parameters:
        item - the item to remove
      • clearMetaPermissions

        public void clearMetaPermissions()
        Clear the metaPermissions collection.
      • setMenus

        public void setMenus​(Set<MetaMenu> menus)
      • addMenu

        public void addMenu​(MetaMenu item)
        Add the given MetaMenu item to the menus collection.
        Parameters:
        item - the item to add
      • removeMenu

        public void removeMenu​(MetaMenu item)
        Remove the given MetaMenu item from the menus collection.
        Parameters:
        item - the item to remove
      • clearMenus

        public void clearMenus()
        Clear the menus collection.
      • setViews

        public void setViews​(Set<MetaView> views)
      • addView

        public void addView​(MetaView item)
        Add the given MetaView item to the views collection.
        Parameters:
        item - the item to add
      • removeView

        public void removeView​(MetaView item)
        Remove the given MetaView item from the views collection.
        Parameters:
        item - the item to remove
      • clearViews

        public void clearViews()
        Clear the views collection.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object