public class DefaultResourceImportHandler extends Object implements ResourceImportHandler
| Constructor and Description |
|---|
DefaultResourceImportHandler(String resType) |
| Modifier and Type | Method and Description |
|---|---|
CollectionArrayList |
getCollections(String name,
String ns,
String location,
Integer version)
Returns any collections that this Resource Item should contain.
|
String |
getName() |
DomainPath |
getPath(String name,
String ns)
Returns the DomainPath for a specific resource
|
PropertyDescriptionList |
getPropDesc()
Should return all of the Properties the resource Item
will have on creation.
|
Set<Outcome> |
getResourceOutcomes(String name,
String ns,
String location,
Integer version)
Generates the outcomes that the resource should contain.
|
DomainPath |
getTypeRoot()
The directory context to search for existing resources.
|
String |
getWorkflowName()
Gives the CompActDef name to instantiate to provide the workflow for this type of resource.
|
public CollectionArrayList getCollections(String name, String ns, String location, Integer version) throws Exception
ResourceImportHandlergetCollections in interface ResourceImportHandlerExceptionpublic DomainPath getTypeRoot()
ResourceImportHandlergetTypeRoot in interface ResourceImportHandlerpublic String getName()
getName in interface ResourceImportHandlerpublic DomainPath getPath(String name, String ns) throws Exception
ResourceImportHandlergetPath in interface ResourceImportHandlername - - resource namens - - module namespaceExceptionpublic Set<Outcome> getResourceOutcomes(String name, String ns, String location, Integer version) throws Exception
ResourceImportHandlergetResourceOutcomes in interface ResourceImportHandlerException - - if the supplied resources are not validpublic PropertyDescriptionList getPropDesc() throws Exception
ResourceImportHandlergetPropDesc in interface ResourceImportHandlerExceptionpublic String getWorkflowName() throws Exception
ResourceImportHandlergetWorkflowName in interface ResourceImportHandlerExceptionCopyright © 1997–2016 CRISTAL-iSE. All rights reserved.