public class AdminUser extends ConsoleUser
| Modifier and Type | Field and Description |
|---|---|
java.util.Set |
administeredCategoryIds |
java.util.Set |
administeredSourceIds |
defaultConfiguration, defaultPrinter, ident, password, userId| Constructor and Description |
|---|
AdminUser(java.lang.String name,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdministeredCategory(Category category) |
void |
addAdministeredSource(Source source) |
boolean |
administersCategory(java.lang.Integer categoryId) |
boolean |
administersSource(Source source) |
void |
removeAdministeredCategory(Category category) |
void |
removeAdministeredSource(Source source) |
equals, getDefaultConfiguration, getDefaultPrinter, getIdent, getName, getPassword, getUserId, hashCode, setDefaultConfiguration, setDefaultPrinter, setIdent, setPassword, setUserIdpublic java.util.Set administeredSourceIds
public java.util.Set administeredCategoryIds
public void addAdministeredCategory(Category category)
public void removeAdministeredCategory(Category category)
public boolean administersCategory(java.lang.Integer categoryId)
public void addAdministeredSource(Source source)
public void removeAdministeredSource(Source source)
public boolean administersSource(Source source)