|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface tcImportOperationsIntf
| Method Summary | |
|---|---|
void |
acquireLock(boolean forcedAcquisition)Try to acquire the lock |
java.util.Collection |
addLastPreviewedFile()Add the file previewed before into the files to be imported. |
void |
addSubstitution(com.thortech.xl.vo.ddm.RootObject robj, java.lang.String name)Create a substitutions for a given root object. |
java.util.Collection |
addXMLFile(java.lang.String filename, java.lang.String content)Add a new XML File to import some more objects in the current session. |
com.thortech.xl.vo.ddm.RootObject |
findITResourceType(com.thortech.xl.vo.ddm.RootObject obj) |
java.util.Collection |
findITResourceTypeParams(com.thortech.xl.vo.ddm.RootObject obj) |
com.thortech.xl.vo.ddm.LockOwner |
getCurrentLockInfo()Return information about the current owner of the lock |
java.util.Collection |
getFileList()Retrieve list of files currently added for import |
com.thortech.xl.vo.ddm.FilePreview |
getFilePreview(java.lang.String filename, java.lang.String content)Get the preview of a file. |
java.util.HashMap |
getImportMessages(java.util.Collection col)Get the import plan of selected objects. |
com.thortech.xl.vo.ddm.ImportView |
getImportView(java.util.Collection col)Get the import view. |
java.util.Collection |
getMissingDependencies(java.util.Collection selection, java.lang.String type)Return list of missing dependencies. |
java.util.HashMap |
getSubstitutions()get the current substitutions |
boolean |
isLockAcquired()Check to see if we have the lock |
java.util.Collection |
listPossibleSubstitutions(java.util.Collection col)Return a list of root objects that allow substitions, and are dependencies to the objects passed as collection. |
void |
performImport(java.util.Collection col)Perform the actual import operation on the selected objects. |
java.util.Collection |
removeFiles(java.util.Collection filenames)Removes the selected XML Files and recomputes what is going to happen. |
void |
removeSubstitution(com.thortech.xl.vo.ddm.RootObject robj)Remove substitutions for a given root object |
| Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf |
|---|
close, getName, setCountry, setLanguage, setVariant |
| Method Detail |
|---|
boolean isLockAcquired()
throws tcAPIException
tcAPIException
com.thortech.xl.vo.ddm.LockOwner getCurrentLockInfo()
throws tcAPIException
tcAPIException
void acquireLock(boolean forcedAcquisition)
throws java.sql.SQLException,
javax.naming.NamingException,
com.thortech.xl.ddm.exception.DDMException,
tcAPIException
forcedAcquisition - True, if lock must be acquired regardless of another import in progressSQLExceptionNamingExceptionUnableToAcquireLockcom.thortech.xl.ddm.exception.DDMExceptiontcAPIException
java.util.Collection addXMLFile(java.lang.String filename,
java.lang.String content)
throws com.thortech.xl.ddm.exception.DDMException,
com.thortech.xl.ddm.exception.TransformationException,
tcAPIException
filename - Filename of the file being imported. For tracking purposes.content - Content of the file to be imported.DDMException - Generic deployment manager errorTransformationException - Input file version is different from the current version and transformation of the data to current version failed.DuplicateObjectException - Same object is also being imported from a different file.tcAPIException
java.util.Collection removeFiles(java.util.Collection filenames)
throws com.thortech.xl.ddm.exception.DDMException,
com.thortech.xl.ddm.exception.TransformationException,
tcAPIException
filenames - Files to be removedDDMException - Generic Deployment error during mergingTransformationException - Input versions cannot be transformed to current versiontcAPIException
com.thortech.xl.vo.ddm.FilePreview getFilePreview(java.lang.String filename,
java.lang.String content)
throws com.thortech.xl.ddm.exception.DDMException,
com.thortech.xl.ddm.exception.TransformationException,
tcAPIException
DDMException - Generic deployment manager exceptionTransformationException - Transformation of the file failedDuplicateObjectException - When the file being added conflicts with another objectstcAPIException
java.util.Collection getFileList()
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
com.thortech.xl.ddm.exception.DDMExceptiontcAPIException
java.util.Collection addLastPreviewedFile()
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
DDMExceptiontcAPIException
java.util.HashMap getImportMessages(java.util.Collection col)
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
col -DDMExceptiontcAPIException
com.thortech.xl.vo.ddm.ImportView getImportView(java.util.Collection col)
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
col - (Collection of root objects)DDMExceptiontcAPIException
java.util.Collection listPossibleSubstitutions(java.util.Collection col)
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
col - collection of objects for which substitutions can be madeDDMException - Deployment ErrortcAPIException
com.thortech.xl.vo.ddm.RootObject findITResourceType(com.thortech.xl.vo.ddm.RootObject obj)
throws java.sql.SQLException,
com.thortech.xl.ddm.exception.DDMException,
tcAPIException
java.sql.SQLExceptioncom.thortech.xl.ddm.exception.DDMExceptiontcAPIException
java.util.Collection findITResourceTypeParams(com.thortech.xl.vo.ddm.RootObject obj)
throws java.sql.SQLException,
com.thortech.xl.ddm.exception.DDMException,
tcAPIException
java.sql.SQLExceptioncom.thortech.xl.ddm.exception.DDMExceptiontcAPIException
void addSubstitution(com.thortech.xl.vo.ddm.RootObject robj,
java.lang.String name)
throws com.thortech.xl.ddm.exception.DDMException,
java.sql.SQLException,
tcAPIException
robj -name -com.thortech.xl.ddm.exception.DDMExceptionjava.sql.SQLExceptiontcAPIException
void removeSubstitution(com.thortech.xl.vo.ddm.RootObject robj)
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
robj -com.thortech.xl.ddm.exception.DDMExceptiontcAPIException
java.util.HashMap getSubstitutions()
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
com.thortech.xl.ddm.exception.DDMExceptiontcAPIException
void performImport(java.util.Collection col)
throws com.thortech.xl.ddm.exception.DDMException,
javax.naming.NamingException,
tcBulkException,
tcAPIException
col -NamingExceptionDDMException - General ExceptiontcBulkExceptiontcAPIException
java.util.Collection getMissingDependencies(java.util.Collection selection,
java.lang.String type)
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
selection - List of objects selected for importtype - Type of the objects interested in.DDMExceptiontcAPIException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||