|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.GrouperAPI edu.internet2.middleware.grouper.changeLog.ChangeLogType
public class ChangeLogType
type of changeLog
Field Summary | |
---|---|
static String |
COLUMN_ACTION_NAME
column |
static String |
COLUMN_CHANGE_LOG_CATEGORY
column |
static String |
COLUMN_CONTEXT_ID
column |
static String |
COLUMN_CREATED_ON
column |
static String |
COLUMN_HIBERNATE_VERSION_NUMBER
column |
static String |
COLUMN_ID
column |
static String |
COLUMN_LABEL_STRING01
column |
static String |
COLUMN_LABEL_STRING02
column |
static String |
COLUMN_LABEL_STRING03
column |
static String |
COLUMN_LABEL_STRING04
column |
static String |
COLUMN_LABEL_STRING05
column |
static String |
COLUMN_LABEL_STRING06
column |
static String |
COLUMN_LABEL_STRING07
column |
static String |
COLUMN_LABEL_STRING08
column |
static String |
COLUMN_LABEL_STRING09
column |
static String |
COLUMN_LABEL_STRING10
column |
static String |
COLUMN_LABEL_STRING11
column |
static String |
COLUMN_LABEL_STRING12
column |
static String |
COLUMN_LAST_UPDATED
column |
static String |
FIELD_ACTION_NAME
constant for field name for: actionName |
static String |
FIELD_CHANGE_LOG_CATEGORY
constant for field name for: changeLogCategory |
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
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_LABEL_STRING01
constant for field name for: labelString01 |
static String |
FIELD_LABEL_STRING02
constant for field name for: labelString02 |
static String |
FIELD_LABEL_STRING03
constant for field name for: labelString03 |
static String |
FIELD_LABEL_STRING04
constant for field name for: labelString04 |
static String |
FIELD_LABEL_STRING05
constant for field name for: labelString05 |
static String |
FIELD_LABEL_STRING06
constant for field name for: labelString06 |
static String |
FIELD_LABEL_STRING07
constant for field name for: labelString07 |
static String |
FIELD_LABEL_STRING08
constant for field name for: labelString08 |
static String |
FIELD_LABEL_STRING09
constant for field name for: labelString09 |
static String |
FIELD_LABEL_STRING10
constant for field name for: labelString10 |
static String |
FIELD_LABEL_STRING11
constant for field name for: labelString11 |
static String |
FIELD_LABEL_STRING12
constant for field name for: labelString12 |
static String |
FIELD_LAST_UPDATED_DB
constant for field name for: lastUpdatedDb |
static String |
TABLE_GROUPER_CHANGE_LOG_TYPE
name of the grouper changeLog type table in the db |
Fields inherited from class edu.internet2.middleware.grouper.GrouperAPI |
---|
FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER |
Fields inherited from interface org.hibernate.classic.Lifecycle |
---|
NO_VETO, VETO |
Constructor Summary | |
---|---|
ChangeLogType()
empty constructor |
|
ChangeLogType(String changeLogCategory1,
String actionName1,
ChangeLogLabel... enumStrings)
construct with more params |
|
ChangeLogType(String changeLogCategory1,
String actionName1,
String... labelStrings)
construct with more params |
Method Summary | |
---|---|
GrouperAPI |
clone()
deep clone the fields in this object |
void |
copyArgFieldIntoThis(ChangeLogType changeLogType)
copy the argument into this |
boolean |
equals(Object obj)
|
boolean |
equalsCategoryAndAction(ChangeLogTypeIdentifier changeLogTypeIdentifier)
see if this identifier matches the change log type by category and action |
boolean |
equalsDeep(ChangeLogType changeLogType)
see if one changeLog type is the same as another (not looking at last update, id, etc) |
String |
getActionName()
action within the changeLog category |
String |
getChangeLogCategory()
category of changeLog |
String |
getContextId()
context id ties multiple db changes |
Timestamp |
getCreatedOn()
when created |
Long |
getCreatedOnDb()
when created |
String |
getId()
uuid of row |
String |
getLabelString01()
label for string01 |
String |
getLabelString02()
label for string02 |
String |
getLabelString03()
label for string03 |
String |
getLabelString04()
label for string04 |
String |
getLabelString05()
label for string05 |
String |
getLabelString06()
label for the string06 field |
String |
getLabelString07()
label for the string07 field |
String |
getLabelString08()
label for the string08 field |
String |
getLabelString09()
label string 9 |
String |
getLabelString10()
label string 10 |
String |
getLabelString11()
label string 11 |
String |
getLabelString12()
label string 12 |
Timestamp |
getLastUpdated()
when last updated |
Long |
getLastUpdatedDb()
when last updated |
int |
hashCode()
|
Set<String> |
labels()
labels for this type |
void |
onPreSave(HibernateSession hibernateSession)
before a save (insert) occurs |
void |
onPreUpdate(HibernateSession hibernateSession)
before an update occurs |
String |
retrieveChangeLogEntryFieldForLabel(String label)
get the field in changeLog entry for this label |
void |
setActionName(String actionName)
action within the changeLog category |
void |
setChangeLogCategory(String changeLogCategory1)
category of changeLog |
void |
setContextId(String contextId1)
context id ties multiple db changes |
void |
setCreatedOn(Timestamp createdOn1)
when created |
void |
setCreatedOnDb(Long createdOn1)
when created |
void |
setId(String id1)
uuid of row |
void |
setLabelString01(String labelString01a)
label for string01 |
void |
setLabelString02(String labelString02a)
label for string02 |
void |
setLabelString03(String labelString03a)
label for string03 |
void |
setLabelString04(String labelString04a)
label for string04 |
void |
setLabelString05(String labelString05a)
label for string05 |
void |
setLabelString06(String labelString06a)
label for the string06 field |
void |
setLabelString07(String labelString07a)
label for the string07 field |
void |
setLabelString08(String labelString08a)
label for the string08 field |
void |
setLabelString09(String _labelString09)
label string 9 |
void |
setLabelString10(String _labelString10)
label string 10 |
void |
setLabelString11(String _labelString11)
label string 11 |
void |
setLabelString12(String _labelString12)
label string 12 |
void |
setLastUpdated(Timestamp lastUpdated1)
when last updated |
void |
setLastUpdatedDb(Long lastUpdated1)
when last updated |
String |
toString()
|
String |
toStringDeep()
the string repre |
void |
truncate()
make sure this object will fit in the DB |
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI |
---|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onSave, onUpdate, setHibernateVersionNumber |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String COLUMN_ID
public static final String COLUMN_ACTION_NAME
public static final String COLUMN_CHANGE_LOG_CATEGORY
public static final String COLUMN_CONTEXT_ID
public static final String COLUMN_CREATED_ON
public static final String COLUMN_LABEL_STRING01
public static final String COLUMN_LABEL_STRING02
public static final String COLUMN_LABEL_STRING03
public static final String COLUMN_LABEL_STRING04
public static final String COLUMN_LABEL_STRING05
public static final String COLUMN_LABEL_STRING06
public static final String COLUMN_LABEL_STRING07
public static final String COLUMN_LABEL_STRING08
public static final String COLUMN_LABEL_STRING09
public static final String COLUMN_LABEL_STRING10
public static final String COLUMN_LABEL_STRING11
public static final String COLUMN_LABEL_STRING12
public static final String COLUMN_LAST_UPDATED
public static final String COLUMN_HIBERNATE_VERSION_NUMBER
public static final String FIELD_ACTION_NAME
public static final String FIELD_CHANGE_LOG_CATEGORY
public static final String FIELD_CONTEXT_ID
public static final String FIELD_CREATED_ON_DB
public static final String FIELD_ID
public static final String FIELD_LABEL_STRING01
public static final String FIELD_LABEL_STRING02
public static final String FIELD_LABEL_STRING03
public static final String FIELD_LABEL_STRING04
public static final String FIELD_LABEL_STRING05
public static final String FIELD_LABEL_STRING06
public static final String FIELD_LABEL_STRING07
public static final String FIELD_LABEL_STRING08
public static final String FIELD_LABEL_STRING09
public static final String FIELD_LABEL_STRING10
public static final String FIELD_LABEL_STRING11
public static final String FIELD_LABEL_STRING12
public static final String FIELD_LAST_UPDATED_DB
public static final String TABLE_GROUPER_CHANGE_LOG_TYPE
Constructor Detail |
---|
public ChangeLogType()
public ChangeLogType(String changeLogCategory1, String actionName1, ChangeLogLabel... enumStrings)
changeLogCategory1
- actionName1
- enumStrings
- up to 8 label stringspublic ChangeLogType(String changeLogCategory1, String actionName1, String... labelStrings)
changeLogCategory1
- actionName1
- labelStrings
- up to 8 label stringsMethod Detail |
---|
public boolean equalsDeep(ChangeLogType changeLogType)
changeLogType
-
public Set<String> labels()
public String retrieveChangeLogEntryFieldForLabel(String label)
label
-
public void copyArgFieldIntoThis(ChangeLogType changeLogType)
changeLogType
- public String toStringDeep()
public String toString()
toString
in class Object
Object.toString()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getId()
public void setId(String id1)
id1
- public String getChangeLogCategory()
public void setChangeLogCategory(String changeLogCategory1)
changeLogCategory1
- public String getActionName()
public void setActionName(String actionName)
actionName
- 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)
HibGrouperLifecycle
onPreSave
in interface HibGrouperLifecycle
onPreSave
in class GrouperAPI
GrouperAPI.onPreSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPreUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreUpdate
in interface HibGrouperLifecycle
onPreUpdate
in class GrouperAPI
GrouperAPI.onPreUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public String getLabelString01()
public void setLabelString01(String labelString01a)
labelString01a
- public String getLabelString02()
public void setLabelString02(String labelString02a)
labelString02a
- public String getLabelString03()
public void setLabelString03(String labelString03a)
labelString03a
- public String getLabelString04()
public void setLabelString04(String labelString04a)
labelString04a
- public String getLabelString05()
public void setLabelString05(String labelString05a)
labelString05a
- public String getContextId()
public void setContextId(String contextId1)
contextId1
- public void truncate()
public String getLabelString06()
public void setLabelString06(String labelString06a)
labelString06a
- public String getLabelString07()
public void setLabelString07(String labelString07a)
labelString07a
- public String getLabelString08()
public void setLabelString08(String labelString08a)
labelString08a
- public GrouperAPI clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
GrouperAPI.clone()
public String getLabelString09()
public void setLabelString09(String _labelString09)
_labelString09
- public String getLabelString10()
public void setLabelString10(String _labelString10)
_labelString10
- public String getLabelString11()
public void setLabelString11(String _labelString11)
_labelString11
- public String getLabelString12()
public void setLabelString12(String _labelString12)
_labelString12
- public boolean equalsCategoryAndAction(ChangeLogTypeIdentifier changeLogTypeIdentifier)
changeLogTypeIdentifier
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |