Package org.imixs.marty.team
Class SpaceService
java.lang.Object
org.imixs.marty.team.SpaceService
@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"})
@RunAs("org.imixs.ACCESSLEVEL.MANAGERACCESS")
public class SpaceService
extends Object
The SpaceService provides a business logic to update sub spaces. For this feature the
service runs with Manager access to ensure spaces are in a consistent status
even if the caller has no write access for a subspace.
See issue #290.
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.imixs.workflow.ItemCollection>findAllSubSpaces(String sIDRef, String... types) Helper method to find all sub-spaces for a given uniqueID.voidupdateSubSpaces(org.imixs.workflow.ItemCollection parentSpace) This method updates the parentName and the parent team properties for all sub-spaces.
-
Constructor Details
-
SpaceService
public SpaceService()
-
-
Method Details
-
updateSubSpaces
public void updateSubSpaces(org.imixs.workflow.ItemCollection parentSpace) This method updates the parentName and the parent team properties for all sub-spaces. This is only necessary if sub-spaces are found.- Parameters:
space-
-
findAllSubSpaces
Helper method to find all sub-spaces for a given uniqueID.- Parameters:
sIDRef-- Returns:
-