Package org.imixs.marty.team
Class TeamService
java.lang.Object
org.imixs.marty.team.TeamService
@DeclareRoles({"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"})
@RolesAllowed({"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"})
public class TeamService
extends Object
The Marty TeamService provides access to the mary process and space entities.
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectiongetProcessByName(String name) Returns a space by its nameList<org.imixs.workflow.ItemCollection>This method returns all process entities for the current user.org.imixs.workflow.ItemCollectiongetSpaceByName(String name) Returns a space by its nameList<org.imixs.workflow.ItemCollection>This method returns all space entities for the current user.
-
Constructor Details
-
TeamService
public TeamService()
-
-
Method Details
-
getProcessList
This method returns all process entities for the current user. This list can be used to display process information. The returned process list is optimized and provides additional the following attributesisMember, isTeam, isOwner, isManager, isAssist
- Returns:
-
getSpaces
This method returns all space entities for the current user. This list can be used to display space information. The returned space list is optimized and provides additional the following attributesisMember, isTeam, isOwner, isManager, isAssist
- Returns:
-
getSpaceByName
Returns a space by its name- Parameters:
name-- Returns:
- itemCollection of process or null if not process with the specified id exists
-
getProcessByName
Returns a space by its name- Parameters:
name-- Returns:
- itemCollection of process or null if not process with the specified id exists
-