|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.thortech.xl.util.adapters.tcUtilXellerateOperations
public class tcUtilXellerateOperations
This class that will perform Xellerate specific utility functions particularly for Rule generations.
Method Summary | |
---|---|
static java.lang.String |
chckProcOrderedForAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey) Method that checks if a particular process has been successfully ordered for a user. |
static java.lang.String |
chckProcOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey) Method that checks if a particular process has been successfully ordered for a user. |
static java.lang.String |
checkProcessOrderedForAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey) Method that checks if a particular process has been successfully ordered for an organization. |
static java.lang.String |
checkProcessOrderedForParentAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey) Method that checks if a particular process has been successfully ordered for parent of an organization. |
static java.lang.String |
checkProcessOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey) Method that checks if a particular process has been successfully ordered for a user. |
static boolean |
checkValueUniqueness(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, com.thortech.xl.dataobj.tcDataObj poDataObj, java.lang.String psColumnName, java.lang.String psColumnValue) method that validates uniqueness of the value. |
static boolean |
checkValueUniquenessIgnoreCase(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, com.thortech.xl.dataobj.tcDataObj poDataObj, java.lang.String psColumnName, java.lang.String psColumnValue) method that validates uniqueness of the value(ignore case) |
static java.lang.String |
getDataFromOrc(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey, java.lang.String psColumnName) Method that gets the value of a particular field from the process data for a specific orc ordered for the specified organization. |
static java.lang.String |
getDataFromProcessOrderedForAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey, java.lang.String psColumnName) Method that gets the value of a particular field from the process data for a specific process ordered for the specified organization. |
static java.lang.String |
getDataFromProcessOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey, java.lang.String psColumnName) Method that gets the value of a particular field from the process data for a specific process ordered for the specified user. |
static java.util.Map |
getDeletedProcessFormChildData(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, long childFormDefinitionKey, long processInstanceKey, long taskInstanceKey) Get the deleted child form entry details. |
static java.lang.String |
getITAssetKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psITAssetType, java.lang.String psITAssetName) Method that given an Asset Type and Asset Name, returns the Asset Instance Key |
static java.util.Hashtable |
getITAssetProperties(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psServerName) Method that given an Asset Name, returns the Asset Properties in a Hashtable |
static java.lang.String |
getObjKeyfromOrcKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey) method that find the obj_key from the orc_key |
static java.lang.String |
getObjOrderForfromObjKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psObjKey) method that get obj_order_for column from the obj table by obj_key provided |
static java.lang.String |
getOstKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psObjKey, java.lang.String psOstStatus) method that get ost_key from the ost table by obj_key and ost_status provided |
static boolean |
isValueChanged(com.thortech.xl.dataobj.tcDataObj poDataObj, java.lang.String psColumName) method that validates that value has been changed in the database. |
static java.lang.String |
orderProcessForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey) Method that orders a process for a user. |
static void |
printLine(java.lang.String psParmToPrint) This method prints out the parameter is is being passed in. |
static java.lang.String |
setDataForOrcProcess(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey, java.lang.String psColumnName, java.lang.String psColumnValue) Method that sets the value of a particular field in the process data for a specific process instance (ORC). |
static java.lang.String |
setDataForProcessOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey, java.lang.String psColumnName, java.lang.String psColumnValue) Method that sets the value of a particular field in the process data for a specific process ordered for the specified user. |
static boolean |
setOstKeyforObject(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey, java.lang.String psObjOrderFor, java.lang.String psOstKey) method that set obj status in oio/oiu table |
static void |
updateITAssetProperty(com.thortech.xl.server.tcOrbServerObject poCreator, com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psServerName, java.lang.String psPropName, java.lang.String psPropValue) Given an Asset Name, associated property name, and its value, the method will update this property with the value passed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isValueChanged(com.thortech.xl.dataobj.tcDataObj poDataObj, java.lang.String psColumName) throws java.lang.Exception
poDataObj
- poDataObj for all data objects except tcScheduleItem.psColumName
- psColumName name of the column being compared.java.lang.Exception
com.thortech.xl.dataobj.tcUnsupportedDataObjException
public static boolean checkValueUniqueness(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, com.thortech.xl.dataobj.tcDataObj poDataObj, java.lang.String psColumnName, java.lang.String psColumnValue) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.poDataObj
- poDataObj for all data objects except tcScheduleItem.psColumnName
- psColumName name of the column being checked.psColumnValue
- psColumnValue value of the column being checked.java.lang.Exception
com.thortech.xl.dataobj.tcUnsupportedDataObjException
public static boolean checkValueUniquenessIgnoreCase(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, com.thortech.xl.dataobj.tcDataObj poDataObj, java.lang.String psColumnName, java.lang.String psColumnValue) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.poDataObj
- poDataObj for all data objects except tcScheduleItem.psColumnName
- psColumName name of the column being checked.psColumnValue
- psColumnValue value of the column being checked.java.lang.Exception
com.thortech.xl.dataobj.tcUnsupportedDataObjException
public static java.lang.String getObjKeyfromOrcKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psOrcKey
- psOrcKey orc_key for the process formjava.lang.Exception
public static java.lang.String getObjOrderForfromObjKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psObjKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psObjKey
- psObjKey obj_key to check obj_order_forjava.lang.Exception
public static java.lang.String getOstKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psObjKey, java.lang.String psOstStatus) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psObjKey
- psObjKeypsOstStatus
- psOstStatusjava.lang.Exception
public static boolean setOstKeyforObject(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey, java.lang.String psObjOrderFor, java.lang.String psOstKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psOrcKey
- psOrcKey orc_keypsObjOrderFor
- psObjOrderFor (U/O)psOstKey
- psOstKey the new ost_key value for the oiu/oio recordjava.lang.Exception
public static void printLine(java.lang.String psParmToPrint)
psParmToPrint
- psParmToPrint value to print.public static java.lang.String checkProcessOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName name of the process to look for.psUsrKey
- psUsrKey Key of the user to check process for.java.lang.Exception
public static java.lang.String chckProcOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName name of the process to look for.psUsrKey
- psUsrKey Key of the user to check process for.java.lang.Exception
public static java.lang.String checkProcessOrderedForAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName name of the process to look for.psActKey
- psActKey Key of the organization to check process for.java.lang.Exception
public static java.lang.String chckProcOrderedForAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName name of the process to look for.psActKey
- psActKey Key of the organization to check process for.java.lang.Exception
public static java.lang.String checkProcessOrderedForParentAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName name of the process to look for.psActKey
- psActKey Key of the organization whose parent to check process for.java.lang.Exception
public static java.lang.String getDataFromProcessOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey, java.lang.String psColumnName) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName name of the process to look for.psUsrKey
- psUsrKey The user process data is to be retrieved.psColumnName
- psColumnName The field whose value is to be retrieved.java.lang.Exception
public static java.lang.String getDataFromProcessOrderedForAct(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psActKey, java.lang.String psColumnName) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName name of the process to look for.psActKey
- psActKey The organization process data is to be retrieved.psColumnName
- psColumnName The field whose value is to be retrieved.java.lang.Exception
public static java.lang.String getDataFromOrc(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey, java.lang.String psColumnName) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psOrcKey
- psProcessName name of the process to look for.psColumnName
- psActKey The organization process data is to be retrieved.java.lang.Exception
public static java.lang.String setDataForOrcProcess(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psOrcKey, java.lang.String psColumnName, java.lang.String psColumnValue) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psOrcKey
- psProcessName name of the process to look for.psColumnName
- psOrcKey The process insatnce whose data is to be set.psColumnValue
- psColumnName The field whose value is to be set.java.lang.Exception
public static java.lang.String setDataForProcessOrderedForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey, java.lang.String psColumnName, java.lang.String psColumnValue) throws java.lang.Exception
poDataProvider
- poDataProvider data base connection.psProcessName
- psProcessName The name of the process to look for.psUsrKey
- psUsrKey The user whose process data is to be modified.psColumnName
- psColumnName The field whose value is to be set.psColumnValue
- psColumnValue The value to be set.java.lang.Exception
public static java.lang.String orderProcessForUser(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psProcessName, java.lang.String psUsrKey) throws java.lang.Exception
poDataProvider
- A data providerpsProcessName
- The name of the process to orderpsUsrKey
- The key of the user to order the process forjava.lang.Exception
public static java.lang.String getITAssetKey(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psITAssetType, java.lang.String psITAssetName) throws java.lang.Exception
poDataProvider
- A data providerpsITAssetType
- The type of the IT AssetpsITAssetName
- The name of the IT Assetjava.lang.Exception
public static java.util.Hashtable getITAssetProperties(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psServerName) throws java.lang.Exception
poDataProvider
- A data providerpsServerName
- The name of the IT Assetjava.lang.Exception
public static void updateITAssetProperty(com.thortech.xl.server.tcOrbServerObject poCreator, com.thortech.xl.dataaccess.tcDataProvider poDataProvider, java.lang.String psServerName, java.lang.String psPropName, java.lang.String psPropValue) throws java.lang.Exception
poCreator
- tcOrbServerObject type objectpoDataProvider
- A data providerpsServerName
- The name of the IT AssetpsPropName
- The name of the IT Asset PropertypsPropValue
- The new value of the IT Asset Propertyjava.lang.Exception
public static java.util.Map getDeletedProcessFormChildData(com.thortech.xl.dataaccess.tcDataProvider poDataProvider, long childFormDefinitionKey, long processInstanceKey, long taskInstanceKey) throws tcProcessNotFoundException, tcFormNotFoundException, tcAPIException, java.lang.Exception
poDataProvider
- A data providerpsChildTableName
- Child process form namechildFormDefinitionKey
- Child process form keyprocessInstanceKey
- Process Instance KeytaskInstanceKey
- Task Instance Keyjava.lang.Exception
- DOCUMENT ME!tcProcessNotFoundException
tcFormNotFoundException
tcAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |