|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface User
Class User that reflects the DB representation of web_contact and ancillary tables. DB table: web_contact
| Method Summary | |
|---|---|
void |
addChange(StateChange change)
Add a change to the users stateChanges set |
void |
addRole(Role label)
Add a role to this User's Role Set. |
void |
addServer(Server server)
Give this user permission to manage a server. |
boolean |
authenticate(java.lang.String thePassword)
Authenticate the user |
java.lang.String |
getAddress1()
Getter for address1 |
java.lang.String |
getAddress2()
Getter for address2 |
java.util.Set |
getAssociatedServerGroups()
Retrieves the set of server groups associated to this user. |
java.lang.String |
getCity()
Getter for city |
java.lang.String |
getCompany()
|
java.lang.String |
getCountry()
Getter for country |
java.util.Date |
getCreated()
Gets the current value of created |
java.util.Set |
getDefaultSystemGroupIds()
Gets the Set of SystemGroup IDs (Long) associated with this User. |
java.lang.String |
getEmail()
Gets the current value of email |
int |
getEmailNotify()
Gets the current value of emailNotify |
EnterpriseUser |
getEnterpriseUser()
Get the EnterpriseUser |
java.lang.String |
getFax()
Getter for fax |
java.lang.String |
getFirstNames()
Gets the current value of firstNames |
java.util.Set |
getHiddenPanes()
Retrieves the set of Pane object instances This method retrieves the |
java.lang.Long |
getId()
Gets the current value of id |
java.lang.String |
getIsPoBox()
Getter for isPoBox |
java.util.Date |
getLastLoggedIn()
Gets the current value of lastLoggedIn |
java.lang.String |
getLastName()
Gets the current value of lastName |
java.lang.String |
getLogin()
Gets the current value of login |
java.lang.String |
getLoginUc()
Gets the current value of loginUc |
java.util.Date |
getModified()
Gets the current value of modified |
java.util.Set |
getNotificationMethods()
Get the notification methods set |
Org |
getOrg()
helper method to get the associated Org for the user |
int |
getPageSize()
Gets the current value of pageSize |
java.lang.String |
getPassword()
Gets the current value of password |
java.lang.String |
getPhone()
Getter for phone |
java.lang.String |
getPreferredLocale()
Returns the user's preferred locale |
java.lang.String |
getPrefix()
Gets the current value of prefix |
java.util.Set<Role> |
getRoles()
Gets the roles assigned to this user. |
java.util.Set |
getServers()
Returns the set of Server's this user has permissions to manage. |
java.lang.String |
getShowSystemGroupList()
Gets the current value of showSystemGroupList |
java.lang.String |
getState()
Getter for state |
java.util.Set |
getStateChanges()
Returns the set of state changes for a user. |
RhnTimeZone |
getTimeZone()
Gets the current timezone |
java.lang.String |
getTitle()
Gets the current value of title |
boolean |
getUsePamAuthentication()
Gets the current value of usePamAuthentication |
java.lang.String |
getZip()
Getter for zip |
boolean |
hasRole(Role label)
Check to see if this user has the passed in label in the Collection of Roles assigned to this user |
boolean |
isDisabled()
Tells whether or not a user is disabled |
void |
removeRole(Role label)
Remove a role to this User's Role Set. |
void |
removeServer(Server server)
Remover permission for the user to manage this server. |
void |
setAddress1(java.lang.String address1In)
Setter for address1 |
void |
setAddress2(java.lang.String address2In)
Setter for address2 |
void |
setCity(java.lang.String cityIn)
Setter for city |
void |
setCompany(java.lang.String companyIn)
|
void |
setCountry(java.lang.String countryIn)
Setter for country |
void |
setCreated(java.util.Date createdIn)
Sets the value of created to new value |
void |
setDefaultSystemGroupIds(java.util.Set groups)
Updates the User's Default System groups. |
void |
setEmail(java.lang.String emailIn)
Sets the email value |
void |
setEmailNotify(int emailNotifyIn)
Sets the value of emailNotify to new value |
void |
setFax(java.lang.String faxIn)
Setter for fax |
void |
setFirstNames(java.lang.String firstNamesIn)
Sets the value of firstNames to new value |
void |
setHiddenPanes(java.util.Set panes)
Sets the set of PaneObjects instances. |
void |
setId(java.lang.Long l)
Set the current value of id |
void |
setIsPoBox(java.lang.String isPoBoxIn)
Setter for isPoBox |
void |
setLastLoggedIn(java.util.Date lastLoggedInIn)
Sets the value of lastLoggedIn to new value |
void |
setLastName(java.lang.String lastNameIn)
Sets the value of lastName to new value |
void |
setLogin(java.lang.String loginIn)
Sets the value of login to new value |
void |
setLoginUc(java.lang.String loginUcIn)
Sets the value of loginUc to new value |
void |
setModified(java.util.Date modifiedIn)
Set the value of the modified date. |
void |
setNotificationMethods(java.util.Set methodsIn)
Set the notification method set. |
void |
setOrg(Org orgIn)
set the org of this user |
void |
setPageSize(int pageSizeIn)
Sets the value of pageSize to new value |
void |
setPassword(java.lang.String passwordIn)
Sets the password. |
void |
setPhone(java.lang.String phoneIn)
Setter for phone |
void |
setPreferredLocale(java.lang.String locale)
Sets the user's preferred locale |
void |
setPrefix(java.lang.String prefixIn)
Sets the value of prefix to new value |
void |
setShowSystemGroupList(java.lang.String showSystemGroupListIn)
Sets the value of showSystemGroupList to new value |
void |
setState(java.lang.String stateIn)
Setter for state |
void |
setTimeZone(RhnTimeZone timeZoneIn)
Sets the current timezone |
void |
setTitle(java.lang.String titleIn)
Sets the value of title to new value |
void |
setUsePamAuthentication(boolean usePamAuthenticationIn)
Sets the value of usePamAuthentication to new value |
void |
setZip(java.lang.String zipIn)
Setter for zip |
| Method Detail |
|---|
java.lang.Long getId()
void setId(java.lang.Long l)
l - long valuejava.util.Date getCreated()
void setCreated(java.util.Date createdIn)
createdIn - New value for createdjava.util.Date getModified()
void setModified(java.util.Date modifiedIn)
modifiedIn - new value for modifiedint getPageSize()
void setPageSize(int pageSizeIn)
pageSizeIn - New value for pageSizeboolean getUsePamAuthentication()
void setUsePamAuthentication(boolean usePamAuthenticationIn)
usePamAuthenticationIn - New value for usePamAuthenticationjava.lang.String getShowSystemGroupList()
void setShowSystemGroupList(java.lang.String showSystemGroupListIn)
showSystemGroupListIn - New value for showSystemGroupListjava.util.Set<Role> getRoles()
Collections.unmodifiableMap(java.util.Map extends K, ? extends V>)
in order to enforce the rule that roles are not changeable
during runtime.
If this requirement changes then we will need to remove this
restriction later.
boolean hasRole(Role label)
label - the label used to lookup
void addRole(Role label)
label - The label of the Role you want to add.void removeRole(Role label)
label - The label of the Role you want to remove.boolean authenticate(java.lang.String thePassword)
thePassword - password to check if matches against this User's
Org getOrg()
void setOrg(Org orgIn)
orgIn - to setjava.util.Set getDefaultSystemGroupIds()
void setDefaultSystemGroupIds(java.util.Set groups)
groups - Set of Long System Group IDsboolean isDisabled()
void addChange(StateChange change)
change - The change to addjava.util.Set getStateChanges()
void setNotificationMethods(java.util.Set methodsIn)
methodsIn - notification methodsjava.util.Set getNotificationMethods()
java.lang.String getLogin()
void setLogin(java.lang.String loginIn)
loginIn - New value for loginjava.lang.String getLoginUc()
void setLoginUc(java.lang.String loginUcIn)
loginUcIn - New value for loginUcjava.lang.String getPassword()
void setPassword(java.lang.String passwordIn)
passwordIn - the password to setjava.util.Date getLastLoggedIn()
void setLastLoggedIn(java.util.Date lastLoggedInIn)
lastLoggedInIn - New value for lastLoggedInjava.lang.String getPrefix()
void setPrefix(java.lang.String prefixIn)
prefixIn - New value for prefixjava.lang.String getFirstNames()
void setFirstNames(java.lang.String firstNamesIn)
firstNamesIn - New value for firstNamesjava.lang.String getLastName()
void setLastName(java.lang.String lastNameIn)
lastNameIn - New value for lastNamejava.lang.String getTitle()
void setTitle(java.lang.String titleIn)
titleIn - New value for titlejava.lang.String getEmail()
void setEmail(java.lang.String emailIn)
emailIn - the email value to setRhnTimeZone getTimeZone()
void setTimeZone(RhnTimeZone timeZoneIn)
timeZoneIn - The timezone to be setvoid setCompany(java.lang.String companyIn)
companyIn - the company valuejava.lang.String getCompany()
java.lang.String getAddress1()
void setAddress1(java.lang.String address1In)
address1In - New value for address1java.lang.String getAddress2()
void setAddress2(java.lang.String address2In)
address2In - New value for address2java.lang.String getCity()
void setCity(java.lang.String cityIn)
cityIn - New value for cityjava.lang.String getState()
void setState(java.lang.String stateIn)
stateIn - New value for statejava.lang.String getZip()
void setZip(java.lang.String zipIn)
zipIn - New value for zipjava.lang.String getCountry()
void setCountry(java.lang.String countryIn)
countryIn - New value for countryjava.lang.String getPhone()
void setPhone(java.lang.String phoneIn)
phoneIn - New value for phonejava.lang.String getFax()
void setFax(java.lang.String faxIn)
faxIn - New value for faxjava.lang.String getIsPoBox()
void setIsPoBox(java.lang.String isPoBoxIn)
isPoBoxIn - New value for isPoBoxEnterpriseUser getEnterpriseUser()
java.util.Set getHiddenPanes()
void setHiddenPanes(java.util.Set panes)
panes - a set of pane objectsjava.lang.String getPreferredLocale()
void setPreferredLocale(java.lang.String locale)
locale - overrides browser localevoid setEmailNotify(int emailNotifyIn)
emailNotifyIn - New value for emailNotifyint getEmailNotify()
java.util.Set getAssociatedServerGroups()
java.util.Set getServers()
void addServer(Server server)
server - Server to add permission for.void removeServer(Server server)
server - Server to remove permission for.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||