org.alfresco.web.bean.users
Class UsersBeanProperties

java.lang.Object
  extended by org.alfresco.web.bean.users.UsersBeanProperties
All Implemented Interfaces:
java.io.Serializable

public class UsersBeanProperties
extends java.lang.Object
implements java.io.Serializable

Bean holding the properties for a Person node. Used by the Create/EditUserWizard, UsersDialog and EditUserDetailsDetails to maitain user state during dialog. Also provides access to a map of the properties to mutability which is used to disable appropriate controls on edit dialogs if properties are externally mapped to LDAP or similar.

See Also:
Serialized Form

Nested Class Summary
 class UsersBeanProperties.PropertyImmutabilityMap
          Map of person property to immutability The Map interface is implemented to allow JSF expressions such as #{DialogBean.bean.properties.immutability.propertyname}
 
Constructor Summary
UsersBeanProperties()
           
 
Method Summary
 org.alfresco.service.cmr.security.MutableAuthenticationService getAuthenticationService()
           
 java.lang.String getAvatarUrl()
           
 java.lang.String getConfirm()
           
 org.alfresco.service.cmr.usage.ContentUsageService getContentUsageService()
           
 java.util.Map getImmutability()
           
 org.alfresco.service.cmr.repository.NodeService getNodeService()
           
 java.lang.String getOldPassword()
           
 java.lang.String getPassword()
           
 Node getPerson()
           
 java.lang.String getPersonDescription()
           
 org.alfresco.service.cmr.security.PersonService getPersonService()
           
 java.lang.String getSearchCriteria()
           
 org.alfresco.service.cmr.search.SearchService getSearchService()
           
 boolean getUsagesEnabled()
           
 java.lang.Long getUserQuota()
           
 org.alfresco.repo.security.sync.UserRegistrySynchronizer getUserRegistrySynchronizer()
           
 UIRichList getUsersRichList()
           
 java.lang.Long getUserUsage()
           
 java.lang.Long getUserUsage(java.lang.String userName)
           
 void setAuthenticationService(org.alfresco.service.cmr.security.MutableAuthenticationService authenticationService)
           
 void setConfirm(java.lang.String confirm)
           
 void setContentUsageService(org.alfresco.service.cmr.usage.ContentUsageService contentUsageService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setOldPassword(java.lang.String oldPassword)
           
 void setPassword(java.lang.String password)
           
 void setPerson(Node p)
           
 void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
           
 void setSearchCriteria(java.lang.String searchCriteria)
           
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
           
 void setUserRegistrySynchronizer(org.alfresco.repo.security.sync.UserRegistrySynchronizer userRegistrySynchronizer)
           
 void setUsersRichList(UIRichList usersRichList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsersBeanProperties

public UsersBeanProperties()
Method Detail

getNodeService

public org.alfresco.service.cmr.repository.NodeService getNodeService()
Returns:
the nodeService

getSearchService

public org.alfresco.service.cmr.search.SearchService getSearchService()
Returns:
the searchService

getAuthenticationService

public org.alfresco.service.cmr.security.MutableAuthenticationService getAuthenticationService()
Returns:
the authenticationService

getPersonService

public org.alfresco.service.cmr.security.PersonService getPersonService()
Returns:
the personService

getContentUsageService

public org.alfresco.service.cmr.usage.ContentUsageService getContentUsageService()
Returns:
contentUsageService

getUserRegistrySynchronizer

public org.alfresco.repo.security.sync.UserRegistrySynchronizer getUserRegistrySynchronizer()
Returns:
userRegistrySynchronizer

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Parameters:
nodeService - The NodeService to set.

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
Parameters:
searchServiceq - the search service

setAuthenticationService

public void setAuthenticationService(org.alfresco.service.cmr.security.MutableAuthenticationService authenticationService)
Parameters:
authenticationService - The AuthenticationService to set.

setPersonService

public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
Parameters:
personService - The PersonService to set.

setContentUsageService

public void setContentUsageService(org.alfresco.service.cmr.usage.ContentUsageService contentUsageService)
Parameters:
contentUsageService - The ContentUsageService to set.

setUserRegistrySynchronizer

public void setUserRegistrySynchronizer(org.alfresco.repo.security.sync.UserRegistrySynchronizer userRegistrySynchronizer)
Parameters:
userRegistrySynchronizer -

getUsersRichList

public UIRichList getUsersRichList()
Returns:
Returns the usersRichList.

setUsersRichList

public void setUsersRichList(UIRichList usersRichList)
Parameters:
usersRichList - The usersRichList to set.

getSearchCriteria

public java.lang.String getSearchCriteria()
Returns:
Returns the search criteria

setSearchCriteria

public void setSearchCriteria(java.lang.String searchCriteria)
Parameters:
searchCriteria - The search criteria to select

getConfirm

public java.lang.String getConfirm()
Returns:
Returns the confirm password.

setConfirm

public void setConfirm(java.lang.String confirm)
Parameters:
confirm - The confirm password to set.

getPassword

public java.lang.String getPassword()
Returns:
Returns the password.

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - The password to set.

getOldPassword

public java.lang.String getOldPassword()
Returns:
Returns the old password.

setOldPassword

public void setOldPassword(java.lang.String oldPassword)
Parameters:
oldPassword - The old password to set.

getPerson

public Node getPerson()
Returns:
Returns the person context.

setPerson

public void setPerson(Node p)
Parameters:
person - The person context to set.

getUserUsage

public java.lang.Long getUserUsage(java.lang.String userName)

getUserUsage

public java.lang.Long getUserUsage()

getUserQuota

public java.lang.Long getUserQuota()

getUsagesEnabled

public boolean getUsagesEnabled()

getPersonDescription

public java.lang.String getPersonDescription()

getAvatarUrl

public java.lang.String getAvatarUrl()

getImmutability

public java.util.Map getImmutability()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.