| java.lang.Object com.sourcetap.sfa.event.GenericEventProcessor
All known Subclasses: com.sourcetap.sfa.party.PartyIdentifierSelectEP, com.sourcetap.sfa.customization.UIEntityEventProcessor, com.sourcetap.sfa.attachment.AbstractAttachmentEP, com.sourcetap.sfa.contact.ContactEventProcessor, com.sourcetap.sfa.customization.UIDisplayObjectEventProcessor, com.sourcetap.sfa.activity.ActivityEventProcessor, com.sourcetap.sfa.code.CodeTypeEventProcessor, com.sourcetap.sfa.lead.LeadRuleCriteriaEventProcessor, com.sourcetap.sfa.lead.LeadQueueEventProcessor, com.sourcetap.sfa.code.CodeEventProcessor, com.sourcetap.sfa.lead.LeadEventProcessor, com.sourcetap.sfa.security.EntityAccessEventProcessor, com.sourcetap.sfa.contact.ContactRoleSelectEP, com.sourcetap.sfa.customization.UIScreenSectionEventProcessor, com.sourcetap.sfa.issue.IssueEventProcessor, com.sourcetap.sfa.forecast.ForecastEventProcessor, com.sourcetap.sfa.customization.UIScreenEventProcessor, com.sourcetap.sfa.note.AbstractNoteEP, com.sourcetap.sfa.account.AccountEventProcessor, com.sourcetap.sfa.security.TeamEventProcessor, com.sourcetap.sfa.user.UserEventProcessor, com.sourcetap.sfa.opportunity.OpportunityEventProcessor, com.sourcetap.sfa.lead.LeadRuleEventProcessor, com.sourcetap.sfa.opportunity.OpportunityTeamSelectEP,
GenericEventProcessor | public class GenericEventProcessor (Code) | | DOCUMENT ME!
|
Method Summary | |
public 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 int | create(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | public int | delete(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV) | public int | deleteAllRelated(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV) | public int | deleteOneRelated(UserInfo userInfo, GenericDelegator delegator, GenericValue entityGV, String relationTitle, String relatedEntityName, String originatingEntityName, GenericEventProcessor relatedEventProcessor) | public int | deleteOneRelated(UserInfo userInfo, GenericDelegator delegator, GenericValue entityGV, String relationTitle, String relatedEntityName, String originatingEntityName, GenericEventProcessor relatedEventProcessor, boolean allowRecursive) | protected int | deleteOneSelect(ModelEntity primaryModelEntity, HashMap removeMap, UserInfo userInfo, GenericDelegator delegator) | public List | findOneRelated(UserInfo userInfo, GenericDelegator delegator, GenericValue entityGV, String relationTitle, String relatedEntityName) | public int | getFetchSize() | public boolean | getHasMoreData() | public int | getRowOffset() | public SecurityLinkInfo | getSecurityLinkInfo(UserInfo userInfo, GenericDelegator delegator) | public int | getTotalRows() | public int | insert(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | insertOneSelect(ModelEntity primaryModelEntity, HashMap createMap, UserInfo userInfo, GenericDelegator delegator) | protected int | postCreate(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | postDelete(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV) | protected int | postInsert(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | postRetrieve(UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, List relatedSearchClauses, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | postShowCopy(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | postShowQuery(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | postShowReport(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | postUpdate(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | postUpdateSelect(UserInfo userInfo, GenericDelegator delegator, ModelEntity primaryModelEntity, ArrayList removeKeyMapList, ArrayList createKeyMapList) | protected int | preCreate(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | preDelete(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV) | protected int | preInsert(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | preRetrieve(UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, List relatedSearchClauses, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | preShowCopy(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | preShowQuery(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | preShowReport(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | preUpdate(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | protected int | preUpdateSelect(UserInfo userInfo, GenericDelegator delegator, ModelEntity primaryModelEntity, ArrayList removeKeyMapList, ArrayList createKeyMapList) | public int | processCreate(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | public int | processCustom(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix, String action) | public int | processDelete(UserInfo userInfo, GenericDelegator delegator, ModelEntity primaryModelEntity, HashMap fields) | public int | processInsert(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | public int | processRetrieve(UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, List relatedSearchClauses, GenericDelegator delegator, DataMatrix dataMatrix) | public int | processShowCopy(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | public int | processShowQuery(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | public int | processShowReport(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | public int | processUpdate(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | public int | processUpdateSelect(UserInfo userInfo, GenericDelegator delegator, ModelEntity primaryModelEntity, ArrayList removeKeyMapList, ArrayList createKeyMapList) | public int | retrieve(UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, List relatedSearchClauses, GenericDelegator delegator, DataMatrix dataMatrix) | protected List | retrieveMainEntity(SecurityLinkInfo securityInfo, UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, GenericDelegator delegator) | protected GenericValue | retrieveOneRelatedGV(GenericValue mainGV, UIScreenSectionEntity relatedSearchClause, Vector outGVV, UserInfo userInfo, GenericDelegator delegator) | public void | setFetchSize(int iFetchSize) | public void | setRowOffset(int iRowOffset) | public int | showCopy(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | public int | showQuery(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix) | public int | showReport(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | public int | update(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix) | public int | updateSelect(UserInfo userInfo, GenericDelegator delegator, ModelEntity primaryModelEntity, ArrayList removeKeyMapList, ArrayList createKeyMapList) |
RETRIEVE_METHOD_ALL | final public static int RETRIEVE_METHOD_ALL(Code) | | |
RETRIEVE_METHOD_AND | final public static int RETRIEVE_METHOD_AND(Code) | | |
RETRIEVE_METHOD_CLAUSE | final public static int RETRIEVE_METHOD_CLAUSE(Code) | | |
RETRIEVE_METHOD_LIKE | final public static int RETRIEVE_METHOD_LIKE(Code) | | |
RETRIEVE_METHOD_PK | final public static int RETRIEVE_METHOD_PK(Code) | | |
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) | | |
addOneRelationClause | public 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 |
delete | public int delete(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: originatingEntityName - Parameters: entityGV - |
deleteAllRelated | public int deleteAllRelated(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: originatingEntityName - Parameters: entityGV - |
deleteOneRelated | public int deleteOneRelated(UserInfo userInfo, GenericDelegator delegator, GenericValue entityGV, String relationTitle, String relatedEntityName, String originatingEntityName, GenericEventProcessor relatedEventProcessor)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: entityGV - Parameters: relationTitle - Parameters: relatedEntityName - Parameters: originatingEntityName - Parameters: relatedEventProcessor - |
deleteOneRelated | public int deleteOneRelated(UserInfo userInfo, GenericDelegator delegator, GenericValue entityGV, String relationTitle, String relatedEntityName, String originatingEntityName, GenericEventProcessor relatedEventProcessor, boolean allowRecursive)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: entityGV - Parameters: relationTitle - Parameters: relatedEntityName - Parameters: originatingEntityName - Parameters: relatedEventProcessor - Parameters: allowRecursive - |
deleteOneSelect | protected int deleteOneSelect(ModelEntity primaryModelEntity, HashMap removeMap, UserInfo userInfo, GenericDelegator delegator)(Code) | | DOCUMENT ME!
Parameters: primaryModelEntity - Parameters: removeMap - Parameters: userInfo - Parameters: delegator - |
findOneRelated | public List findOneRelated(UserInfo userInfo, GenericDelegator delegator, GenericValue entityGV, String relationTitle, String relatedEntityName)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: entityGV - Parameters: relationTitle - Parameters: relatedEntityName - |
getFetchSize | public int getFetchSize()(Code) | | DOCUMENT ME!
|
getHasMoreData | public boolean getHasMoreData()(Code) | | DOCUMENT ME!
|
getRowOffset | public int getRowOffset()(Code) | | DOCUMENT ME!
|
getTotalRows | public int getTotalRows()(Code) | | DOCUMENT ME!
|
insertOneSelect | protected int insertOneSelect(ModelEntity primaryModelEntity, HashMap createMap, UserInfo userInfo, GenericDelegator delegator)(Code) | | DOCUMENT ME!
Parameters: primaryModelEntity - Parameters: createMap - Parameters: userInfo - Parameters: delegator - |
postCreate | protected int postCreate(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: entityNameList - Parameters: delegator - Parameters: dataMatrix - |
postDelete | protected int postDelete(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: originatingEntityName - Parameters: entityGV - |
postRetrieve | protected int postRetrieve(UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, List relatedSearchClauses, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: mainEntityName - Parameters: method - Parameters: fields - Parameters: orderBy - Parameters: queryInfo - criteria to be used in search Parameters: relatedSearchClauses - Parameters: delegator - Parameters: dataMatrix - |
postShowQuery | protected int postShowQuery(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: entityNameList - Parameters: delegator - Parameters: dataMatrix - |
postShowReport | protected int postShowReport(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: dataMatrix - |
postUpdateSelect | protected int postUpdateSelect(UserInfo userInfo, GenericDelegator delegator, ModelEntity primaryModelEntity, ArrayList removeKeyMapList, ArrayList createKeyMapList)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: primaryModelEntity - Parameters: removeKeyMapList - Parameters: createKeyMapList - |
preCreate | protected int preCreate(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: entityNameList - Parameters: delegator - Parameters: dataMatrix - |
preDelete | protected int preDelete(UserInfo userInfo, GenericDelegator delegator, String originatingEntityName, GenericValue entityGV)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: originatingEntityName - Parameters: entityGV - |
preRetrieve | protected int preRetrieve(UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, List relatedSearchClauses, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: mainEntityName - Parameters: method - Parameters: fields - Parameters: orderBy - Parameters: queryInfo - criteria to be used in search Parameters: relatedSearchClauses - Parameters: delegator - Parameters: dataMatrix - |
preShowQuery | protected int preShowQuery(UserInfo userInfo, List entityNameList, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: entityNameList - Parameters: delegator - Parameters: dataMatrix - |
preShowReport | protected int preShowReport(UserInfo userInfo, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: dataMatrix - |
preUpdateSelect | protected int preUpdateSelect(UserInfo userInfo, GenericDelegator delegator, ModelEntity primaryModelEntity, ArrayList removeKeyMapList, ArrayList createKeyMapList)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: delegator - Parameters: primaryModelEntity - Parameters: removeKeyMapList - Parameters: createKeyMapList - |
retrieve | public int retrieve(UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, List relatedSearchClauses, GenericDelegator delegator, DataMatrix dataMatrix)(Code) | | DOCUMENT ME!
Parameters: userInfo - Parameters: mainEntityName - Parameters: method - Parameters: fields - Parameters: orderBy - Parameters: queryInfo - criteria to be used in search Parameters: relatedSearchClauses - Parameters: delegator - Parameters: dataMatrix - |
retrieveMainEntity | protected List retrieveMainEntity(SecurityLinkInfo securityInfo, UserInfo userInfo, String mainEntityName, int method, Map fields, List orderBy, QueryInfo queryInfo, GenericDelegator delegator)(Code) | | DOCUMENT ME!
Parameters: securityInfo - Parameters: userInfo - Parameters: mainEntityName - Parameters: method - Parameters: fields - Parameters: orderBy - Parameters: queryInfo - criteria to be used in search Parameters: delegator - |
setFetchSize | public void setFetchSize(int iFetchSize)(Code) | | DOCUMENT ME!
Parameters: iFetchSize - |
setRowOffset | public void setRowOffset(int iRowOffset)(Code) | | DOCUMENT ME!
Parameters: iRowOffset - |
|
|