| java.lang.Object com.sourcetap.sfa.ui.UIQuery
Method Summary | |
public void | addUiQueryValue(String attributeId, EntityOperator entityOperator, String attributeValue, String displayTypeId, String displayObjectId, GenericDelegator delegator) | public void | appendEntityClauses(GenericDelegator delegator, QueryInfo queryInfo) | public String | getPartyId() | public String | getQueryId() | public String | getQueryName() | public String | getSectionId() | public static GenericValue | getUiQueryByName(GenericDelegator delegator, String partyId, String sectionName, String screenName, String savedQueryName) | public static List | getUiQueryList(GenericDelegator delegator, String partyId, String sectionName, String screenName) | public UIQueryValue | getUiQueryValue(int queryValueNbr) | public ArrayList | getUiQueryValueList() | public static List | getUiQueryValues(GenericDelegator delegator, String queryId) | public String | save(GenericDelegator delegator) | public void | setPartyId(String partyId_) | public void | setQueryId(String queryId_) | public void | setQueryName(String queryName_) | public void | setSectionId(String sectionId_) | public void | setUiQueryValueList(ArrayList uiQueryValueList_) | public GenericValue | toGenericValue(GenericDelegator delegator) Creates a generic value for this query. |
LAST_QUERY_NAME | final public static String LAST_QUERY_NAME(Code) | | Constant containing the name of the last query used
|
LAST_QUERY_NAME_URL_ENCODED | final public static String LAST_QUERY_NAME_URL_ENCODED(Code) | | |
partyId | protected String partyId(Code) | | Party ID - Identifies the user who created the query, and who can re-use it.
|
queryId | protected String queryId(Code) | | Query ID - Uniquely identifies this query
|
queryName | protected String queryName(Code) | | Query Name - Name of this query to appear on the screen in the drop list of available queries
|
sectionId | protected String sectionId(Code) | | Section ID - Identifies the UI screen section on which this query can be used
|
UIQuery | public UIQuery(String queryId_, GenericDelegator delegator)(Code) | | Constructor to create a UI Query from the data base using the specified query ID
Parameters: queryId_ - Query ID - Uniquely identifies this query Parameters: delegator - Generic delegator object required to attach to the correct data source author: John Nutting |
UIQuery | public UIQuery(String queryId_, String sectionId_, String partyId_, String queryName_, ArrayList uiQueryValueList_)(Code) | | Constructor with initial values
Parameters: queryId_ - Query ID - Uniquely identifies this query Parameters: sectionId_ - Section ID - Identifies the UI screen section on which this query can be used Parameters: partyId_ - Party ID - Identifies the user who created the query, and who can re-use it. Parameters: queryName_ - Query Name - Name of this query to appear on the screen in the drop list of available queries author: John Nutting |
addUiQueryValue | public void addUiQueryValue(String attributeId, EntityOperator entityOperator, String attributeValue, String displayTypeId, String displayObjectId, GenericDelegator delegator)(Code) | | Adds an object of class UIQueryValue to the query value list
Parameters: attributeId_ - Attribute ID - Uniquely identifies an attribute defined in the UI data Parameters: attributeValue_ - The value to be compared to the specified attribute on entities in the data basewhen the query is executed Parameters: entityOperator_ - The operand to be used to compare the value to the specified attribute onentities in the data base when the query is executed Parameters: delegator - Generic delegator object required to attach to the correct data source ID of new query value author: John Nutting See Also: UIQuery.UIQueryValue |
appendEntityClauses | public void appendEntityClauses(GenericDelegator delegator, QueryInfo queryInfo)(Code) | | Create entity clauses for this query that can be used by the GenericDelegator.findByCondition method
Parameters: delegator - Generic delegator object required to attach to the correct data source Parameters: queryInfo - criteria to be used in search author: John Nutting |
getPartyId | public String getPartyId()(Code) | | Gets the Party ID
Party ID - Identifies the user who created the query, and who can re-use it. author: John Nutting |
getQueryId | public String getQueryId()(Code) | | Gets the Query ID
Query ID - Uniquely identifies this query author: John Nutting |
getQueryName | public String getQueryName()(Code) | | Gets the Query Name
Parameters: queryName_ - Query Name - Name of this query to appear on the screen in the drop list of available queries author: John Nutting |
getSectionId | public String getSectionId()(Code) | | Gets the Section ID
Parameters: sectionId_ - Section ID - Identifies the UI screen section on which this query can be used author: John Nutting |
getUiQueryValue | public UIQueryValue getUiQueryValue(int queryValueNbr)(Code) | | Gets a reference to the UIQueryValue stored in the query value list at the position specified by the queryValueNbr parameter
Parameters: queryValueNbr - Position in the query value list from which to get the query value object Query value object from the specified position in the query value list author: John Nutting See Also: UIQuery.UIQueryValue |
save | public String save(GenericDelegator delegator)(Code) | | Save the query to the data base
Parameters: delegator - Generic delegator object required to attach to the correct data source Query ID - Uniquely identifies this query author: John Nutting |
setPartyId | public void setPartyId(String partyId_)(Code) | | Sets the Party ID
Parameters: partyId_ - Party ID - Identifies the user who created the query, and who can re-use it. author: John Nutting |
setQueryId | public void setQueryId(String queryId_)(Code) | | Sets the Query ID
Parameters: queryId_ - Query ID - Uniquely identifies this query author: John Nutting |
setSectionId | public void setSectionId(String sectionId_)(Code) | | Sets the Section ID
Section ID - Identifies the UI screen section on which this query can be used author: John Nutting |
setUiQueryValueList | public void setUiQueryValueList(ArrayList uiQueryValueList_)(Code) | | Stores an ArrayList containing values of type UIQueryValue into the Query Value List
Parameters: uiQueryValueList_ - Query Value List - List of objects that contain the query values for this query author: John Nutting See Also: UIQuery.UIQueryValue |
toGenericValue | public GenericValue toGenericValue(GenericDelegator delegator)(Code) | | Creates a generic value for this query.
Parameters: delegator - Generic delegator object required to attach to the correct data source Generic value representing this query author: John Nutting |
|
|