Class Group

    • Field Detail

      • ID

        public static final Property<java.lang.Integer> ID
      • NAME

        public static final Property<java.lang.String> NAME
    • Constructor Detail

      • Group

        public Group​(Transport transport)
    • Method Detail

      • setId

        public Group setId​(java.lang.Integer id)
        Parameters:
        id - database ID of the group
      • getId

        public java.lang.Integer getId()
        Specified by:
        getId in interface Identifiable
      • getName

        public java.lang.String getName()
      • setName

        public Group setName​(java.lang.String name)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • create

        public Group create()
                     throws RedmineException
        Creates a new group.

        This operation requires "Redmine Administrator" permission.

        Returns:
        created group.
        Throws:
        RedmineException
      • delete

        public void delete()
                    throws RedmineException
        Delete this group. The object must have Id set.

        This operation requires "Redmine Administrator" permission.

        Throws:
        RedmineException