public class PITGrouperConfigHibernate extends GrouperPIT implements Hib3GrouperVersioned
Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_CONFIG_COMMENT
comment of the property
|
static String |
COLUMN_CONFIG_ENCRYPTED
if this is a password or for whatever other reason is encrypted
|
static String |
COLUMN_CONFIG_FILE_HIERARCHY
config file hierarchy, e.g.
|
static String |
COLUMN_CONFIG_FILE_NAME
config file, e.g.
|
static String |
COLUMN_CONFIG_KEY
key of the property
|
static String |
COLUMN_CONFIG_SEQUENCE
if there is more data than fits in the column this is the 0 indexed order
|
static String |
COLUMN_CONFIG_VALUE
value of the property
|
static String |
COLUMN_CONFIG_VALUE_BYTES
size of the config value
|
static String |
COLUMN_CONFIG_VALUE_CLOB
value when it's too big for config_value
|
static String |
COLUMN_CONFIG_VERSION_INDEX
for built in configs, this is the index that will identify if the database configs should be replaced from the java code
|
static String |
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action
|
static String |
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version
|
static String |
COLUMN_ID
db id for this row
|
static String |
COLUMN_LAST_UPDATED
millis since 1970 this row was last updated
|
static String |
COLUMN_PREV_CONFIG_VALUE
value of the property
|
static String |
COLUMN_PREV_CONFIG_VALUE_CLOB
value when it's too big for config_value
|
static String |
COLUMN_SOURCE_ID
column
|
static String |
FIELD_CONFIG_COMMENT
constant for field name for: configComment
|
static String |
FIELD_CONFIG_ENCRYPTED
constant for field name for: configEncrypted
|
static String |
FIELD_CONFIG_FILE_HIERARCHY
constant for field name for: configFileHierarchy
|
static String |
FIELD_CONFIG_FILE_NAME
constant for field name for: configFileName
|
static String |
FIELD_CONFIG_KEY
constant for field name for: configKey
|
static String |
FIELD_CONFIG_SEQUENCE
constant for field name for: configSequence
|
static String |
FIELD_CONFIG_VALUE
constant for field name for: configValue
|
static String |
FIELD_CONFIG_VALUE_BYTES
constant for field name for: configValueBytes
|
static String |
FIELD_CONFIG_VALUE_CLOB
constant for field name for: configValueClob
|
static String |
FIELD_CONFIG_VERSION_INDEX
constant for field name for: configVersionIndex
|
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId
|
static String |
FIELD_ID
constant for field name for: id
|
static String |
FIELD_LAST_UPDATED_DB
constant for field name for: lastUpdatedDb
|
static String |
FIELD_PREV_CONFIG_VALUE
constant for field name for: prevConfigValue
|
static String |
FIELD_PREV_CONFIG_VALUE_CLOB
constant for field name for: prevConfigValueClob
|
static String |
FIELD_SOURCE_ID
constant for field name for: sourceId
|
static String |
TABLE_GROUPER_PIT_CONFIG
name of the table in the database.
|
COLUMN_ACTIVE, COLUMN_END_TIME, COLUMN_START_TIME, FIELD_ACTIVE_DB, FIELD_END_TIME_DB, FIELD_START_TIME_DB
dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
Constructor and Description |
---|
PITGrouperConfigHibernate() |
Modifier and Type | Method and Description |
---|---|
GrouperAPI |
clone()
deep clone the fields in this object
|
void |
delete()
delete this object
|
String |
getConfigComment() |
String |
getConfigEncryptedDb()
if this is a password or for whatever other reason is encrypted, T|F
|
ConfigFileHierarchy |
getConfigFileHierarchy() |
String |
getConfigFileHierarchyDb() |
String |
getConfigFileName() |
String |
getConfigFileNameDb()
config file, e.g.
|
String |
getConfigKey()
key of the property
|
int |
getConfigSequence()
if there is more data than fits in the column this is the 0 indexed order
|
Long |
getConfigValueBytes()
size of config value in bytes
|
String |
getConfigValueClob()
clob value of the property
|
String |
getConfigValueClobDb()
clob value of the property
|
String |
getConfigValueDb()
value of the property
|
int |
getConfigVersionIndex()
for built in configs, this is the index that will identify if the database configs should be replaced from the java code
|
String |
getContextId() |
String |
getId() |
Timestamp |
getLastUpdated()
when last updated
|
Long |
getLastUpdatedDb()
when last updated
|
String |
getPreviousConfigValueClobDb() |
String |
getPreviousConfigValueDb() |
String |
getPreviousValue()
get previous value for the config.
|
String |
getSourceId() |
String |
getValue()
get current value for the config.
|
boolean |
isConfigEncrypted()
if this is a password or for whatever other reason is encrypted
|
void |
saveOrUpdate()
save or update this object
|
void |
setConfigComment(String configComment1) |
void |
setConfigEncrypted(boolean configEncrypted1)
if this is a password or for whatever other reason is encrypted
|
void |
setConfigEncryptedDb(String theConfigEncrypted)
if this is a password or for whatever other reason is encrypted
|
void |
setConfigFileHierarchy(ConfigFileHierarchy configFileHierarchyEnum) |
void |
setConfigFileHierarchy(String configFileHierarchy) |
void |
setConfigFileHierarchyDb(String configFileHierarchy) |
void |
setConfigFileName(String configFileName) |
void |
setConfigFileNameDb(String configFileName)
config file, e.g.
|
void |
setConfigKey(String configKey1)
key of the property
|
void |
setConfigSequence(int configSequence1)
if there is more data than fits in the column this is the 0 indexed order
|
void |
setConfigValueBytes(Long configValueBytes)
size of config value in bytes
|
void |
setConfigValueClob(String configValueClob1)
clob value of the property
|
void |
setConfigValueClobDb(String configValueClob1)
value of the property
|
void |
setConfigValueDb(String configValue1)
value of the property
|
void |
setConfigVersionIndex(int configVersionIndex1)
for built in configs, this is the index that will identify if the database configs should be replaced from the java code
|
void |
setContextId(String contextId1)
set context id
|
void |
setId(String id1) |
void |
setLastUpdated(Timestamp lastUpdated1)
when last updated
|
void |
setLastUpdatedDb(Long lastUpdated1)
when last updated
|
void |
setPreviousConfigValueClobDb(String previousConfigValueClob)
previous version of config value clob
|
void |
setPreviousConfigValueDb(String previousConfigValue) |
void |
setSourceId(String sourceId) |
void |
setValueToSave(String value)
set current value to save in db.
|
getActiveDb, getEndTime, getEndTimeDb, getStartTime, getStartTimeDb, isActive, setActiveDb, setEndTimeDb, setStartTimeDb
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber
public static final String COLUMN_ID
public static final String COLUMN_SOURCE_ID
public static final String COLUMN_CONTEXT_ID
public static final String COLUMN_HIBERNATE_VERSION_NUMBER
public static final String COLUMN_CONFIG_KEY
public static final String COLUMN_CONFIG_VALUE
public static final String COLUMN_CONFIG_VALUE_CLOB
public static final String COLUMN_PREV_CONFIG_VALUE
public static final String COLUMN_PREV_CONFIG_VALUE_CLOB
public static final String COLUMN_CONFIG_VALUE_BYTES
public static final String COLUMN_CONFIG_COMMENT
public static final String COLUMN_CONFIG_SEQUENCE
public static final String COLUMN_CONFIG_FILE_NAME
public static final String COLUMN_CONFIG_FILE_HIERARCHY
public static final String COLUMN_LAST_UPDATED
public static final String COLUMN_CONFIG_VERSION_INDEX
public static final String COLUMN_CONFIG_ENCRYPTED
public static final String FIELD_ID
public static final String FIELD_SOURCE_ID
public static final String FIELD_CONTEXT_ID
public static final String FIELD_CONFIG_COMMENT
public static final String FIELD_CONFIG_ENCRYPTED
public static final String FIELD_CONFIG_FILE_HIERARCHY
public static final String FIELD_CONFIG_FILE_NAME
public static final String FIELD_CONFIG_KEY
public static final String FIELD_CONFIG_SEQUENCE
public static final String FIELD_CONFIG_VALUE
public static final String FIELD_PREV_CONFIG_VALUE
public static final String FIELD_PREV_CONFIG_VALUE_CLOB
public static final String FIELD_CONFIG_VALUE_CLOB
public static final String FIELD_CONFIG_VALUE_BYTES
public static final String FIELD_CONFIG_VERSION_INDEX
public static final String FIELD_LAST_UPDATED_DB
public static final String TABLE_GROUPER_PIT_CONFIG
public Timestamp getLastUpdated()
public Long getLastUpdatedDb()
public void setLastUpdated(Timestamp lastUpdated1)
lastUpdated1
- public void setLastUpdatedDb(Long lastUpdated1)
lastUpdated1
- public int getConfigVersionIndex()
public void setConfigVersionIndex(int configVersionIndex1)
configVersionIndex1
- the configVersionIndex to setpublic String getConfigValueDb()
public String getPreviousConfigValueDb()
public void setPreviousConfigValueDb(String previousConfigValue)
public String getPreviousValue()
public String getValue()
public void setValueToSave(String value)
value
- public void setConfigValueDb(String configValue1)
configValue1
- the configValue to setpublic String getConfigValueClobDb()
public String getConfigValueClob()
public void setConfigValueClobDb(String configValueClob1)
configValueClob1
- the configValueClob to setpublic String getPreviousConfigValueClobDb()
public void setPreviousConfigValueClobDb(String previousConfigValueClob)
previousConfigValueClob
- public Long getConfigValueBytes()
public void setConfigValueBytes(Long configValueBytes)
the
- configValueBytespublic int getConfigSequence()
public void setConfigSequence(int configSequence1)
configSequence1
- the configSequence to setpublic String getConfigKey()
public void setConfigKey(String configKey1)
configKey1
- the configKey to setpublic String getConfigFileNameDb()
public void setConfigFileNameDb(String configFileName)
configFileName
- the configFileName to setpublic String getConfigFileHierarchyDb()
public void setConfigFileHierarchyDb(String configFileHierarchy)
configFileHierarchy
- the configFileHierarchy to setpublic ConfigFileHierarchy getConfigFileHierarchy()
public void setConfigFileHierarchy(ConfigFileHierarchy configFileHierarchyEnum)
configFileHierarchyEnum
- the configFileHierarchy to setpublic String getConfigComment()
public void setConfigComment(String configComment1)
configComment1
- the configComment to setpublic String getConfigEncryptedDb()
public void setConfigEncryptedDb(String theConfigEncrypted)
theConfigEncrypted
- public boolean isConfigEncrypted()
public void setConfigEncrypted(boolean configEncrypted1)
configEncrypted1
- the configEncrypted to setpublic void setId(String id1)
id1
- the id to setpublic String getId()
public String getContextId()
public void setContextId(String contextId1)
contextId1
- public void setConfigValueClob(String configValueClob1)
configValueClob1
- the configValueClob to setpublic String getSourceId()
public void setSourceId(String sourceId)
public String getConfigFileName()
public void setConfigFileName(String configFileName)
public void setConfigFileHierarchy(String configFileHierarchy)
public GrouperAPI clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
Object.clone()
public void saveOrUpdate()
public void delete()
Copyright © 2016 Internet2. All rights reserved.