Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.security
Class GroupManagerActionsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.security.GroupManagerActionsBean
All Implemented Interfaces:
java.io.Serializable, GroupManagerActions

@Name(value="groupManagerActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class GroupManagerActionsBean
extends java.lang.Object
implements GroupManagerActions

Author:
Razvan Caraghin
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.webapp.security.GroupManagerActions
ALL, VALID_CHARS
 
Constructor Summary
GroupManagerActionsBean()
           
 
Method Summary
 java.lang.String clearSearch()
           
 java.lang.String createGroup()
           
 void createGroupNoRedirect()
           
 java.lang.String deleteGroup()
           
 void deleteGroupNoRedirect()
           
 java.lang.String editGroup()
           
 boolean getAllowCreateGroup()
           
 boolean getAllowDeleteGroup()
           
 boolean getAllowEditGroup()
           
 DocumentModelList getGroups()
           
 DocumentModel getNewGroup()
           
 java.lang.String getSearchString()
           
 DocumentModel getSelectedGroup()
           
 boolean isSearchOverflow()
           
 boolean isSelectedGroupReadOnly()
           
 void resetGroups()
           
 java.lang.String searchGroups()
           
 void setSearchString(java.lang.String searchString)
           
 void setSelectedGroup(DocumentModel group)
           
 java.lang.String updateGroup()
           
 void updateGroupNoRedirect()
           
 void validateGroupName(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 java.lang.String viewGroup()
           
 java.lang.String viewGroup(java.lang.String groupName)
           
 java.lang.String viewGroups()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupManagerActionsBean

public GroupManagerActionsBean()
Method Detail

getGroups

@Factory(value="groupList")
public DocumentModelList getGroups()
                            throws ClientException
Specified by:
getGroups in interface GroupManagerActions
Throws:
ClientException

resetGroups

public void resetGroups()
Specified by:
resetGroups in interface GroupManagerActions

viewGroups

public java.lang.String viewGroups()
Specified by:
viewGroups in interface GroupManagerActions

viewGroup

public java.lang.String viewGroup()
                           throws ClientException
Specified by:
viewGroup in interface GroupManagerActions
Throws:
ClientException

viewGroup

public java.lang.String viewGroup(java.lang.String groupName)
                           throws ClientException
Specified by:
viewGroup in interface GroupManagerActions
Throws:
ClientException

editGroup

public java.lang.String editGroup()
                           throws ClientException
Specified by:
editGroup in interface GroupManagerActions
Throws:
ClientException

isSelectedGroupReadOnly

public boolean isSelectedGroupReadOnly()
Specified by:
isSelectedGroupReadOnly in interface GroupManagerActions

getSelectedGroup

public DocumentModel getSelectedGroup()
Specified by:
getSelectedGroup in interface GroupManagerActions

getNewGroup

public DocumentModel getNewGroup()
                          throws ClientException
Specified by:
getNewGroup in interface GroupManagerActions
Throws:
ClientException

deleteGroup

public java.lang.String deleteGroup()
                             throws ClientException
Specified by:
deleteGroup in interface GroupManagerActions
Throws:
ClientException

updateGroup

public java.lang.String updateGroup()
                             throws ClientException
Specified by:
updateGroup in interface GroupManagerActions
Throws:
ClientException

validateGroupName

public void validateGroupName(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component,
                              java.lang.Object value)
Specified by:
validateGroupName in interface GroupManagerActions

createGroup

public java.lang.String createGroup()
                             throws ClientException
Specified by:
createGroup in interface GroupManagerActions
Throws:
ClientException

getAllowCreateGroup

public boolean getAllowCreateGroup()
                            throws ClientException
Specified by:
getAllowCreateGroup in interface GroupManagerActions
Throws:
ClientException

getAllowDeleteGroup

public boolean getAllowDeleteGroup()
                            throws ClientException
Specified by:
getAllowDeleteGroup in interface GroupManagerActions
Throws:
ClientException

getAllowEditGroup

public boolean getAllowEditGroup()
                          throws ClientException
Specified by:
getAllowEditGroup in interface GroupManagerActions
Throws:
ClientException

getSearchString

public java.lang.String getSearchString()
Specified by:
getSearchString in interface GroupManagerActions

setSearchString

public void setSearchString(java.lang.String searchString)
Specified by:
setSearchString in interface GroupManagerActions

searchGroups

public java.lang.String searchGroups()
Specified by:
searchGroups in interface GroupManagerActions

clearSearch

public java.lang.String clearSearch()
Specified by:
clearSearch in interface GroupManagerActions

isSearchOverflow

public boolean isSearchOverflow()
Specified by:
isSearchOverflow in interface GroupManagerActions

setSelectedGroup

public void setSelectedGroup(DocumentModel group)
                      throws ClientException
Throws:
ClientException

deleteGroupNoRedirect

public void deleteGroupNoRedirect()
                           throws ClientException
Throws:
ClientException

createGroupNoRedirect

public void createGroupNoRedirect()
                           throws ClientException
Throws:
ClientException

updateGroupNoRedirect

public void updateGroupNoRedirect()
                           throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.