Interface LifecycleService
public interface LifecycleService
Document me
- Since:
- 2023-03-31
-
Method Summary
Modifier and TypeMethodDescriptionchangeState(com.technia.dsx.common.TenantSession session, Collection<StateChangeInput> input) createVersions(com.technia.dsx.common.TenantSession session, CreateVersionsInput input) Create new versions for a list of objects.duplicateObjects(com.technia.dsx.common.TenantSession session, String affix, Collection<String> idList) Duplicate a list of objects.getNextStates(com.technia.dsx.common.TenantSession session, Collection<String> idList) getSharings(com.technia.dsx.common.TenantSession session, Collection<String> idList) getVersionGraph(com.technia.dsx.common.TenantSession session, Collection<String> idList) Get the version graphs for a list of objects.reserve(com.technia.dsx.common.TenantSession session, Collection<String> idList) voidsetSharings(com.technia.dsx.common.TenantSession session, Collection<Sharings> sharings) Share a list of objects with a limit of less than 1500, with a list of userstransferOwnership(com.technia.dsx.common.TenantSession session, TransferOwnershipInput input) Transfer the ownership for a list of objects.unreserve(com.technia.dsx.common.TenantSession session, Collection<String> idList)
-
Method Details
-
getNextStates
@Remote(READ) Collection<NextStateInfo> getNextStates(com.technia.dsx.common.TenantSession session, Collection<String> idList) -
changeState
@Remote(UPDATE) StateChangeResult changeState(com.technia.dsx.common.TenantSession session, Collection<StateChangeInput> input) -
reserve
@Remote(UPDATE) Collection<ReservationResult> reserve(com.technia.dsx.common.TenantSession session, Collection<String> idList) -
unreserve
@Remote(UPDATE) Collection<ReservationResult> unreserve(com.technia.dsx.common.TenantSession session, Collection<String> idList) -
getSharings
@Remote(READ) Collection<Sharings> getSharings(com.technia.dsx.common.TenantSession session, Collection<String> idList) - Parameters:
session-idList-- Returns:
-
setSharings
@Remote(UPDATE) void setSharings(com.technia.dsx.common.TenantSession session, Collection<Sharings> sharings) Share a list of objects with a limit of less than 1500, with a list of users -
transferOwnership
@Remote(UPDATE) TransferOwnershipResult transferOwnership(com.technia.dsx.common.TenantSession session, TransferOwnershipInput input) Transfer the ownership for a list of objects. Operation is limited to 1000 objects at a time.- Parameters:
session-input-- Returns:
-
duplicateObjects
@Remote(CREATE) Collection<DerivedFromInfo> duplicateObjects(com.technia.dsx.common.TenantSession session, String affix, Collection<String> idList) Duplicate a list of objects. The request will be rejected if the total number of objects exceeds 100.- Parameters:
session-affix-idList-- Returns:
-
createVersions
@Remote(CREATE) Collection<DerivedFromInfo> createVersions(com.technia.dsx.common.TenantSession session, CreateVersionsInput input) Create new versions for a list of objects.1. Versions to create are revisions : 'edgeType' keyword is missing or set to 'Revision' (default value). 'affix' keyword is optional (not used if added).
2. Versions to create are branches : 'edgeType' keyword is set to 'Branch'. 'affix' keyword is optional (used if added).
The request will be rejected if the total number of objects (after completion excluding relationship) exceeds 100.
- Parameters:
session-input-
-
getVersionGraph
@Remote(READ) Collection<VersionGraphInfo> getVersionGraph(com.technia.dsx.common.TenantSession session, Collection<String> idList) Get the version graphs for a list of objects. The request will be rejected if the total number of objects exceeds 50.- Parameters:
session-idList-- Returns:
-