|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.messaging.GrouperMessageHibernate
public class GrouperMessageHibernate
| Field Summary | |
|---|---|
static java.lang.String |
COLUMN_ATTEMPT_TIME_EXPIRES_MILLIS
milliseconds since 1970 that the message was attempted to be received |
static java.lang.String |
COLUMN_FROM_MEMBER_ID
member id of user who sent the message |
static java.lang.String |
COLUMN_GET_ATTEMPT_COUNT
how many times this message has been attempted to be retrieved |
static java.lang.String |
COLUMN_GET_ATTEMPT_TIME_MILLIS
milliseconds since 1970 that the message was attempted to be received |
static java.lang.String |
COLUMN_GET_TIME_MILLIS
millis since 1970 that this message was successfully received |
static java.lang.String |
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version |
static java.lang.String |
COLUMN_ID
db uuid for this row |
static java.lang.String |
COLUMN_MESSAGE_BODY
message body |
static java.lang.String |
COLUMN_QUEUE_NAME
queue name for the message |
static java.lang.String |
COLUMN_SENT_TIME_MICROS
microseconds since 1970 this message was sent (note this is probably unique, but not necessarily) |
static java.lang.String |
COLUMN_STATE
state of this message: IN_QUEUE, GET_ATTEMPTED, PROCESSED |
static java.lang.String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
static java.lang.String |
FIELD_ID
constant for field name for: id |
static java.lang.String |
TABLE_GROUPER_MESSAGE
name of the table in the database. |
| 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 | |
|---|---|
GrouperMessageHibernate()
|
|
| Method Summary | |
|---|---|
GrouperAPI |
clone()
deep clone the fields in this object |
void |
delete()
delete this object |
java.lang.Long |
getAttemptTimeExpiresMillis()
millis since 1970 that this message attempt expires if not sent successfully note this will be reset to null when message sent successfully |
java.lang.String |
getContextId()
|
java.lang.String |
getFromMemberId()
|
java.lang.Integer |
getGetAttemptCount()
how many times this message has been attempted to be retrieved |
java.lang.Long |
getGetAttemptTimeMillis()
milliseconds since 1970 that the message was attempted to be received |
java.lang.Long |
getGetTimeMillis()
millis since 1970 that this message was successfully received |
java.lang.String |
getId()
|
java.lang.String |
getMessageBody()
body of message (e.g. the json or encrypted message) |
java.lang.String |
getQueueName()
queue name for the message |
java.lang.String |
getQueueOrTopic()
|
java.lang.Long |
getSentTimeMicros()
millis since 1970 that this message was sent |
java.lang.String |
getState()
state of this message: IN_QUEUE, GET_ATTEMPTED, PROCESSED |
void |
saveOrUpdate()
save or update this object |
void |
setAttemptTimeExpiresMillis(java.lang.Long attemptTimeExpiresMillis1)
millis since 1970 that this message attempt expires if not sent successfully note this will be reset to null when message sent successfully |
void |
setContextId(java.lang.String contextId1)
set context id |
void |
setFromMemberId(java.lang.String fromMemberId1)
|
void |
setGetAttemptCount(java.lang.Integer getAttemptCount1)
|
void |
setGetAttemptTimeMillis(java.lang.Long getAttemptTimeMillis1)
milliseconds since 1970 that the message was attempted to be received |
void |
setGetTimeMillis(java.lang.Long getTimeMillis1)
millis since 1970 that this message was successfully received |
void |
setId(java.lang.String id1)
|
void |
setMessageBody(java.lang.String messageBody1)
body of message (e.g. the json or encrypted message) |
void |
setQueueName(java.lang.String queueName1)
queue name for the message |
void |
setQueueOrTopic(java.lang.String theQueueOrTopic1)
|
void |
setSentTimeMicros(java.lang.Long sentTimeMicros1)
millis since 1970 that this message was sent |
void |
setState(java.lang.String state1)
state of this message: IN_QUEUE, GET_ATTEMPTED, PROCESSED |
| Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI |
|---|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COLUMN_ID
public static final java.lang.String COLUMN_HIBERNATE_VERSION_NUMBER
public static final java.lang.String FIELD_CONTEXT_ID
public static final java.lang.String FIELD_ID
public static final java.lang.String COLUMN_SENT_TIME_MICROS
public static final java.lang.String COLUMN_GET_ATTEMPT_TIME_MILLIS
public static final java.lang.String COLUMN_ATTEMPT_TIME_EXPIRES_MILLIS
public static final java.lang.String COLUMN_GET_ATTEMPT_COUNT
public static final java.lang.String COLUMN_STATE
public static final java.lang.String COLUMN_GET_TIME_MILLIS
public static final java.lang.String COLUMN_FROM_MEMBER_ID
public static final java.lang.String COLUMN_QUEUE_NAME
public static final java.lang.String COLUMN_MESSAGE_BODY
public static final java.lang.String TABLE_GROUPER_MESSAGE
| Constructor Detail |
|---|
public GrouperMessageHibernate()
| Method Detail |
|---|
public java.lang.Long getAttemptTimeExpiresMillis()
public void setAttemptTimeExpiresMillis(java.lang.Long attemptTimeExpiresMillis1)
attemptTimeExpiresMillis1 - the attemptTimeExpiresMillis to setpublic java.lang.String getState()
public void setState(java.lang.String state1)
state1 - the state to setpublic void setId(java.lang.String id1)
setId in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessageid1 - the id to setpublic java.lang.String getFromMemberId()
getFromMemberId in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessageGrouperMessage.getFromMemberId()public java.lang.String getId()
getId in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessagepublic java.lang.String getMessageBody()
getMessageBody in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessagepublic void setFromMemberId(java.lang.String fromMemberId1)
setFromMemberId in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessageGrouperMessage.setFromMemberId(java.lang.String)public void setMessageBody(java.lang.String messageBody1)
setMessageBody in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessagemessageBody1 - the messageBody to setpublic java.lang.Long getSentTimeMicros()
public void setSentTimeMicros(java.lang.Long sentTimeMicros1)
sentTimeMicros1 - the sentTimeMicros to setpublic java.lang.String getQueueName()
public void setQueueName(java.lang.String queueName1)
queueName1 - the queueName to setpublic java.lang.Long getGetTimeMillis()
public void setGetTimeMillis(java.lang.Long getTimeMillis1)
getTimeMillis1 - the getTimeMillis to setpublic java.lang.Long getGetAttemptTimeMillis()
public void setGetAttemptTimeMillis(java.lang.Long getAttemptTimeMillis1)
getAttemptTimeMillis1 - the getAttemptTimeMillis to setpublic java.lang.Integer getGetAttemptCount()
public void setGetAttemptCount(java.lang.Integer getAttemptCount1)
getAttemptCount1 - the getAttemptCount to setpublic GrouperAPI clone()
GrouperAPI
clone in interface GrouperCloneableclone in class GrouperAPIGrouperAPI.clone()public java.lang.String getContextId()
public void setContextId(java.lang.String contextId1)
contextId1 - public void saveOrUpdate()
public void delete()
public java.lang.String getQueueOrTopic()
public void setQueueOrTopic(java.lang.String theQueueOrTopic1)
theQueueOrTopic1 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||