|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.logicaldoc.web.document.RightsRecordsManager
public class RightsRecordsManager
Control that allows the user to select access rights
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
RightsRecordsManager()
|
Method Summary | |
---|---|
void |
assignGroups()
Moves the selected available groups to the allowed groups list associated to a menu |
java.lang.String |
back()
|
void |
cleanSelection()
|
void |
dispose()
Cleans up the resources used by this class. |
void |
filterAllowedGroups(javax.faces.event.ValueChangeEvent event)
Filters the allowed groups if group's name contains the string on "Filter" input text |
void |
filterAvailableGroups(javax.faces.event.ValueChangeEvent event)
Filters the available groups if group's name contains the string on "Filter" input text |
java.lang.String |
getAllowedGroupFilter()
|
java.util.Collection<javax.faces.model.SelectItem> |
getAllowedGroups()
|
java.lang.String |
getAvailableGroupFilter()
|
java.util.Collection<javax.faces.model.SelectItem> |
getAvailableGroups()
|
java.util.List<GroupRule> |
getRules()
Gets the list of rules which will be used by the ice:dataTable component. |
long[] |
getSelectedAllowedGroups()
|
long[] |
getSelectedAvailableGroups()
|
Directory |
getSelectedDirectory()
|
boolean |
isRecursive()
|
java.lang.String |
save()
|
void |
selectDirectory(Directory dir)
Changes the currently selected directory and updates the rules list. |
void |
setAllowedGroupFilter(java.lang.String allowedGroupFilter)
|
void |
setAllowedGroups(java.util.Collection<javax.faces.model.SelectItem> allowedGroups)
|
void |
setAvailableGroupFilter(java.lang.String availableGroupFilter)
|
void |
setAvailableGroups(java.util.Collection<javax.faces.model.SelectItem> availableGroups)
|
void |
setDocumentNavigation(DocumentNavigation documentNavigation)
|
void |
setRecursive(boolean recursive)
|
void |
setSelectedAllowedGroups(long[] selectedAllowedGroups)
|
void |
setSelectedAvailableGroups(long[] selectedAvailableGroups)
|
void |
unassignGroups()
Moves the selected allowed groups to the available groups list associated to a menu |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public RightsRecordsManager()
Method Detail |
---|
public java.lang.String getAvailableGroupFilter()
public void setAvailableGroupFilter(java.lang.String availableGroupFilter)
public java.lang.String getAllowedGroupFilter()
public void setAllowedGroupFilter(java.lang.String allowedGroupFilter)
public boolean isRecursive()
public long[] getSelectedAvailableGroups()
public void setSelectedAvailableGroups(long[] selectedAvailableGroups)
public long[] getSelectedAllowedGroups()
public void setSelectedAllowedGroups(long[] selectedAllowedGroups)
public void setRecursive(boolean recursive)
public java.util.Collection<javax.faces.model.SelectItem> getAvailableGroups()
public java.util.Collection<javax.faces.model.SelectItem> getAllowedGroups()
public void setAvailableGroups(java.util.Collection<javax.faces.model.SelectItem> availableGroups)
public void setAllowedGroups(java.util.Collection<javax.faces.model.SelectItem> allowedGroups)
public void selectDirectory(Directory dir)
dir
- public void cleanSelection()
public void assignGroups()
public void unassignGroups()
public void dispose()
public java.util.List<GroupRule> getRules()
public java.lang.String back()
public java.lang.String save()
public Directory getSelectedDirectory()
public void setDocumentNavigation(DocumentNavigation documentNavigation)
public void filterAvailableGroups(javax.faces.event.ValueChangeEvent event)
event
- public void filterAllowedGroups(javax.faces.event.ValueChangeEvent event)
event
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |