|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apertereports.common.users.UserRole
public class UserRole
Class represents user role
| Constructor Summary | |
|---|---|
UserRole(String name,
long id,
boolean administrator)
Creates new user role |
|
| Method Summary | |
|---|---|
long |
getId()
Returns id |
String |
getName()
Returns name |
boolean |
isAdministrator()
Determines if this role is administrator role |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserRole(String name,
long id,
boolean administrator)
name - Name of roleid - Id of role| Method Detail |
|---|
public long getId()
public String getName()
public boolean isAdministrator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||