|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase org.kuali.rice.kns.web.struts.form.KualiForm org.kuali.rice.kns.web.struts.form.LookupForm org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm
public class MultipleValueLookupForm
Form to handle multiple value lookups
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kuali.rice.kns.web.struts.form.KualiForm |
---|
KualiForm.TabState |
Field Summary |
---|
Fields inherited from class org.kuali.rice.kns.web.struts.form.LookupForm |
---|
HEADER_BAR_ENABLED_PARAM, SEARCH_CRITERIA_ENABLED_PARAM |
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiForm |
---|
extraButtons |
Fields inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase |
---|
requiredNonEditableProperties |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
MultipleValueLookupForm()
|
Method Summary | |
---|---|
void |
addRequiredNonEditableProperties()
This method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear. |
int |
getColumnToSortIndex()
|
Map<String,String> |
getCompositeObjectIdMap()
|
String |
getCompositeSelectedObjectIds()
This method converts the composite object IDs into a String |
Set<String> |
getDisplayedObjectIdSet()
|
int |
getFirstRowIndex()
|
int |
getLastRowIndex()
|
String |
getLookedUpCollectionName()
gets the name of the collection being looked up by the calling page. |
String |
getLookupResultsSequenceNumber()
|
Set<String> |
getPreviouslySelectedObjectIdSet()
|
String |
getPreviouslySortedColumnIndex()
|
int |
getResultsActualSize()
|
int |
getResultsLimitedSize()
|
Set<String> |
getSelectedObjectIdSet()
|
int |
getSwitchToPageNumber()
|
int |
getTotalNumberOfPages()
|
int |
getViewedPageNumber()
|
void |
jumpToFirstPage(int listSize,
int maxRowsPerPage)
|
void |
jumpToLastPage(int listSize,
int maxRowsPerPage)
|
void |
jumpToPage(int pageNumber,
int listSize,
int maxRowsPerPage)
|
protected Set<String> |
parseDisplayedObjectIdSet(javax.servlet.http.HttpServletRequest request)
|
protected Set<String> |
parsePreviouslySelectedObjectIds(javax.servlet.http.HttpServletRequest request)
|
protected boolean |
parseSearchUsingOnlyPrimaryKeyValues(javax.servlet.http.HttpServletRequest request)
Iterates through the request params, looks for the parameter representing the method to call in the format like methodToCall.sort.1.(::;true;::).x, and returns the boolean value in the (::; and ;::) delimiters. |
protected boolean |
parseSearchUsingOnlyPrimaryKeyValues(String methodToCallParam)
Parses the method to call parameter passed in as a post parameter The parameter should be something like methodToCall.sort.1.(::;true;::).x, this method will return the value between (::; and ;::) as a boolean |
protected Set<String> |
parseSelectedObjectIdSet(javax.servlet.http.HttpServletRequest request)
|
void |
populate(javax.servlet.http.HttpServletRequest request)
Picks out business object name from the request to get retrieve a lookupable and set properties. |
void |
setColumnToSortIndex(int columnToSortIndex)
|
void |
setCompositeObjectIdMap(Map<String,String> compositeObjectIdMap)
|
void |
setDisplayedObjectIdSet(Set<String> displayedObjectIdSet)
|
void |
setFirstRowIndex(int firstRowIndex)
|
void |
setLastRowIndex(int lastRowIndex)
|
void |
setLookedUpCollectionName(String lookedUpCollectionName)
sets the name of the collection being looked up by the calling page. |
void |
setLookupResultsSequenceNumber(String lookupResultSequenceNumber)
|
void |
setPreviouslySelectedObjectIdSet(Set<String> previouslySelectedObjectIds)
|
void |
setPreviouslySortedColumnIndex(String previouslySortedColumnIndex)
|
void |
setResultsActualSize(int resultsActualSize)
|
void |
setResultsLimitedSize(int resultsLimitedSize)
|
void |
setSelectedObjectIdSet(Set<String> selectedObjectIdSet)
|
protected void |
setSwitchToPageNumber(int switchToPageNumber)
|
void |
setTotalNumberOfPages(int totalNumberOfPages)
|
void |
setViewedPageNumber(int pageNumberBeingViewedForMultivalueLookups)
|
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipleValueLookupForm()
Method Detail |
---|
public void addRequiredNonEditableProperties()
PojoForm
addRequiredNonEditableProperties
in interface PojoForm
addRequiredNonEditableProperties
in class LookupForm
LookupForm.addRequiredNonEditableProperties()
public void populate(javax.servlet.http.HttpServletRequest request)
LookupForm
populate
in interface PojoForm
populate
in class LookupForm
public String getCompositeSelectedObjectIds()
protected Set<String> parsePreviouslySelectedObjectIds(javax.servlet.http.HttpServletRequest request)
protected Set<String> parseSelectedObjectIdSet(javax.servlet.http.HttpServletRequest request)
protected Set<String> parseDisplayedObjectIdSet(javax.servlet.http.HttpServletRequest request)
protected boolean parseSearchUsingOnlyPrimaryKeyValues(javax.servlet.http.HttpServletRequest request)
request
-
parseSearchUsingOnlyPrimaryKeyValues(String)
protected boolean parseSearchUsingOnlyPrimaryKeyValues(String methodToCallParam)
methodToCallParam
- the method to call in a format described above
public int getViewedPageNumber()
public void setViewedPageNumber(int pageNumberBeingViewedForMultivalueLookups)
public String getLookupResultsSequenceNumber()
public void setLookupResultsSequenceNumber(String lookupResultSequenceNumber)
public int getTotalNumberOfPages()
public void setTotalNumberOfPages(int totalNumberOfPages)
public int getFirstRowIndex()
public void setFirstRowIndex(int firstRowIndex)
public int getLastRowIndex()
public void setLastRowIndex(int lastRowIndex)
public int getSwitchToPageNumber()
protected void setSwitchToPageNumber(int switchToPageNumber)
public Set<String> getPreviouslySelectedObjectIdSet()
public void setPreviouslySelectedObjectIdSet(Set<String> previouslySelectedObjectIds)
public Set<String> getSelectedObjectIdSet()
public void setSelectedObjectIdSet(Set<String> selectedObjectIdSet)
public Set<String> getDisplayedObjectIdSet()
public void setDisplayedObjectIdSet(Set<String> displayedObjectIdSet)
public Map<String,String> getCompositeObjectIdMap()
public void setCompositeObjectIdMap(Map<String,String> compositeObjectIdMap)
public int getColumnToSortIndex()
public void setColumnToSortIndex(int columnToSortIndex)
public String getPreviouslySortedColumnIndex()
public void setPreviouslySortedColumnIndex(String previouslySortedColumnIndex)
public String getLookedUpCollectionName()
public void setLookedUpCollectionName(String lookedUpCollectionName)
lookedUpCollectionName
- public int getResultsActualSize()
public void setResultsActualSize(int resultsActualSize)
public int getResultsLimitedSize()
public void setResultsLimitedSize(int resultsLimitedSize)
public void jumpToFirstPage(int listSize, int maxRowsPerPage)
public void jumpToLastPage(int listSize, int maxRowsPerPage)
public void jumpToPage(int pageNumber, int listSize, int maxRowsPerPage)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |