com.logicaldoc.web.admin
Class UserForm

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

public class UserForm
extends java.lang.Object

Form for user editing

Since:
3.0
Author:
Marco Meschieri - Logical Objects

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
UserForm()
           
 
Method Summary
 void assignGroups()
          Moves the selected available groups to the allowed groups list associated to a menu
 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()
           
 javax.faces.component.UIInput getCityControl()
           
 com.logicaldoc.util.config.PropertiesBean getConfig()
           
 javax.faces.component.UIInput getCountryControl()
           
 javax.faces.component.UIInput getEmailControl()
           
 javax.faces.component.UIInput getFirstNameControl()
           
 long[] getGroup()
           
 int getGroupCount()
           
 java.util.List<com.logicaldoc.core.security.Group> getGroups()
           
 javax.faces.component.UIInput getLanguageControl()
           
 javax.faces.component.UIInput getNameControl()
           
 java.lang.String getPassword()
           
 javax.faces.component.UIInput getPasswordExpiresControl()
           
 javax.faces.component.UIInput getPhone2Control()
           
 javax.faces.component.UIInput getPhoneControl()
           
 javax.faces.component.UIInput getPostalCodeControl()
           
 java.lang.String getRepass()
           
 long[] getSelectedAllowedGroups()
           
 long[] getSelectedAvailableGroups()
           
 javax.faces.component.UIInput getStateControl()
           
 javax.faces.component.UIInput getStreetControl()
           
 com.logicaldoc.core.security.User getUser()
           
 boolean isCreateNew()
           
 boolean isPasswordExpires()
           
 java.lang.String save()
           
 java.lang.String savePassword()
           
 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 setCityControl(javax.faces.component.UIInput cityControl)
           
 void setCountryControl(javax.faces.component.UIInput countryControl)
           
 void setCreateNew(boolean createNew)
           
 void setEmailControl(javax.faces.component.UIInput emailControl)
           
 void setFirstNameControl(javax.faces.component.UIInput firstNameControl)
           
 void setGroup(long[] group)
           
 void setGroups(java.util.List<com.logicaldoc.core.security.Group> groups)
           
 void setLanguageControl(javax.faces.component.UIInput languageControl)
           
 void setNameControl(javax.faces.component.UIInput nameControl)
           
 void setPassword(java.lang.String password)
           
 void setPasswordExpires(boolean passwordExpires)
           
 void setPasswordExpiresControl(javax.faces.component.UIInput passwordExpiresControl)
           
 void setPhone2Control(javax.faces.component.UIInput phone2Control)
           
 void setPhoneControl(javax.faces.component.UIInput phoneControl)
           
 void setPostalCodeControl(javax.faces.component.UIInput postalCodeControl)
           
 void setRepass(java.lang.String repass)
           
 void setSelectedAllowedGroups(long[] selectedAllowedGroups)
           
 void setSelectedAvailableGroups(long[] selectedAvailableGroups)
           
 void setStateControl(javax.faces.component.UIInput stateControl)
           
 void setStreetControl(javax.faces.component.UIInput streetControl)
           
 void setUser(com.logicaldoc.core.security.User usr)
           
 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

log

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

UserForm

public UserForm()
Method Detail

getFirstNameControl

public javax.faces.component.UIInput getFirstNameControl()

getNameControl

public javax.faces.component.UIInput getNameControl()

setNameControl

public void setNameControl(javax.faces.component.UIInput nameControl)

getStreetControl

public javax.faces.component.UIInput getStreetControl()

setStreetControl

public void setStreetControl(javax.faces.component.UIInput streetControl)

getPostalCodeControl

public javax.faces.component.UIInput getPostalCodeControl()

setPostalCodeControl

public void setPostalCodeControl(javax.faces.component.UIInput postalCodeControl)

getCityControl

public javax.faces.component.UIInput getCityControl()

setCityControl

public void setCityControl(javax.faces.component.UIInput cityControl)

getCountryControl

public javax.faces.component.UIInput getCountryControl()

