@Name(value="groupManagerActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class GroupManagerActionsBean extends Object implements GroupManagerActions
ALL, VALID_CHARS
Constructor and Description |
---|
GroupManagerActionsBean() |
Modifier and Type | Method and Description |
---|---|
String |
clearSearch() |
String |
createGroup() |
void |
createGroupNoRedirect() |
String |
deleteGroup() |
void |
deleteGroupNoRedirect() |
String |
editGroup() |
boolean |
getAllowCreateGroup() |
boolean |
getAllowDeleteGroup() |
boolean |
getAllowEditGroup() |
DocumentModelList |
getGroups() |
DocumentModel |
getNewGroup() |
String |
getSearchString() |
DocumentModel |
getSelectedGroup() |
boolean |
isSearchOverflow() |
boolean |
isSelectedGroupReadOnly() |
void |
resetGroups() |
String |
searchGroups() |
void |
setSearchString(String searchString) |
void |
setSelectedGroup(DocumentModel group) |
String |
updateGroup() |
void |
updateGroupNoRedirect() |
void |
validateGroupName(FacesContext context,
UIComponent component,
Object value) |
String |
viewGroup() |
String |
viewGroup(String groupName) |
String |
viewGroups() |
@Factory(value="groupList") public DocumentModelList getGroups() throws ClientException
getGroups
in interface GroupManagerActions
ClientException
public void resetGroups()
resetGroups
in interface GroupManagerActions
public String viewGroups()
viewGroups
in interface GroupManagerActions
public String viewGroup() throws ClientException
viewGroup
in interface GroupManagerActions
ClientException
public String viewGroup(String groupName) throws ClientException
viewGroup
in interface GroupManagerActions
ClientException
public String editGroup() throws ClientException
editGroup
in interface GroupManagerActions
ClientException
public boolean isSelectedGroupReadOnly()
isSelectedGroupReadOnly
in interface GroupManagerActions
public DocumentModel getSelectedGroup()
getSelectedGroup
in interface GroupManagerActions
public DocumentModel getNewGroup() throws ClientException
getNewGroup
in interface GroupManagerActions
ClientException
public String deleteGroup() throws ClientException
deleteGroup
in interface GroupManagerActions
ClientException
public String updateGroup() throws ClientException
updateGroup
in interface GroupManagerActions
ClientException
public void validateGroupName(FacesContext context, UIComponent component, Object value)
validateGroupName
in interface GroupManagerActions
public String createGroup() throws ClientException
createGroup
in interface GroupManagerActions
ClientException
public boolean getAllowCreateGroup() throws ClientException
getAllowCreateGroup
in interface GroupManagerActions
ClientException
public boolean getAllowDeleteGroup() throws ClientException
getAllowDeleteGroup
in interface GroupManagerActions
ClientException
public boolean getAllowEditGroup() throws ClientException
getAllowEditGroup
in interface GroupManagerActions
ClientException
public String getSearchString()
getSearchString
in interface GroupManagerActions
public void setSearchString(String searchString)
setSearchString
in interface GroupManagerActions
public String searchGroups()
searchGroups
in interface GroupManagerActions
public String clearSearch()
clearSearch
in interface GroupManagerActions
public boolean isSearchOverflow()
isSearchOverflow
in interface GroupManagerActions
public void setSelectedGroup(DocumentModel group) throws ClientException
ClientException
public void deleteGroupNoRedirect() throws ClientException
ClientException
public void createGroupNoRedirect() throws ClientException
ClientException
public void updateGroupNoRedirect() throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.