| java.lang.Object com.sourcetap.sfa.event.EventUtility
EventUtility | public class EventUtility (Code) | | DOCUMENT ME!
|
Method Summary | |
public static void | addOneRelationClause(GenericDelegator delegator, String relationTitle, String relatedAndFields, String relatedEntityName, String primaryEntityName, ModelEntity primaryME, boolean isOuterJoin, QueryInfo queryInfo) Add entity clauses for one related entity. | public static EntityComparisonOperator | appendEntityClause(String searchEntityName, String searchAttribName, String searchAttribValue, QueryInfo queryInfo) | public static EntityComparisonOperator | appendEntityClause(String searchEntityName, String searchAttribName, Collection searchAttribValue, EntityComparisonOperator entityOperator, QueryInfo queryInfo) | public static EntityComparisonOperator | appendEntityClause(String searchEntityName, String searchAttribName, String searchAttribValue, EntityComparisonOperator entityOperator, QueryInfo queryInfo) | public static void | appendEntityClauses(String searchEntityName, HashMap paramList, QueryInfo queryInfo) | public static StringBuffer | convertDateQueryValue(StringBuffer queryValue, long queryDateOffset) | public static ArrayList | decodeSelectItem(HashMap queryParameterValueList, String itemString) This function returns an arraylist containing HashMaps representing the primary keys of records
in a many-to-many relationship which are to be added to or removed from te data base after
being selected or unselected on a SELECT screen section. | public static HashMap | getAlphaSearchValues(GenericDelegator delegator, UIScreenSection uiScreenSection, String nameToSearchParam) | public static String | getDataType(GenericValue gV, String fieldName, GenericDelegator delegator) | public static EntityComparisonOperator | getEntityOperator(StringBuffer queryValue) | public static Number | parseNumber(String value) | public static void | storeValue(GenericValue gV, String fieldName, String value, GenericDelegator delegator) | public static void | storeValue(GenericValue gV, String fieldName, String value, GenericDelegator delegator, String fieldType) |
STATUS_CANCEL | final public static int STATUS_CANCEL(Code) | | |
STATUS_CONTINUE | final public static int STATUS_CONTINUE(Code) | | |
STATUS_ERROR | final public static int STATUS_ERROR(Code) | | |
EventUtility | public EventUtility()(Code) | | |
addOneRelationClause | public static void addOneRelationClause(GenericDelegator delegator, String relationTitle, String relatedAndFields, String relatedEntityName, String primaryEntityName, ModelEntity primaryME, boolean isOuterJoin, QueryInfo queryInfo) throws GenericEntityException(Code) | | Add entity clauses for one related entity. This will join related tables to the query
during a retrieve so query values can be entered that are in related entities.
author: John Nutting Parameters: delegator - Reference to the OFBIZ delegator being used to connect to the data base Parameters: relationTitle - Relation title Parameters: relatedEntityName - Name of related entity Parameters: primaryEntityName - Name of the primary entity Parameters: primaryME - ModelEntity object for the primary entity Parameters: queryInfo - criteria to be used in search |
appendEntityClause | public static EntityComparisonOperator appendEntityClause(String searchEntityName, String searchAttribName, String searchAttribValue, QueryInfo queryInfo)(Code) | | DOCUMENT ME!
Parameters: searchEntityName - Parameters: searchAttribName - Parameters: searchAttribValue - Parameters: queryInfo - |
appendEntityClauses | public static void appendEntityClauses(String searchEntityName, HashMap paramList, QueryInfo queryInfo)(Code) | | DOCUMENT ME!
Parameters: searchEntityName - Parameters: paramList - Parameters: queryInfo - criteria to be used in search |
convertDateQueryValue | public static StringBuffer convertDateQueryValue(StringBuffer queryValue, long queryDateOffset)(Code) | | DOCUMENT ME!
Parameters: queryValue - Parameters: queryDateOffset - |
decodeSelectItem | public static ArrayList decodeSelectItem(HashMap queryParameterValueList, String itemString)(Code) | | This function returns an arraylist containing HashMaps representing the primary keys of records
in a many-to-many relationship which are to be added to or removed from te data base after
being selected or unselected on a SELECT screen section.
author: John Nutting author: version 1 Parameters: queryParameterValueList - A hash map containing the values being used to filter the screen section.\Example: key=dealId, value=10010 Parameters: itemString - String representation of the list of keys to be added or removed.Example representing 3 entities, each with 2 fields in the key:"displayObjectId:10021,displayTypeId:22320,displayAttribId:SIZE;displayObjectId:10021,displayTypeId:22320,displayAttribId:DISABLED" An ArrayList of HashMaps, each containing the primary key of a generic value to be added to or removed from the data base. |
storeValue | public static void storeValue(GenericValue gV, String fieldName, String value, GenericDelegator delegator, String fieldType)(Code) | | DOCUMENT ME!
Parameters: gV - Parameters: fieldName - Parameters: value - Parameters: delegator - Parameters: fieldType - |
|
|