setCountryControl

public void setCountryControl(javax.faces.component.UIInput countryControl)

getLanguageControl

public javax.faces.component.UIInput getLanguageControl()

setLanguageControl

public void setLanguageControl(javax.faces.component.UIInput languageControl)

getEmailControl

public javax.faces.component.UIInput getEmailControl()

setEmailControl

public void setEmailControl(javax.faces.component.UIInput emailControl)

getPhoneControl

public javax.faces.component.UIInput getPhoneControl()

setPhoneControl

public void setPhoneControl(javax.faces.component.UIInput phoneControl)

setCreateNew

public void setCreateNew(boolean createNew)

setFirstNameControl

public void setFirstNameControl(javax.faces.component.UIInput firstNameControl)

getGroups

public java.util.List<com.logicaldoc.core.security.Group> getGroups()

setGroups

public void setGroups(java.util.List<com.logicaldoc.core.security.Group> groups)

getSelectedAvailableGroups

public long[] getSelectedAvailableGroups()

setSelectedAvailableGroups

public void setSelectedAvailableGroups(long[] selectedAvailableGroups)

getSelectedAllowedGroups

public long[] getSelectedAllowedGroups()

setSelectedAllowedGroups

public void setSelectedAllowedGroups(long[] selectedAllowedGroups)

getAvailableGroupFilter

public java.lang.String getAvailableGroupFilter()

setAvailableGroupFilter

public void setAvailableGroupFilter(java.lang.String availableGroupFilter)

getAllowedGroupFilter

public java.lang.String getAllowedGroupFilter()

setAllowedGroupFilter

public void setAllowedGroupFilter(java.lang.String allowedGroupFilter)

getAvailableGroups

public java.util.Collection<javax.faces.model.SelectItem> getAvailableGroups()

setAvailableGroups

public void setAvailableGroups(java.util.Collection<javax.faces.model.SelectItem> availableGroups)

getAllowedGroups

public java.util.Collection<javax.faces.model.SelectItem> getAllowedGroups()

setAllowedGroups

public void setAllowedGroups(java.util.Collection<javax.faces.model.SelectItem> allowedGroups)

getUser

public com.logicaldoc.core.security.User getUser()

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getRepass

public java.lang.String getRepass()

setRepass

public void setRepass(java.lang.String repass)

isCreateNew

public boolean isCreateNew()

getStateControl

public javax.faces.component.UIInput getStateControl()

setStateControl

public void setStateControl(javax.faces.component.UIInput stateControl)

setUser

public void setUser(com.logicaldoc.core.security.User usr)

save

public java.lang.String save()

savePassword

public java.lang.String savePassword()

getConfig

public com.logicaldoc.util.config.PropertiesBean getConfig()

getGroupCount

public int getGroupCount()

getGroup

public long[] getGroup()

setGroup

public void setGroup(long[] group)

filterAvailableGroups

public void filterAvailableGroups(javax.faces.event.ValueChangeEvent event)
Filters the available groups if group's name contains the string on "Filter" input text

Parameters:
event -

filterAllowedGroups

public void filterAllowedGroups(javax.faces.event.ValueChangeEvent event)
Filters the allowed groups if group's name contains the string on "Filter" input text

Parameters:
event -

assignGroups

public void assignGroups()
Moves the selected available groups to the allowed groups list associated to a menu


unassignGroups

public void unassignGroups()
Moves the selected allowed groups to the available groups list associated to a menu


getPhone2Control

public javax.faces.component.UIInput getPhone2Control()

setPhone2Control

public void setPhone2Control(javax.faces.component.UIInput phone2Control)

isPasswordExpires

public boolean isPasswordExpires()

setPasswordExpires

public void setPasswordExpires(boolean passwordExpires)

getPasswordExpiresControl

public javax.faces.component.UIInput getPasswordExpiresControl()

setPasswordExpiresControl

public void setPasswordExpiresControl(javax.faces.component.UIInput passwordExpiresControl)


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