com.logicaldoc.web.admin
Class GroupsRecordsManager

java.lang.Object
  extended by com.logicaldoc.web.admin.GroupsRecordsManager

public class GroupsRecordsManager
extends java.lang.Object

The GroupsManager class is responsible for constructing the list of Group beans which will be bound to a ice:dataTable JSF component.

Large data sets could be handle by adding a ice:dataPaginator. Alternatively the dataTable could also be hidden and the dataTable could be added to scrollable ice:panelGroup.

Since:
4.0
Author:
Marco Meschieri - Logical Objects

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
GroupsRecordsManager()
           
 
Method Summary
 java.lang.String addGroup()
           
 java.lang.String delete()
           
 java.lang.String edit()
           
 void filterGroupsByName(javax.faces.event.ValueChangeEvent event)
          Filters all group if group's name contains the string on "GroupName" input text
 int getCount()
           
 java.lang.String getGroupFilter()
           
 java.util.Collection<com.logicaldoc.core.security.Group> getGroups()
          Gets the list of Group which will be used by the ice:dataTable component.
 java.lang.String getSelectedPanel()
           
 java.lang.String list()
           
 void reload()
           
 void setGroupFilter(java.lang.String groupFilter)
           
 void setSelectedPanel(java.lang.String panel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

GroupsRecordsManager

public GroupsRecordsManager()
Method Detail

getGroupFilter

public java.lang.String getGroupFilter()

setGroupFilter

public void setGroupFilter(java.lang.String groupFilter)

reload

public void reload()

getSelectedPanel

public java.lang.String getSelectedPanel()

setSelectedPanel

public void setSelectedPanel(java.lang.String panel)

list

public java.lang.String list()

edit

public java.lang.String edit()

addGroup

public java.lang.String addGroup()

delete

public java.lang.String delete()

getGroups

public java.util.Collection<com.logicaldoc.core.security.Group> getGroups()
Gets the list of Group which will be used by the ice:dataTable component.


getCount

public int getCount()

filterGroupsByName

public void filterGroupsByName(javax.faces.event.ValueChangeEvent event)
Filters all group if group's name contains the string on "GroupName" input text

Parameters:
event -


Copyright © 2008-2010 Logical Objects. All Rights Reserved.