public interface NewVersionAction extends CSOAction
CentraSiteRegistryObject
.Modifier and Type | Method and Description |
---|---|
java.util.Collection<Organization> |
getApplicableOrganizations()
Returns the applicable organizations for the action.
|
java.lang.String |
getChangeLog()
Returns the change log parameter.
|
java.lang.String |
getNamespace()
Returns the namespace parameter from the action.
|
java.util.Collection<CentraSiteObject> |
getNewVersionObjects()
Returns the collection of newly versioned objects, null in case the version
action is not executed successfully.
|
Organization |
getSelectedOrganization()
Returns the organization parameter of the action.
|
java.lang.String |
getUserVersion()
Returns the user version parameter.
|
boolean |
isCompositeType()
Returns whether selected asset type is composite.
|
boolean |
isPropagateVersion()
Returns whether propagate version to dependent objects is set or not.
|
void |
setChangeLog(java.lang.String changeLog)
Sets the change log entry for the new version.
|
void |
setNamespace(java.lang.String nameSpace)
Sets the namespace for the new version.
|
void |
setPropagateVersion(boolean isDeepVersion)
Sets the "Propagate versions to dependent object" for creating the new version.
|
void |
setSelectedOrganization(Organization organization)
Sets the organization for the new parameter.
|
void |
setUserVersion(java.lang.String userVersion)
Sets the user version for the new version.
|
cancel, doesLoggedInUserHaveSufficientRolesOrPermissions, executeNextStep, executePreviousStep, finishAllSteps, getCurrentState, getGroup, getIconURL, getId, getName, getSkippedObjectsWithReason, isAllowed, isApplicable, setObjects
java.lang.String getNamespace()
void setNamespace(java.lang.String nameSpace) throws CLLException
nameSpace
- The namespace to setCLLException
- If CLL fails to set the version namespacejava.util.Collection<Organization> getApplicableOrganizations() throws CLLException
Collection
of applicable Organization
s for the actionCLLException
- If CLL fails to fetch this informationOrganization getSelectedOrganization() throws CLLException
Organization
of the action.CLLException
- If CLL fails to get the selected organization instancevoid setSelectedOrganization(Organization organization) throws CLLException
organization
- The Organization
to set.CLLException
- If CLL fails to set the selected organizationjava.lang.String getUserVersion()
void setUserVersion(java.lang.String userVersion) throws CLLException
userVersion
- The user version to setCLLException
- If CLL fails to set the user versionboolean isPropagateVersion()
void setPropagateVersion(boolean isDeepVersion) throws CLLException
isDeepVersion
- If true, propagates the versions to its dependent objectsCLLException
- If CLL fails to set the propertyjava.lang.String getChangeLog()
void setChangeLog(java.lang.String changeLog) throws CLLException
changeLog
- The change log to setCLLException
- If CLL fails to set the changeLogjava.util.Collection<CentraSiteObject> getNewVersionObjects()
Collection
of newly versioned CentraSiteObject
sboolean isCompositeType() throws CLLException
CLLException
- If CLL fails to check if the asset type is composite