public interface ResourceImportHandler
| Modifier and Type | Method and Description |
|---|---|
CollectionArrayList |
getCollections(String name,
Integer version,
Outcome outcome)
Returns any collections that this Resource Item stored in the outcome should contain.
|
CollectionArrayList |
getCollections(String name,
String ns,
String location,
Integer version)
Returns any collections that this Resource Item should contain.
|
String |
getName()
The name of the imported resource managed by the handler
|
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.
|
DomainPath getPath(String name, String ns) throws Exception
ns - - module namespacename - - resource nameExceptionSet<Outcome> getResourceOutcomes(String name, String ns, String location, Integer version) throws Exception
name - the name of the resourcens - the namespace defined in the modulelocation - the location of the resource fileversion - the specified versionException - - if the supplied resources are not validString getWorkflowName() throws Exception
ExceptionPropertyDescriptionList getPropDesc() throws Exception
ExceptionDomainPath getTypeRoot()
CollectionArrayList getCollections(String name, String ns, String location, Integer version) throws Exception
name - the name of the Resource Itemns - the namaspace of the module declaring the Resource Itemlocation - the location of the XML file on the boot directoryversion - the version of the Resource ItemException - something went wrongCollectionArrayList getCollections(String name, Integer version, Outcome outcome) throws Exception
name - the name of the Resource Itemversion - the version of the Resource Itemoutcome - Outcome containing the XML representing the Resource ItemException - something went wrongString getName()
Copyright © 1997–2019 CRISTAL-iSE. All rights reserved.