com.softwareag.centrasite.api.csom.action
Interface EditAction

All Superinterfaces:
CSOAction

public interface EditAction
extends CSOAction

The EditAction interface provides a mechanism to modify the CentraSiteRegistryObject.
This interface can only be applied on one CentraSite object at a time.


Method Summary
 boolean canMove()
          Checks if the logged in user has permission to change the ownership of a CentraSite object.
 java.util.Collection<Organization> getAllOrganization()
          Get complete list of registered organizations in CentraSite.
 
Methods inherited from interface com.softwareag.centrasite.api.csom.action.CSOAction
cancel, executeNextStep, executePreviousStep, finishAllSteps, getCurrentState, getGroup, getIconURL, getId, getName, getSkippedObjectsWithReason, isAllowed, isApplicable, setObjects
 

Method Detail

canMove

boolean canMove()
                throws CLLException
Checks if the logged in user has permission to change the ownership of a CentraSite object. The ownership transfer could be one of the following: user ownership - transfer ownership of a CentraSite object to another user if the original owner leaves the company, transfers to another position, or is otherwise unable to continue serving as the owner of an asset. organizational ownership - transfer ownership of a CentraSite object to another organization when the object reaches a point in its lifecycle where it is managed by a different group of users. For example, when a service moves into production, you might want to transfer it to your operations organization.

Returns:
true if the logged in user has CentraSite Administrator role; else false.
Throws:
CLLException - if CLL fails to check whether the logged in user has required permission to change ownership of the CentraSite object.

getAllOrganization

java.util.Collection<Organization> getAllOrganization()
                                                      throws CLLException
Get complete list of registered organizations in CentraSite.

Returns:
list of Organization(s) in CentraSite.
Throws:
CLLException - if CLL fails to get the complete list of registered organizations in CentraSite.