Method Summary |
|
public void | add(byte roleId) |
public Role | get(int pos) Returns the role at the given position. |
public ArrayList<Role> | getList() Returns all roles as array list. |
public Role[] | getRoles() Returns all roles in the list. |
public void | remove(Role role) Removes a role from the list. |
public void | remove(Role role) Removes groups from the list. |
public void | remove(long roleId) Removes role identified by the unique id from the list. |
public void | remove(long roleId) Removes a role identified by its unique id from the list. |
public int | size() Returns the amount of roles in the list. |
public long[] | toIdArray() Returns a array holding the id's of all roles in the list. |
public String[] | toNameArray() Returns a array holding the names of all roles in the list. |
public String | toNameString() Returns a comma seperated list of the role names. |
public String | toString() Returns a string representation of the roles. |