|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
Thor.API.Base.tcBaseUtility
com.thortech.xl.ejb.beansimpl.tcExportOperationsBean
public class tcExportOperationsBean
Server-side API class for Exports using Deployment Manager The APIs will be called in following order:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class Thor.API.Base.tcBaseUtility |
|---|
tcBaseUtility.Entities |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
tcExportOperationsBean() |
|
| Method Summary | |
|---|---|
java.util.Collection |
arrangeSelectionAsATree(java.util.Collection objects)Arranges the passed objects as a Tree |
void |
ejbActivate()The ejbActivate() method as required by the EJB specification.The activate method is called when the instance is activated from its passive" state. |
void |
ejbCreate()Populate SchemaFacade and initializes SchemaInstance |
void |
ejbPassivate()The ejbPassivate() method as required by the EJB specification.The activate method is called when the instance is activated from its "passive" state. |
java.util.Collection |
findObjects(java.lang.String type, java.lang.String searchPattern)Find the objects for a given type, with a given searchPattern. |
java.util.Collection |
getDependencies(java.util.Collection root)Return a list of dependent objects for the selected root objects |
java.util.Collection |
getExportView()Get the tree view to be displayed for export operation |
java.lang.String |
getExportXML(java.util.Collection rootObjects, java.lang.String description)Export selected objects. |
com.thortech.xl.ddm.engine.SchemaFacade |
getSchema() |
java.util.Collection |
retrieveCategories()Retrieve the categories name via iterating all the root objects metadata, which are having the actual data. |
java.util.Collection |
retrieveChildren(java.util.Collection objects)Retrieve the children of the selected objects as a tree |
java.util.Collection |
retrieveDependencyTree(java.util.Collection objects)Find dependencies, and return them as a tree. |
void |
setSchema(com.thortech.xl.ddm.engine.SchemaFacade schema) |
| Methods inherited from class Thor.API.Base.tcBaseUtility |
|---|
addError, addErrorReceiver, addReject, checkStatusAndCallbackProvisioningHandler, clearErrors, close, ejbRemove, getDataBase, getDefaultLocaleCode, getEJBContext, getErrors, getMap, getMapping, getName, getQueryFilter, getRejections, getSessionContext, getUnAuthorizedTargetFieldSet, removeErrorReceiver, removeInstance, setCountry, setLanguage, setSessionContext, setVariant |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf |
|---|
close, getName, setCountry, setLanguage, setVariant |
| Constructor Detail |
|---|
public tcExportOperationsBean()
| Method Detail |
|---|
public void ejbPassivate()
throws EJBException,
java.rmi.RemoteException
tcBaseUtilityejbPassivate() method as required by the EJB specification.ejbActivate() method.ejbPassivate in class tcBaseUtilityEJBException - Thrown if the instance could not perform the function requested by the container because of an system-level error.java.rmi.RemoteException
public void ejbActivate()
throws EJBException,
java.rmi.RemoteException
tcBaseUtilityejbActivate() method as required by the EJB specification.ejbPassivate() method.ejbActivate in class tcBaseUtilityEJBException - Thrown if the instance could not perform the function requested by the container because of an system-level error.java.rmi.RemoteException
public void ejbCreate()
throws DDMException,
CreateException
DDMExceptionCreateException
public java.util.Collection getExportView()
throws tcAPIException
getExportView in interface tcExportOperationsIntftcAPIException
public java.lang.String getExportXML(java.util.Collection rootObjects,
java.lang.String description)
throws tcAPIException
getExportXML in interface tcExportOperationsIntfrootObjects -description - string containing the description of exported XMLtcAPIException
public java.util.Collection getDependencies(java.util.Collection root)
throws tcAPIException
getDependencies in interface tcExportOperationsIntfrootObjects -tcAPIExceptiontcAPIException
public java.util.Collection findObjects(java.lang.String type,
java.lang.String searchPattern)
throws tcAPIException
findObjects in interface tcExportOperationsIntftype -name -tcAPIException
public java.util.Collection retrieveCategories()
throws tcAPIException
retrieveCategories in interface tcExportOperationsIntftcAPIException
public java.util.Collection retrieveChildren(java.util.Collection objects)
throws tcAPIException
retrieveChildren in interface tcExportOperationsIntfobjects - (Collection of root objects)DDMExceptiontcAPIException
public java.util.Collection retrieveDependencyTree(java.util.Collection objects)
throws tcAPIException
retrieveDependencyTree in interface tcExportOperationsIntfobjects -tcAPIException
public java.util.Collection arrangeSelectionAsATree(java.util.Collection objects)
throws tcAPIException
arrangeSelectionAsATree in interface tcExportOperationsIntfobjects -tcAPIExceptionpublic void setSchema(com.thortech.xl.ddm.engine.SchemaFacade schema)
public com.thortech.xl.ddm.engine.SchemaFacade getSchema()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||