public class ChangeLogConsumer extends GrouperAPI implements Hib3GrouperVersioned
| Modifier and Type | Field and Description |
|---|---|
static String |
COLUMN_CREATED_ON
column
|
static String |
COLUMN_HIBERNATE_VERSION_NUMBER
column
|
static String |
COLUMN_ID
column
|
static String |
COLUMN_LAST_SEQUENCE_PROCESSED
column
|
static String |
COLUMN_LAST_UPDATED
column
|
static String |
COLUMN_NAME
column
|
static String |
FIELD_CREATED_ON_DB
constant for field name for: createdOnDb
|
static String |
FIELD_ID
constant for field name for: id
|
static String |
FIELD_LAST_SEQUENCE_PROCESSED
constant for field name for: lastSequenceProcessed
|
static String |
FIELD_LAST_UPDATED_DB
constant for field name for: lastUpdatedDb
|
static String |
FIELD_NAME
constant for field name for: name
|
static String |
TABLE_GROUPER_CHANGE_LOG_CONSUMER
name of the grouper changeLog consumer table in the db
|
dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER| Constructor and Description |
|---|
ChangeLogConsumer()
empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
GrouperAPI |
clone()
deep clone the fields in this object
|
boolean |
equalsDeep(ChangeLogConsumer changeLogType)
see if one changeLog type is the same as another (not looking at last update, id, etc)
|
Timestamp |
getCreatedOn()
when created
|
Long |
getCreatedOnDb()
when created
|
String |
getId()
uuid of row
|
Long |
getLastSequenceProcessed()
what is the number of the last sequence processed
|
Timestamp |
getLastUpdated()
when last updated
|
Long |
getLastUpdatedDb()
when last updated
|
String |
getName()
name of this consumer
|
void |
onPreSave(HibernateSession hibernateSession)
before a save (insert) occurs
|
void |
onPreUpdate(HibernateSession hibernateSession)
before an update occurs
|
void |
setCreatedOn(Timestamp createdOn1)
when created
|
void |
setCreatedOnDb(Long createdOn1)
when created
|
void |
setId(String id1)
uuid of row
|
void |
setLastSequenceProcessed(Long lastSequenceProcessed1)
what is the number of the last sequence processed
|
void |
setLastUpdated(Timestamp lastUpdated1)
when last updated
|
void |
setLastUpdatedDb(Long lastUpdated1)
when last updated
|
void |
setName(String name1)
name of this consumer
|
String |
toString() |
String |
toStringDeep()
the string repre
|
void |
truncate()
make sure this object will fit in the DB
|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onSave, onUpdate, setHibernateVersionNumberpublic static final String COLUMN_ID
public static final String COLUMN_HIBERNATE_VERSION_NUMBER
public static final String COLUMN_LAST_SEQUENCE_PROCESSED
public static final String COLUMN_NAME
public static final String COLUMN_CREATED_ON
public static final String COLUMN_LAST_UPDATED
public static final String FIELD_CREATED_ON_DB
public static final String FIELD_ID
public static final String FIELD_LAST_SEQUENCE_PROCESSED
public static final String FIELD_LAST_UPDATED_DB
public static final String FIELD_NAME
public static final String TABLE_GROUPER_CHANGE_LOG_CONSUMER
public boolean equalsDeep(ChangeLogConsumer changeLogType)
changeLogType - public String toStringDeep()
public String toString()
toString in class ObjectObject.toString()public String getId()
public void setId(String id1)
id1 - public Timestamp getLastUpdated()
public Long getLastUpdatedDb()
public void setLastUpdated(Timestamp lastUpdated1)
lastUpdated1 - public void setLastUpdatedDb(Long lastUpdated1)
lastUpdated1 - public Timestamp getCreatedOn()
public Long getCreatedOnDb()
public void setCreatedOn(Timestamp createdOn1)
createdOn1 - public void setCreatedOnDb(Long createdOn1)
createdOn1 - public void onPreSave(HibernateSession hibernateSession)
HibGrouperLifecycleonPreSave in interface HibGrouperLifecycleonPreSave in class GrouperAPIGrouperAPI.onPreSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)public void onPreUpdate(HibernateSession hibernateSession)
HibGrouperLifecycleonPreUpdate in interface HibGrouperLifecycleonPreUpdate in class GrouperAPIGrouperAPI.onPreUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)public void truncate()
public GrouperAPI clone()
GrouperAPIclone in interface GrouperCloneableclone in class GrouperAPIGrouperAPI.clone()public String getName()
public void setName(String name1)
name1 - public Long getLastSequenceProcessed()
public void setLastSequenceProcessed(Long lastSequenceProcessed1)
lastSequenceProcessed1 - Copyright © 2016 Internet2. All rights reserved.