public class RoleFactory extends HibernateFactory
Modifier and Type | Field and Description |
---|---|
static Role |
ACTIVATION_KEY_ADMIN
The constant representing activation_key_admin
|
static Role |
CHANNEL_ADMIN
The constant representing channel_admin
|
static Role |
CONFIG_ADMIN
The constant representing config_admin
|
static Role |
ORG_ADMIN
The constant representing org_admin role.
|
static Role |
SAT_ADMIN
The constant representing satellite_admin role.
|
static Role |
SYSTEM_GROUP_ADMIN
The constant representing system_group_admin
|
Modifier and Type | Method and Description |
---|---|
static Role |
createRole()
Create a new Role object
|
protected org.apache.log4j.Logger |
getLogger()
Get the Logger for the derived class so log messages show up on the
correct class
|
static Role |
lookupById(java.lang.Long id)
Returns the Role with the given id.
|
static Role |
lookupByLabel(java.lang.String name)
Get the statetype by name.
|
addConfigurator, blobToByteArray, byteArrayToBlob, closeSession, closeSessionFactory, commitTransaction, createSessionFactory, createSessionFactory, executeCallableMode, executeSelectMode, getBlobContents, getByteArrayContents, getObject, getSession, initialize, inTransaction, isClosed, isInitialized, listObjectsByNamedQuery, listObjectsByNamedQuery, listObjectsByNamedQuery, lockObject, lookupObjectByNamedQuery, lookupObjectByNamedQuery, reload, removeObject, rollbackTransaction, saveObject, saveObject, stringToByteArray
public static final Role ORG_ADMIN
public static final Role SAT_ADMIN
public static final Role CHANNEL_ADMIN
public static final Role CONFIG_ADMIN
public static final Role SYSTEM_GROUP_ADMIN
public static final Role ACTIVATION_KEY_ADMIN
public static Role createRole()
protected org.apache.log4j.Logger getLogger()
getLogger
in class HibernateFactory
public static Role lookupById(java.lang.Long id)
id
- of Role to be found.public static Role lookupByLabel(java.lang.String name)
name
- Name of statetype