public class UserInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Returns true if the objects are equal.
|
static UserInfo |
getInstance(java.lang.String name)
Returns a UserInfo instance encapsulating information about the
requested user.
|
java.lang.String |
getName()
Returns the name of the admin object.
|
static java.util.List<java.lang.String> |
getPersonNames()
Returns the names of all persons in the database.
|
static java.util.List<java.lang.String> |
getUserNames()
Returns an unmodifiable list containing the NAMES of all the users that
exists in the database.
|
int |
hashCode()
Returns the objects hash code.
|
boolean |
isGroup()
Returns whether the user is a group or not.
|
boolean |
isHidden()
Returns whether the user is hidden or not.
|
boolean |
isPerson()
Returns whether the user is a person or not.
|
boolean |
isRole()
Returns whether the user is a role or not.
|
java.lang.String |
toString()
Returns a string representation suitable for debugging.
|
public static java.util.List<java.lang.String> getPersonNames() throws TVCException
TVCException
- If an error occurs.public static UserInfo getInstance(java.lang.String name) throws TVCException
name
- The name of the user.TVCException
- If unable to retrieve user information in case the
information has to be retrieved from the database.public boolean isPerson()
public boolean isRole()
public boolean isGroup()
public boolean isHidden()
public int hashCode()
public boolean equals(java.lang.Object o)
public static java.util.List<java.lang.String> getUserNames() throws TVCException
TVCException
public java.lang.String getName()
getName
in interface com.technia.tvc.core.db.model.SchemaInfo
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © Technia AB. All Rights Reserved.