public class tcExportOperationsBean extends tcBaseUtility implements javax.ejb.SessionBean, tcExportOperationsIntf
tcBaseUtility.Entities
ALL_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, setVariant
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getName, setCountry, setLanguage, setVariant
public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
tcBaseUtility
ejbPassivate()
method as required by the EJB specification.ejbActivate()
method. ejbPassivate
in interface javax.ejb.SessionBean
ejbPassivate
in class tcBaseUtility
javax.ejb.EJBException
- 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 javax.ejb.EJBException, java.rmi.RemoteException
tcBaseUtility
ejbActivate()
method as required by the EJB specification.ejbPassivate()
method. ejbActivate
in interface javax.ejb.SessionBean
ejbActivate
in class tcBaseUtility
javax.ejb.EJBException
- 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, javax.ejb.CreateException
DDMException
javax.ejb.CreateException
public java.util.Collection getExportView() throws tcAPIException
getExportView
in interface tcExportOperationsIntf
tcAPIException
public java.lang.String getExportXML(java.util.Collection rootObjects, java.lang.String description) throws tcAPIException
getExportXML
in interface tcExportOperationsIntf
rootObjects
- description
- string containing the description of exported XMLtcAPIException
public java.util.Collection getDependencies(java.util.Collection root) throws tcAPIException
getDependencies
in interface tcExportOperationsIntf
rootObjects
- tcAPIException
tcAPIException
public java.util.Collection findObjects(java.lang.String type, java.lang.String searchPattern) throws tcAPIException
findObjects
in interface tcExportOperationsIntf
type
- name
- tcAPIException
public java.util.Collection retrieveCategories() throws tcAPIException
retrieveCategories
in interface tcExportOperationsIntf
tcAPIException
public java.util.Collection retrieveChildren(java.util.Collection objects) throws tcAPIException
retrieveChildren
in interface tcExportOperationsIntf
objects
- (Collection of root objects)DDMException
tcAPIException
public java.util.Collection retrieveDependencyTree(java.util.Collection objects) throws tcAPIException
retrieveDependencyTree
in interface tcExportOperationsIntf
objects
- tcAPIException
public java.util.Collection arrangeSelectionAsATree(java.util.Collection objects) throws tcAPIException
arrangeSelectionAsATree
in interface tcExportOperationsIntf
objects
- tcAPIException
public void setSchema(com.thortech.xl.ddm.engine.SchemaFacade schema)
public com.thortech.xl.ddm.engine.SchemaFacade getSchema()