|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| 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 |
| Method Detail |
public boolean isLockAcquired()
throws tcAPIException
tcAPIException
public com.thortech.xl.vo.ddm.LockOwner getCurrentLockInfo()
throws tcAPIException
tcAPIException
public 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 progress
SQLException
NamingException
UnableToAcquireLock
com.thortech.xl.ddm.exception.DDMException
tcAPIException
public java.util.Collection addXMLFile(java.lang.String filename,
java.lang.String content)
throws com.thortech.xl.ddm.exception.DDMException,
java.sql.SQLException,
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 error
SQLException - Generic database error
TransformationException - 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
public java.util.Collection removeFiles(java.util.Collection filenames)
throws com.thortech.xl.ddm.exception.DDMException,
java.sql.SQLException,
com.thortech.xl.ddm.exception.TransformationException,
tcAPIException
filenames - Files to be removed
DDMException - Generic Deployment error during merging
SQLException - Generic database error during merging
TransformationException - Input versions cannot be transformed to current version
tcAPIException
public 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
TransformationException - Transformation of the file failed
DuplicateObjectException - When the file being added conflicts with another objects
DDMException - Generic deployment manager exception
tcAPIException
public java.util.Collection getFileList()
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
com.thortech.xl.ddm.exception.DDMException
tcAPIException
public java.util.Collection addLastPreviewedFile()
throws java.sql.SQLException,
com.thortech.xl.ddm.exception.DDMException,
tcAPIException
SQLException
DDMException
tcAPIException
public java.util.HashMap getImportMessages(java.util.Collection col)
throws com.thortech.xl.ddm.exception.DDMException,
java.sql.SQLException,
tcAPIException
col -
com.thortech.xl.ddm.exception.DDMException
java.sql.SQLException
tcAPIException
public com.thortech.xl.vo.ddm.ImportView getImportView(java.util.Collection col)
throws com.thortech.xl.ddm.exception.DDMException,
java.sql.SQLException,
tcAPIException
col -
DDMException
SQLException
tcAPIException
public java.util.Collection listPossibleSubstitutions(java.util.Collection col)
throws java.sql.SQLException,
com.thortech.xl.ddm.exception.DDMException,
tcAPIException
col - collection of objects for which substitutions can be made
DDMException - Deployment Error
SQLException - SQL Error
tcAPIException
public 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.SQLException
com.thortech.xl.ddm.exception.DDMException
tcAPIException
public java.util.Collection findITResourceTypeParams(com.thortech.xl.vo.ddm.RootObject obj)
throws java.sql.SQLException,
com.thortech.xl.ddm.exception.DDMException,
tcAPIException
java.sql.SQLException
com.thortech.xl.ddm.exception.DDMException
tcAPIException
public 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.DDMException
java.sql.SQLException
tcAPIException
public void removeSubstitution(com.thortech.xl.vo.ddm.RootObject robj)
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
robj -
com.thortech.xl.ddm.exception.DDMException
tcAPIException
public java.util.HashMap getSubstitutions()
throws com.thortech.xl.ddm.exception.DDMException,
tcAPIException
com.thortech.xl.ddm.exception.DDMException
tcAPIException
public void performImport(java.util.Collection col)
throws com.thortech.xl.ddm.exception.DDMException,
java.sql.SQLException,
javax.naming.NamingException,
tcAPIException
col -
NamingException
SQLException
DDMException - General Exception
tcAPIException
public java.util.Collection getMissingDependencies(java.util.Collection selection,
java.lang.String type)
throws com.thortech.xl.ddm.exception.DDMException,
java.sql.SQLException,
tcAPIException
selection - List of objects selected for importtype - Type of the objects interested in.
com.thortech.xl.ddm.exception.DDMException
java.sql.SQLException
tcAPIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||