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 Details

    • SpaceService

      public SpaceService()
  • Method Details

    • loadParentSpace

      public org.imixs.workflow.ItemCollection loadParentSpace(org.imixs.workflow.ItemCollection space)
      Load the parent space for a given space. If the space is a root space, the method returns null
      Parameters:
      space -
      Returns:
      parent space or null if the given space is a root space
    • findAllSubSpaces

      public List<org.imixs.workflow.ItemCollection> findAllSubSpaces(String sIDRef, String... types)
      Helper method to find all sub-spaces for a given uniqueID.
      Parameters:
      sIDRef -
      Returns: