Interface StatusGroupsServiceLocal
public interface StatusGroupsServiceLocal
Local interface for the StatusGroups service from the Planner API
-
Method Summary
Modifier and TypeMethodDescriptionaddStatusGroups(List<StatusGroup> statusGroups) Adds new status groupsbooleanDeletes the status group at the specified IDReturns a status group at the specified IDgetStatusGroups(String name) Returns status groups at the specified namesetStatusGroup(StatusGroup statusGroup) Modifies an existing status group (by status group ID)setStatusGroups(List<StatusGroup> statusGroups) Modifies existing status groups
-
Method Details
-
getStatusGroupById
Returns a status group at the specified ID- Parameters:
id- status group ID- Returns:
- status group
- Throws:
PubServerExceptionNumberFormatException- See Also:
-
getStatusGroups
Returns status groups at the specified name- Parameters:
name- name of the status group- Returns:
- list of status groups
- Throws:
PubServerException- See Also:
-
setStatusGroup
Modifies an existing status group (by status group ID)- Parameters:
statusGroup- the status to update- Returns:
- the status group
- Throws:
PubServerException- See Also:
-
setStatusGroups
Modifies existing status groups- Parameters:
statusGroups- the list of status groups to change- Returns:
- the list of processed status groups
- Throws:
PubServerException- See Also:
-
addStatusGroups
Adds new status groups- Parameters:
statusGroups- the list of new status groups to create- Returns:
- the list of processed status groups
- Throws:
PubServerException- See Also:
-
deleteStatusGroup
Deletes the status group at the specified ID- Parameters:
id- status group ID- Returns:
- true if success
- Throws:
PubServerException
-