|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CreateAssetActivity
The CreateAssetActivity enables you to create an asset from scratch with or without a file import. Assets of specific type like Service, XML Schema etc., have a main input file which can optionally include one or more internally referenced files. In such cases, the activity will import the main file and ask for any missing files that are internally referenced during the process of import.
Method Summary | |
---|---|
java.util.List<Organization> |
getApplicableOrganizations()
Returns a list of organizations for which the user has Create Asset permission. |
java.util.List<CentraSiteRegistryObject> |
getAssets()
Returns a list of newly created assets. |
java.util.Collection<CentraSiteRegistryObjectType> |
getAssetTypes()
Returns the collection of top-level asset types |
java.lang.String |
getNewAssetId()
Return the newly created asset. |
void |
setCreateNewAsset(boolean createNewAsset)
creates the new asset instance based on the given inputs. |
void |
setDescription(java.lang.String description)
Sets the description for the registry object that is being created as part of this activity |
void |
setName(java.lang.String name)
Sets the name for the registry object that is being created as part of this activity |
void |
setSelectedOrganization(Organization organization)
Sets the selected organization for the registry object that is being created as part of this activity |
void |
setSelectedType(CentraSiteRegistryObjectType type)
Sets the selected asset type for the registry object that is being created as part of this activity |
void |
setUserVersion(java.lang.String userVersion)
Sets the user version for the registry object that is being created as part of this activity |
Methods inherited from interface com.softwareag.centrasite.api.activity.Activity |
---|
execute, isApplicable |
Methods inherited from interface com.softwareag.centrasite.api.csom.action.AttachDocumentAction |
---|
getCurrentState, getExistingAssets, getMessage, getMissingFileName, getSupportedOptions, setAssetName, setCreateVersion, setCredentials, setDocument, setDocument, setInteractiveResolution, setOrigionalName, setOverwriteExisting, setReuseAsset |
Methods inherited from interface com.softwareag.centrasite.api.csom.action.CSOAction |
---|
cancel, executeNextStep, executePreviousStep, finishAllSteps, getGroup, getIconURL, getId, getName, getSkippedObjectsWithReason, isAllowed, isApplicable, setObjects |
Method Detail |
---|
java.util.Collection<CentraSiteRegistryObjectType> getAssetTypes() throws CLLException
CLLException
- if CLL fails to return all the top-level asset typesjava.util.List<Organization> getApplicableOrganizations() throws CLLException
CLLException
- if CLL fails to return the list of organizationsvoid setSelectedType(CentraSiteRegistryObjectType type)
type
- Asset type to be set for the registry objectvoid setSelectedOrganization(Organization organization)
organization
- Organization to be set for the registry objectvoid setName(java.lang.String name)
name
- Name to be set for the registry objectvoid setDescription(java.lang.String description)
description
- Description to be set for the registry objectvoid setUserVersion(java.lang.String userVersion)
setUserVersion
in interface AttachDocumentAction
userVersion
- User version to be set for the registry objectjava.util.List<CentraSiteRegistryObject> getAssets() throws CLLException
CLLException
- if CLL fails to return the list of new assetsvoid setCreateNewAsset(boolean createNewAsset)
createNewAsset
- true - in case user want to create new asset other wise false.java.lang.String getNewAssetId() throws CLLException
CLLException
- in case of failed to get the asset id.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |