com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Group



  • public class Group
    extends Object

    Represents a group definition. A Group object is a member of the ResourceGroups collection or the TaskGroups collection.

    • Constructor Detail

      • Group

        public Group()

        Default constructor for Group object.

    • Method Detail

      • getName

        public String getName()

        Gets the name of a Group object. Read/write string.

        Returns:
        group name.
      • setName

        public void setName(String value)
        Sets the name of a group.
        Parameters:
        value - group name.
      • getIndex

        public int getIndex()

        Gets the index of a Group object in the Groups containing object. Read-only int.

        Returns:
        index in the Groups containing object.
      • getUid

        public int getUid()

        The unique identifier of a group.

        Returns:
        the unique id of a group.
      • getParentProject

        public Project getParentProject()

        Gets the parent of the Group object. Read-only Project.

        Returns:
        parent project.
      • getShowSummary

        public boolean getShowSummary()

        Returns true if summary rows are to be displayed for the group; otherwise, false. Read/write bool.

        Returns:
        true if summary rows are to be displayed for the group; otherwise, false.
      • setShowSummary

        public void setShowSummary(boolean value)
        Set to true if summary rows are to be displayed for the group; otherwise, false.
        Parameters:
        value - true if summary rows are to be displayed for the group; otherwise, false.
      • getMaintainHierarchy

        public boolean getMaintainHierarchy()

        Determines whether to show all the levels of summary tasks for subtasks within group. Read/write bool.

        Returns:
        flag which determines whether to show all the levels of summary tasks for subtasks within this group.
      • setMaintainHierarchy

        public void setMaintainHierarchy(boolean value)

        Determines whether to show all the levels of summary tasks for subtasks within group. Read/write bool.

        Parameters:
        value - the specified flag which determines whether to show all the levels of summary tasks for subtasks within this group.
      • getShowInMenu

        public boolean getShowInMenu()

        Returns true if Project shows the group name in the Group drop-down list in the Ribbon. Read/write bool.

        Returns:
        flag which determines whether to show the group name in the Group drop-down list in the Ribbon.
      • setShowInMenu

        public void setShowInMenu(boolean value)

        Returns true if Project shows the group name in the Group drop-down list in the Ribbon. Read/write bool.

        Parameters:
        value - the specified flag which determines whether to show the group name in the Group drop-down list in the Ribbon.
      • getGroupCriteria

        public GroupCriterionCollection getGroupCriteria()

        Gets a GroupCriteria collection representing the fields in a group definition. Read/write GroupCriteria.

        Returns:
        a GroupCriteria collection representing the fields in a group definition.
      • setGroupCriteria

        public void setGroupCriteria(GroupCriterionCollection value)
        Sets a GroupCriteria collection representing the fields in a group definition.
        Parameters:
        value - a GroupCriteria collection representing the fields in a group definition.