@Named @SessionScoped public class TeamController extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected org.imixs.workflow.engine.DocumentService |
documentService |
protected org.imixs.workflow.faces.util.LoginController |
loginController |
protected ProfileService |
profileService |
protected org.imixs.workflow.faces.util.ResourceBundleHandler |
resourceBundleHandler |
protected TeamService |
teamService |
| Constructor and Description |
|---|
TeamController() |
| Modifier and Type | Method and Description |
|---|---|
List<org.imixs.workflow.ItemCollection> |
getAssist(String aUniqueID)
Returns a unique sorted list of assist members for the current project.
|
org.imixs.workflow.ItemCollection |
getEntityById(String uniqueid)
This method returns a space or process entity by its UniqueID.
|
List<org.imixs.workflow.ItemCollection> |
getManagers(String aUniqueID)
Returns a unique sorted list of managers for the current project.
|
org.imixs.workflow.ItemCollection |
getProcess()
Returns the current process entity
|
org.imixs.workflow.ItemCollection |
getProcessById(String uniqueId)
Returns the process for a given uniqueID.
|
org.imixs.workflow.ItemCollection |
getProcessByName(String name)
Returns a process by its name
|
List<org.imixs.workflow.ItemCollection> |
getProcessList()
This method returns a chached list of process entities for the current user.
|
List<org.imixs.workflow.ItemCollection> |
getProcessMembers(String aUniqueID)
Returns a unique sorted list of all members (Managers, Team, Assist) for the
current process.
|
List<org.imixs.workflow.ItemCollection> |
getRootSpaces()
Returns a list of all spaces on the root level.
|
org.imixs.workflow.ItemCollection |
getSpaceById(String uniqueId)
Returns a Space for a given uniqueID.
|
org.imixs.workflow.ItemCollection |
getSpaceByName(String name)
Returns a space by its name
|
List<org.imixs.workflow.ItemCollection> |
getSpaces()
This method returns a cached list of spaces for the current user.
|
List<org.imixs.workflow.ItemCollection> |
getSpacesByProcess(org.imixs.workflow.ItemCollection process)
Returns a list of all spaces which are assigned to a given process entity.
|
List<org.imixs.workflow.ItemCollection> |
getSpacesByProcessId(String uniqueId)
Returns a list of all spaces which are assigned to a given process entity.
|
List<org.imixs.workflow.ItemCollection> |
getSpacesByRef(String uniqueId)
Returns a list of all spaces which are siblings to a given UniqueID.
|
List<org.imixs.workflow.ItemCollection> |
getTeam(String aUniqueID)
Returns a unique sorted list of team members for the current project.
|
boolean |
isAssitOf(String aUniqueID)
Returns true if current user is assist of a given orgunit.
|
boolean |
isManagerOf(String aUniqueID)
Returns true if current user is manager of a given orgunit.
|
boolean |
isMemberOf(String aUniqueID)
Returns true if current user is teamMember, manager or assist of a given
orgunit.
|
boolean |
isTeamMemberOf(String aUniqueID)
Returns true if current user is team member of a given orgunit.
|
org.imixs.workflow.ItemCollection |
loadProcess(String uniqueid)
Loads a process entity by its UniqueID from the internal cache and updates
the current process entity.
|
void |
onWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
WorkflowEvent listener
If a process or space was created/loaded/processed the modellController will
be reseted.
|
void |
reset()
Reset the internal cache
|
void |
setProcess(org.imixs.workflow.ItemCollection process)
Set the current process entity
|
@Inject protected org.imixs.workflow.faces.util.LoginController loginController
@Inject protected org.imixs.workflow.faces.util.ResourceBundleHandler resourceBundleHandler
protected org.imixs.workflow.engine.DocumentService documentService
protected TeamService teamService
protected ProfileService profileService
@PostConstruct public void reset()
public org.imixs.workflow.ItemCollection getProcess()
public void setProcess(org.imixs.workflow.ItemCollection process)
process - public org.imixs.workflow.ItemCollection loadProcess(String uniqueid)
uniqueid - - of process entitypublic org.imixs.workflow.ItemCollection getProcessById(String uniqueId)
uniqueId - public List<org.imixs.workflow.ItemCollection> getProcessList()
isMember, isTeam, isOwner, isManager, isAssist
public List<org.imixs.workflow.ItemCollection> getSpaces()
isMember, isTeam, isOwner, isManager, isAssist
public org.imixs.workflow.ItemCollection getEntityById(String uniqueid)
uniqueid - public org.imixs.workflow.ItemCollection getSpaceById(String uniqueId)
uniqueId - public org.imixs.workflow.ItemCollection getProcessByName(String name)
name - public org.imixs.workflow.ItemCollection getSpaceByName(String name)
name - public List<org.imixs.workflow.ItemCollection> getSpacesByProcessId(String uniqueId)
uniqueId - of a processEntitypublic List<org.imixs.workflow.ItemCollection> getSpacesByProcess(org.imixs.workflow.ItemCollection process)
uniqueId - of a processEntitypublic List<org.imixs.workflow.ItemCollection> getSpacesByRef(String uniqueId)
uniqueId - public List<org.imixs.workflow.ItemCollection> getRootSpaces()
uniqueId - public List<org.imixs.workflow.ItemCollection> getManagers(String aUniqueID)
public List<org.imixs.workflow.ItemCollection> getTeam(String aUniqueID)
public List<org.imixs.workflow.ItemCollection> getAssist(String aUniqueID)
public List<org.imixs.workflow.ItemCollection> getProcessMembers(String aUniqueID)
public boolean isManagerOf(String aUniqueID)
public boolean isTeamMemberOf(String aUniqueID)
public boolean isAssitOf(String aUniqueID)
public boolean isMemberOf(String aUniqueID)
public void onWorkflowEvent(@Observes
org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
workflowEvent - Copyright © 2011–2022 Imixs Software Solutions GmbH. All rights reserved.