public class UserResult extends java.lang.Object implements OpenContentResult
IUser
methods, a simple POJO class to store the return values of user.
It contains an array of UserBean if they exist, and errors
and/or exceptions containing the reason the return failed.
Member Variable | Description |
Boolean error |
Equals true if error occured, false otherwise. Explained by errorName and errorDetails |
String errorName |
Name of the error for this result, if this value is set then error equals true. |
String errorDetails |
Details of the error for this result, if this value is set then error equals true. |
UserBean [] userBeans |
Bean containing information about a user |
GroupBean [] groupBeans |
Bean containing information about a group |
Constructor and Description |
---|
UserResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
getError() |
java.lang.String |
getErrorDetails() |
java.lang.String |
getErrorName() |
GroupBean[] |
getGroupBeans() |
UserBean[] |
getUserBeans() |
void |
setError(boolean error) |
void |
setErrorDetails(java.lang.String errorDetails) |
void |
setErrorName(java.lang.String errorName) |
void |
setGroupBeans(GroupBean[] groupBeans) |
void |
setUserBeans(UserBean[] userBeans) |
public UserBean[] getUserBeans()
public void setUserBeans(UserBean[] userBeans)
public GroupBean[] getGroupBeans()
public void setGroupBeans(GroupBean[] groupBeans)
public boolean getError()
public void setError(boolean error)
setError
in interface OpenContentResult
public java.lang.String getErrorName()
public void setErrorName(java.lang.String errorName)
setErrorName
in interface OpenContentResult
public java.lang.String getErrorDetails()
public void setErrorDetails(java.lang.String errorDetails)
setErrorDetails
in interface OpenContentResult