public class tcExportOperationsBean extends tcBaseUtility implements javax.ejb.SessionBean, tcExportOperationsIntf
tcBaseUtility.EntitiesALL_ATTR_OB, DATE_FORMAT_SYS_PROP, DEFAULT_DATE_PATTERN, DEFAULT_LOCALE, DISPLAYNAME, FIRSTNAME, LASTNAME, LKU_GROUP, MANAGERKEY, OBJECTCLASS_COL_CODE, ORG_NAME, ORGANIZATION_KEY_COL_CODE, ORGANIZATION_NAME_COL_CODE, ORGANIZATION_PARENT_KEY_COL_CODE, ORGANIZATION_PARENT_NAME_COL_CODE, ORGKEY, ORGNAME, PARENTORGNAME, ROLE_KEY_COL_CODE, ROLE_NAME_COL_CODE, STATUS, USER_ENTITY, USER_MANAGEMENT, USERID, USERKEY, USR_DEFINED_COLUMN_CONSTANT, USR_KEY_COL_CODE, USR_MANAGER_DISPLAY_NAME_COL_CODE, USR_MANAGER_DISPLAY_NAME_LABEL, USR_MANAGER_FIRST_NAME_COL_CODE, USR_MANAGER_FIRST_NAME_COLUMN, USR_MANAGER_FIRST_NAME_LABEL, USR_MANAGER_KEY_COL_CODE, USR_MANAGER_LAST_NAME_COL_CODE, USR_MANAGER_LAST_NAME_COLUMN, USR_MANAGER_LAST_NAME_LABEL, USR_MANAGER_LOGIN_COL_CODE, USR_MANAGER_LOGIN_COLUMN, USR_MANAGER_LOGIN_LABEL| Constructor and Description |
|---|
tcExportOperationsBean() |
| Modifier and Type | Method and Description |
|---|---|
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) |
addError, addErrorReceiver, addReject, clearErrors, close, ejbRemove, getDataBase, getDefaultLocaleCode, getEJBContext, getErrors, getMap, getMapping, getName, getQueryFilter, getRejections, getSessionContext, getUnAuthorizedTargetFieldSet, removeErrorReceiver, removeInstance, setCountry, setLanguage, setSessionContext, setVariantequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getName, setCountry, setLanguage, setVariantpublic void ejbPassivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
tcBaseUtilityejbPassivate() method as required by the EJB specification.ejbActivate() method. ejbPassivate in interface javax.ejb.SessionBeanejbPassivate in class tcBaseUtilityjavax.ejb.EJBException - Thrown if the instance could not perform the
function requested by the container because of an system-level
error.java.rmi.RemoteExceptionpublic void ejbActivate()
throws javax.ejb.EJBException,
java.rmi.RemoteException
tcBaseUtilityejbActivate() method as required by the EJB specification.ejbPassivate() method. ejbActivate in interface javax.ejb.SessionBeanejbActivate in class tcBaseUtilityjavax.ejb.EJBException - Thrown if the instance could not perform the
function requested by the container because of an system-level
error.java.rmi.RemoteExceptionpublic void ejbCreate()
throws DDMException,
javax.ejb.CreateException
DDMExceptionjavax.ejb.CreateExceptionpublic java.util.Collection getExportView()
throws tcAPIException
getExportView in interface tcExportOperationsIntftcAPIExceptionpublic 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 XMLtcAPIExceptionpublic java.util.Collection getDependencies(java.util.Collection root)
throws tcAPIException
getDependencies in interface tcExportOperationsIntfrootObjects - tcAPIExceptiontcAPIExceptionpublic java.util.Collection findObjects(java.lang.String type,
java.lang.String searchPattern)
throws tcAPIException
findObjects in interface tcExportOperationsIntftype - name - tcAPIExceptionpublic java.util.Collection retrieveCategories()
throws tcAPIException
retrieveCategories in interface tcExportOperationsIntftcAPIExceptionpublic java.util.Collection retrieveChildren(java.util.Collection objects)
throws tcAPIException
retrieveChildren in interface tcExportOperationsIntfobjects - (Collection of root objects)DDMExceptiontcAPIExceptionpublic java.util.Collection retrieveDependencyTree(java.util.Collection objects)
throws tcAPIException
retrieveDependencyTree in interface tcExportOperationsIntfobjects - tcAPIExceptionpublic 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()