com.retek.rsm.role.dataaccesspermissions
Class DataPermissionLOVModel
java.lang.Object
|
+--com.retek.rsm.role.dataaccesspermissions.DataPermissionLOVModel
- All Implemented Interfaces:
- com.retek.platform.client.gui.editor.lov.LOVPageModel
- public class DataPermissionLOVModel
- extends java.lang.Object
- implements com.retek.platform.client.gui.editor.lov.LOVPageModel
Method Summary |
java.util.List |
getDisplayableValues(java.util.List baseList,
int page,
int pageSize)
method getDisplayableDepartments() returns a list of values that will be
displayed to the user in the list of values editor for the given page |
com.retek.platform.client.gui.editor.lov.SelectableResults |
getSelectableValues(com.retek.platform.client.gui.editor.lov.SelectableCriteria selectableCriteia)
|
com.retek.platform.client.gui.editor.lov.SelectableResults |
getSelectableValuesMatchingCriteria(com.retek.platform.client.gui.editor.lov.SelectableCriteria criteria)
method getSelectableDepartments(criteria) returns a collection of
Selectable Departments to be filled into the list of values editor which
matches the given SelectableCriteria |
java.util.Collection |
getSelectedValues(java.lang.String[] values)
|
void |
setSelectableValues(java.util.List values,
java.lang.Class valueClass)
|
void |
setSelectedValues(java.util.Collection collection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataPermissionLOVModel
public DataPermissionLOVModel()
getSelectableValues
public com.retek.platform.client.gui.editor.lov.SelectableResults getSelectableValues(com.retek.platform.client.gui.editor.lov.SelectableCriteria selectableCriteia)
- Specified by:
getSelectableValues
in interface com.retek.platform.client.gui.editor.lov.LOVPageModel
getSelectedValues
public java.util.Collection getSelectedValues(java.lang.String[] values)
- Specified by:
getSelectedValues
in interface com.retek.platform.client.gui.editor.lov.LOVPageModel
setSelectedValues
public void setSelectedValues(java.util.Collection collection)
- Specified by:
setSelectedValues
in interface com.retek.platform.client.gui.editor.lov.LOVPageModel
setSelectableValues
public void setSelectableValues(java.util.List values,
java.lang.Class valueClass)
getSelectableValuesMatchingCriteria
public com.retek.platform.client.gui.editor.lov.SelectableResults getSelectableValuesMatchingCriteria(com.retek.platform.client.gui.editor.lov.SelectableCriteria criteria)
throws java.lang.Exception
- method getSelectableDepartments(criteria) returns a collection of
Selectable Departments to be filled into the list of values editor which
matches the given SelectableCriteria
- Parameters:
criteria
- SelectableCriteria containing various parameters to filter the
selectable values
- Returns:
- A collection of Selectable values
- Throws:
java.lang.Exception
getDisplayableValues
public java.util.List getDisplayableValues(java.util.List baseList,
int page,
int pageSize)
- method getDisplayableDepartments() returns a list of values that will be
displayed to the user in the list of values editor for the given page
- Parameters:
baseList
- A List containing all the valuespage
- page number that is currrently displayedpageSize
- number of values for the page
- Returns:
- List of values to be displayed in the given page