|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.data.common.ExtensionDataManager
public class ExtensionDataManager
ExtensionDataManager Manages storage / retrieval of information in the data service extension data
| Constructor Summary | |
|---|---|
ExtensionDataManager(ExtensionTypeExtensionData data)
|
|
| Method Summary | |
|---|---|
void |
addAdditionalJar(java.lang.String jarName)
Adds an additional jar |
java.lang.String[] |
getAdditionalJarNames()
Gets the jar names of the additional libraries added to the service for supporting the query processor class |
DataServiceAuditors |
getAuditorsConfiguration()
Gets the data service auditors configuration |
CadsrInformation |
getCadsrInformation()
Gets the full caDSR information stored with this service extension data |
java.util.List<java.lang.String> |
getCadsrPackageNames()
Gets the names of all cadsr packages stored in the extension data |
java.lang.String |
getCadsrProjectLongName()
Gets the stored long name of the caDSR project used in the domain model |
java.lang.String |
getCadsrProjectVersion()
Gets the stored version of the caDSR project used in the domain model |
java.lang.String |
getCadsrUrl()
Gets the configured caDSR url |
ClassMapping |
getClassMapping(java.lang.String packageName,
java.lang.String className)
Gets a class mapping |
java.util.List<ClassMapping> |
getClassMappingsInPackage(java.lang.String packName)
Gets all class mappings in a package |
java.lang.String |
getMappedNamespaceForPackage(java.lang.String packageName)
Gets the mapped namespace for a package in the cadsr information |
java.lang.String |
getServiceStyle()
Gets the service style |
boolean |
isNoDomainModel()
Gets the flag indicating if no domain model is to be used |
boolean |
isSuppliedDomainModel()
Gets the flag indicating a supplied domain model is to be used |
boolean |
isUseBdt()
Gets the flag indicating the service is to use BDT |
boolean |
isUseWsEnumeration()
Gets the flag indicating the service is to use WS-Enumeration |
void |
removeCadsrPackage(java.lang.String packageName)
Removes a cadsr package from the service extension data |
void |
setAdditionalJars(java.lang.String[] jarNames)
Sets the additional jars |
boolean |
setClassElementNameInModel(java.lang.String packageName,
java.lang.String className,
java.lang.String elementName)
Sets the element name a class is mapped to in the exposed domain model |
boolean |
setClassSelectedInModel(java.lang.String packageName,
java.lang.String className,
boolean selected)
Sets that a class is selected as part of the exposed model |
boolean |
setClassTargetableInModel(java.lang.String packageName,
java.lang.String className,
boolean targetable)
Sets that a class is targetable in the exposed domain model |
void |
storeAuditorsConfiguration(DataServiceAuditors auditors)
Stores the data service auditors configuration |
void |
storeCadsrPackage(CadsrPackage pack)
Stores a Cadsr Package. |
void |
storeCadsrPackages(CadsrPackage[] packages)
Replaces the cadsr package information in the extension data |
void |
storeCadsrProjectInformation(gov.nih.nci.cadsr.umlproject.domain.Project project)
Stores the project long name and version |
void |
storeCadsrServiceUrl(java.lang.String url)
Stores the cadsr grid service URL |
void |
storeDomainModelSource(boolean noDomainModel,
boolean supplied)
Stores a domain model's source |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensionDataManager(ExtensionTypeExtensionData data)
| Method Detail |
|---|
public java.lang.String[] getAdditionalJarNames()
throws java.lang.Exception
null if none are present
java.lang.Exception
public void addAdditionalJar(java.lang.String jarName)
throws java.lang.Exception
jarName - The name of the jar to add
java.lang.Exception
public void setAdditionalJars(java.lang.String[] jarNames)
throws java.lang.Exception
jarNames - All the jar names to be set as additional jars
java.lang.Exception
public void storeDomainModelSource(boolean noDomainModel,
boolean supplied)
throws java.lang.Exception
noDomainModel - supplied -
java.lang.Exception
public void storeCadsrServiceUrl(java.lang.String url)
throws java.lang.Exception
url -
java.lang.Exception
public void storeCadsrProjectInformation(gov.nih.nci.cadsr.umlproject.domain.Project project)
throws java.lang.Exception
project -
java.lang.Exception
public void storeCadsrPackages(CadsrPackage[] packages)
throws java.lang.Exception
packages -
java.lang.Exception
public void storeCadsrPackage(CadsrPackage pack)
throws java.lang.Exception
pack -
java.lang.Exception
public java.lang.String getMappedNamespaceForPackage(java.lang.String packageName)
throws java.lang.Exception
packageName -
java.lang.Exception
public void removeCadsrPackage(java.lang.String packageName)
throws java.lang.Exception
packageName -
java.lang.Exception
public ClassMapping getClassMapping(java.lang.String packageName,
java.lang.String className)
throws java.lang.Exception
packageName - The name of the package in which the class residesclassName - The name of the class
java.lang.Exception
public boolean setClassSelectedInModel(java.lang.String packageName,
java.lang.String className,
boolean selected)
throws java.lang.Exception
packageName - The package nameclassName - The class nameselected - The selection state
java.lang.Exception
public boolean setClassTargetableInModel(java.lang.String packageName,
java.lang.String className,
boolean targetable)
throws java.lang.Exception
packageName - The package nameclassName - The class nametargetable - The targetability state
java.lang.Exception
public boolean setClassElementNameInModel(java.lang.String packageName,
java.lang.String className,
java.lang.String elementName)
throws java.lang.Exception
packageName - className - elementName -
java.lang.Exception
public java.util.List<ClassMapping> getClassMappingsInPackage(java.lang.String packName)
throws java.lang.Exception
packName -
java.lang.Exception
public java.lang.String getCadsrUrl()
throws java.lang.Exception
java.lang.Exception
public java.util.List<java.lang.String> getCadsrPackageNames()
throws java.lang.Exception
java.lang.Exception
public java.lang.String getCadsrProjectLongName()
throws java.lang.Exception
java.lang.Exception
public java.lang.String getCadsrProjectVersion()
throws java.lang.Exception
java.lang.Exception
public boolean isNoDomainModel()
throws java.lang.Exception
java.lang.Exception
public boolean isSuppliedDomainModel()
throws java.lang.Exception
java.lang.Exception
public boolean isUseBdt()
throws java.lang.Exception
java.lang.Exception
public boolean isUseWsEnumeration()
throws java.lang.Exception
java.lang.Exception
public java.lang.String getServiceStyle()
throws java.lang.Exception
null if none is supplied
java.lang.Exception
public DataServiceAuditors getAuditorsConfiguration()
throws java.lang.Exception
java.lang.Exception
public void storeAuditorsConfiguration(DataServiceAuditors auditors)
throws java.lang.Exception
auditors -
java.lang.Exception
public CadsrInformation getCadsrInformation()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||