Class GroupImpl

    • Constructor Detail

      • GroupImpl

        public GroupImpl​(long id,
                         String name)
    • Method Detail

      • getId

        public long getId()
        Specified by:
        getId in interface Group
        Returns:
        The identifier of the group.
      • getName

        public String getName()
        Specified by:
        getName in interface Group
        Returns:
        The name of the group.
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface Group
        Returns:
        The identifier of the group to display.
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface Group
        Returns:
        The description of the group.
      • setDescription

        public void setDescription​(String description)
      • setCreatedBy

        public void setCreatedBy​(long createdBy)
      • setCreationDate

        public void setCreationDate​(Date creationDate)
      • setLastUpdate

        public void setLastUpdate​(Date lastUpdate)
      • setParentPath

        public void setParentPath​(String parentPath)
      • getCreatedBy

        public long getCreatedBy()
        Specified by:
        getCreatedBy in interface Group
        Returns:
        The identifier of the user that created the group
      • getCreationDate

        public Date getCreationDate()
        Specified by:
        getCreationDate in interface Group
        Returns:
        The group's creation's date
      • getLastUpdate

        public Date getLastUpdate()
        Specified by:
        getLastUpdate in interface Group
        Returns:
        The group's last update date
      • getParentPath

        public String getParentPath()
        Specified by:
        getParentPath in interface Group
        Returns:
        The group's path
      • getPath

        public String getPath()
        Specified by:
        getPath in interface Group
        Returns:
        The group's full path (i.e. with its parent path)
      • getIconId

        public Long getIconId()
        Specified by:
        getIconId in interface Group
        Returns:
        the id of the icon of this group or null
      • setIconId

        public void setIconId​(Long iconId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object