public class WebappUsers extends Object implements Serializable
| Constructor and Description |
|---|
WebappUsers() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(int index,
Role vRole) |
void |
addRole(Role vRole) |
void |
addUser(int index,
User vUser) |
void |
addUser(User vUser) |
void |
clearRole() |
void |
clearUser() |
void |
deleteMaxsessions() |
Enumeration |
enumerateRole() |
Enumeration |
enumerateUser() |
int |
getMaxsessions()
Returns the value of field 'maxsessions'.
|
Role[] |
getRole() |
Role |
getRole(int index) |
int |
getRoleCount() |
User[] |
getUser() |
User |
getUser(int index) |
int |
getUserCount() |
boolean |
hasMaxsessions() |
boolean |
isValid() |
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
boolean |
removeRole(Role vRole) |
boolean |
removeUser(User vUser) |
void |
setMaxsessions(int maxsessions)
Sets the value of field 'maxsessions'.
|
void |
setRole(int index,
Role vRole) |
void |
setRole(Role[] roleArray) |
void |
setUser(int index,
User vUser) |
void |
setUser(User[] userArray) |
static WebappUsers |
unmarshal(Reader reader) |
void |
validate() |
public void addRole(Role vRole) throws IndexOutOfBoundsException
vRole - IndexOutOfBoundsExceptionpublic void addRole(int index,
Role vRole)
throws IndexOutOfBoundsException
index - vRole - IndexOutOfBoundsExceptionpublic void addUser(User vUser) throws IndexOutOfBoundsException
vUser - IndexOutOfBoundsExceptionpublic void addUser(int index,
User vUser)
throws IndexOutOfBoundsException
index - vUser - IndexOutOfBoundsExceptionpublic void clearRole()
public void clearUser()
public void deleteMaxsessions()
public Enumeration enumerateRole()
public Enumeration enumerateUser()
public int getMaxsessions()
public Role getRole(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsExceptionpublic Role[] getRole()
public int getRoleCount()
public User getUser(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsExceptionpublic User[] getUser()
public int getUserCount()
public boolean hasMaxsessions()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic boolean removeRole(Role vRole)
vRole - public boolean removeUser(User vUser)
vUser - public void setMaxsessions(int maxsessions)
maxsessions - the value of field 'maxsessions'.public void setRole(int index,
Role vRole)
throws IndexOutOfBoundsException
index - vRole - IndexOutOfBoundsExceptionpublic void setRole(Role[] roleArray)
roleArray - public void setUser(int index,
User vUser)
throws IndexOutOfBoundsException
index - vUser - IndexOutOfBoundsExceptionpublic void setUser(User[] userArray)
userArray - public static WebappUsers unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationExceptionCopyright © 2015. All rights reserved.