|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.app.loader.db.Hib3GrouperLoaderLog
public class Hib3GrouperLoaderLog
maps to the grouper ddl table
Field Summary | |
---|---|
static java.lang.String |
COLUMN_CONTEXT_ID
|
static java.lang.String |
TABLE_GROUPER_LOADER_LOG
|
Constructor Summary | |
---|---|
Hib3GrouperLoaderLog()
default constructor |
Method Summary | |
---|---|
void |
addDeleteCount(java.lang.Integer add)
add to deleteCount |
void |
addInsertCount(java.lang.Integer add)
add to insertCount |
void |
addTotalCount(java.lang.Integer add)
add to totalCount |
void |
addUnresolvableSubjectCount(int add)
add to unresolvable subjectCount |
void |
addUpdateCount(java.lang.Integer add)
add to updateCount |
void |
appendJobMessage(java.lang.String messageFragment)
could be an error or success message. |
java.lang.String |
getAndGroupNames()
if this is anded with other groups, these are the names |
java.lang.Integer |
getDeleteCount()
number of records deleted |
java.sql.Timestamp |
getEndedTime()
when the job ended (if it is SUCCESS or ERROR) |
java.lang.String |
getGroupNameFromJobName()
get group name from job name |
java.lang.String |
getGroupUuid()
if this is a group related job, then this is the group uuid |
java.lang.String |
getHost()
host that the loader is running on |
java.lang.String |
getId()
uuid for the row so hib knows insert vs update |
java.lang.Integer |
getInsertCount()
number of records inserted |
java.lang.String |
getJobDescription()
job description (more info than fields in this class |
java.lang.String |
getJobMessage()
could be an error or success message. |
java.lang.String |
getJobName()
job that ran in loader, might have group name in it |
java.lang.Integer |
getJobScheduleIntervalSeconds()
if the schedule is periodic, then this is the seconds in between |
java.lang.Integer |
getJobSchedulePriority()
if the quartz threadpool is exhausted, and many jobs are up for scheduling, then the highest priority will win. |
java.lang.String |
getJobScheduleQuartzCron()
quartz cron setting string |
java.lang.String |
getJobScheduleType()
enum value from GrouperLoaderJobScheduleType |
java.lang.String |
getJobType()
enum value from GrouperLoaderJobType |
java.sql.Timestamp |
getLastUpdated()
when the record was last updated |
java.lang.Integer |
getMillis()
how long the job took |
java.lang.Integer |
getMillisGetData()
if this job gets and loads data, this is the get data part |
java.lang.Integer |
getMillisLoadData()
if this job gets and loads data, this is the load data part |
java.lang.String |
getParentJobId()
if this is a subjob of another job, then put the parent job id here |
java.lang.String |
getParentJobName()
if this is a subjob of another job, then put the parent job name here |
java.sql.Timestamp |
getStartedTime()
when the job started |
java.lang.String |
getStatus()
STARTED, SUCCESS, ERROR, WARNING, GrouerLoaderStatus |
java.lang.Integer |
getTotalCount()
number of records total (e.g. size of group) |
java.lang.Integer |
getUnresolvableSubjectCount()
number of subjects which arent resolvable via source |
java.lang.Integer |
getUpdateCount()
number of records updated |
void |
incrementUnresolvableSubjectCount()
increment number of subjects which arent resolvable via source |
void |
insertJobMessage(java.lang.String messageFragment)
could be an error or success message. |
void |
onPostDelete(HibernateSession hibernateSession)
after a delete occurs |
void |
onPostSave(HibernateSession hibernateSession)
after a save (insert) occurs |
void |
onPostUpdate(HibernateSession hibernateSession)
after an update occurs |
void |
onPreDelete(HibernateSession hibernateSession)
before a delete (insert) occurs |
void |
onPreSave(HibernateSession hibernateSession)
before a save (insert) occurs |
void |
onPreUpdate(HibernateSession hibernateSession)
before an update occurs |
void |
setAndGroupNames(java.lang.String andGroupNames1)
if this is anded with other groups, these are the names |
void |
setDeleteCount(java.lang.Integer deleteCount1)
number of records deleted |
void |
setEndedTime(java.sql.Timestamp endedTime1)
when the job ended (if it is SUCCESS or ERROR) |
void |
setGroupUuid(java.lang.String groupUuid1)
if this is a group related job, then this is the group uuid |
void |
setHost(java.lang.String host1)
host that the loader is running on |
void |
setId(java.lang.String id1)
uuid for the row so hib knows insert vs update |
void |
setInsertCount(java.lang.Integer insertCount1)
number of records inserted |
void |
setJobDescription(java.lang.String jobDescription1)
job description (more info than fields in this class |
void |
setJobMessage(java.lang.String jobMessage1)
could be an error or success message. |
void |
setJobName(java.lang.String jobName1)
job that ran in loader, might have group name in it |
void |
setJobScheduleIntervalSeconds(java.lang.Integer jobScheduleIntervalSeconds1)
if the schedule is periodic, then this is the seconds in between |
void |
setJobSchedulePriority(java.lang.Integer priority1)
if the quartz threadpool is exhausted, and many jobs are up for scheduling, then the highest priority will win. |
void |
setJobScheduleQuartzCron(java.lang.String jobScheduleQuartzCron1)
quartz cron setting string |
void |
setJobScheduleType(java.lang.String jobScheduleType1)
enum value from GrouperLoaderJobScheduleType |
void |
setJobType(java.lang.String jobType1)
enum value from GrouperLoaderJobType |
void |
setLastUpdated(java.sql.Timestamp lastUpdated1)
when the record was last updated |
void |
setMillis(java.lang.Integer millis1)
how long the job took |
void |
setMillisGetData(java.lang.Integer millisGetData1)
if this job gets and loads data, this is the get data part |
void |
setMillisLoadData(java.lang.Integer millisLoadData1)
if this job gets and loads data, this is the load data part |
void |
setParentJobId(java.lang.String parentJobId1)
if this is a subjob of another job, then put the parent job id here |
void |
setParentJobName(java.lang.String parentJobName1)
if this is a subjob of another job, then put the parent job name here |
void |
setStartedTime(java.sql.Timestamp startedTime1)
when the job started |
void |
setStatus(java.lang.String status1)
STARTED, SUCCESS, ERROR, WARNING, GrouerLoaderStatus |
void |
setTotalCount(java.lang.Integer totalCount1)
number of records total (e.g. size of group) |
void |
setUnresolvableSubjectCount(java.lang.Integer unresolvableSubjectCount1)
number of subjects which arent resolvable via source |
void |
setUpdateCount(java.lang.Integer updateCount1)
number of records updated |
void |
store()
truncate the fields if needed and store to db |
void |
truncate()
make sure this object will fit in the DB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TABLE_GROUPER_LOADER_LOG
public static final java.lang.String COLUMN_CONTEXT_ID
Constructor Detail |
---|
public Hib3GrouperLoaderLog()
Method Detail |
---|
public java.lang.String getAndGroupNames()
public void setAndGroupNames(java.lang.String andGroupNames1)
andGroupNames1
- the andGroupNames to setpublic void addTotalCount(java.lang.Integer add)
add
- public void addDeleteCount(java.lang.Integer add)
add
- public void addUpdateCount(java.lang.Integer add)
add
- public void addInsertCount(java.lang.Integer add)
add
- public void addUnresolvableSubjectCount(int add)
add
- public java.lang.String getParentJobName()
public void setParentJobName(java.lang.String parentJobName1)
parentJobName1
- the parentJobName to setpublic java.lang.String getParentJobId()
public void setParentJobId(java.lang.String parentJobId1)
parentJobId1
- the parentJobId to setpublic java.lang.Integer getTotalCount()
public void setTotalCount(java.lang.Integer totalCount1)
totalCount1
- the totalCount to setpublic java.lang.Integer getInsertCount()
public void setInsertCount(java.lang.Integer insertCount1)
insertCount1
- the insertCount to setpublic java.lang.Integer getUpdateCount()
public void setUpdateCount(java.lang.Integer updateCount1)
updateCount1
- the updateCount to setpublic java.lang.Integer getDeleteCount()
public void setDeleteCount(java.lang.Integer deleteCount1)
deleteCount1
- the deleteCount to setpublic java.lang.Integer getUnresolvableSubjectCount()
public void setUnresolvableSubjectCount(java.lang.Integer unresolvableSubjectCount1)
unresolvableSubjectCount1
- the unresolvableSubjectCount to setpublic void incrementUnresolvableSubjectCount()
public java.lang.String getId()
public void setId(java.lang.String id1)
id1
- the id to setpublic java.lang.String getJobName()
public void setJobName(java.lang.String jobName1)
jobName1
- the jobName to setpublic java.lang.String getStatus()
public void setStatus(java.lang.String status1)
status1
- the status to setpublic java.sql.Timestamp getStartedTime()
public void setStartedTime(java.sql.Timestamp startedTime1)
startedTime1
- the startedTime to setpublic java.sql.Timestamp getEndedTime()
public void setEndedTime(java.sql.Timestamp endedTime1)
endedTime1
- the endedTime to setpublic java.lang.Integer getMillis()
public void setMillis(java.lang.Integer millis1)
millis1
- the millis to setpublic java.lang.Integer getMillisGetData()
public void setMillisGetData(java.lang.Integer millisGetData1)
millisGetData1
- the millisGetData to setpublic java.lang.Integer getMillisLoadData()
public void setMillisLoadData(java.lang.Integer millisLoadData1)
millisLoadData1
- the millisLoadData to setpublic java.lang.String getJobType()
public void setJobType(java.lang.String jobType1)
jobType1
- the jobType to setpublic java.lang.String getJobScheduleType()
public void setJobScheduleType(java.lang.String jobScheduleType1)
jobScheduleType1
- the jobScheduleType to setpublic java.lang.String getJobDescription()
public void setJobDescription(java.lang.String jobDescription1)
jobDescription1
- the jobDescription to setpublic java.lang.String getJobMessage()
public void appendJobMessage(java.lang.String messageFragment)
messageFragment
- public void insertJobMessage(java.lang.String messageFragment)
messageFragment
- public void setJobMessage(java.lang.String jobMessage1)
jobMessage1
- the jobMessage to setpublic java.lang.String getHost()
public void setHost(java.lang.String host1)
host1
- the host to setpublic java.lang.String getGroupNameFromJobName()
public java.lang.String getGroupUuid()
public void setGroupUuid(java.lang.String groupUuid1)
groupUuid1
- the groupUuid to setpublic java.lang.String getJobScheduleQuartzCron()
public void setJobScheduleQuartzCron(java.lang.String jobScheduleQuartzCron1)
jobScheduleQuartzCron1
- the jobScheduleQuartzCron to setpublic java.lang.Integer getJobScheduleIntervalSeconds()
public void setJobScheduleIntervalSeconds(java.lang.Integer jobScheduleIntervalSeconds1)
jobScheduleIntervalSeconds1
- the jobScheduleIntervalSeconds to setpublic java.lang.Integer getJobSchedulePriority()
public void setJobSchedulePriority(java.lang.Integer priority1)
priority1
- the priority to setpublic void truncate()
public void store()
public java.sql.Timestamp getLastUpdated()
public void setLastUpdated(java.sql.Timestamp lastUpdated1)
lastUpdated1
- the lastUpdated to setpublic void onPostDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostDelete
in interface HibGrouperLifecycle
HibGrouperLifecycle.onPostDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPostSave(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostSave
in interface HibGrouperLifecycle
HibGrouperLifecycle.onPostSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPostUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostUpdate
in interface HibGrouperLifecycle
HibGrouperLifecycle.onPostUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPreDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreDelete
in interface HibGrouperLifecycle
HibGrouperLifecycle.onPreDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPreSave(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreSave
in interface HibGrouperLifecycle
HibGrouperLifecycle.onPreSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPreUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreUpdate
in interface HibGrouperLifecycle
HibGrouperLifecycle.onPreUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |