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 Details

    • TeamService

      public TeamService()
  • Method Details

    • getProcessList

      public List<org.imixs.workflow.ItemCollection> 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 attributes

      isMember, isTeam, isOwner, isManager, isAssist

      Returns:
    • getSpaces

      public List<org.imixs.workflow.ItemCollection> 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 attributes

      isMember, isTeam, isOwner, isManager, isAssist

      Returns:
    • getSpaceByName

      public org.imixs.workflow.ItemCollection getSpaceByName(String name)
      Returns a space by its name
      Parameters:
      name -
      Returns:
      itemCollection of process or null if not process with the specified id exists
    • getProcessByName

      public org.imixs.workflow.ItemCollection getProcessByName(String name)
      Returns a space by its name
      Parameters:
      name -
      Returns:
      itemCollection of process or null if not process with the specified id exists