|
|||||||||
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.messaging.GrouperMessageHibernate
public class GrouperMessageHibernate
Field Summary | |
---|---|
static String |
COLUMN_ATTEMPT_TIME_EXPIRES_MILLIS
milliseconds since 1970 that the message was attempted to be received |
static String |
COLUMN_FROM_MEMBER_ID
member id of user who sent the message |
static String |
COLUMN_GET_ATTEMPT_COUNT
how many times this message has been attempted to be retrieved |
static String |
COLUMN_GET_ATTEMPT_TIME_MILLIS
milliseconds since 1970 that the message was attempted to be received |
static String |
COLUMN_GET_TIME_MILLIS
millis since 1970 that this message was successfully received |
static String |
COLUMN_HIBERNATE_VERSION_NUMBER
hibernate version |
static String |
COLUMN_ID
db uuid for this row |
static String |
COLUMN_MESSAGE_BODY
message body |
static String |
COLUMN_QUEUE_NAME
queue name for the message |
static String |
COLUMN_SENT_TIME_MICROS
microseconds since 1970 this message was sent (note this is probably unique, but not necessarily) |
static String |
COLUMN_STATE
state of this message: IN_QUEUE, GET_ATTEMPTED, PROCESSED |
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
static String |
FIELD_ID
constant for field name for: id |
static 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 |
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 |
String |
getContextId()
|
String |
getFromMemberId()
|
Integer |
getGetAttemptCount()
how many times this message has been attempted to be retrieved |
Long |
getGetAttemptTimeMillis()
milliseconds since 1970 that the message was attempted to be received |
Long |
getGetTimeMillis()
millis since 1970 that this message was successfully received |
String |
getId()
|
String |
getMessageBody()
body of message (e.g. |
String |
getQueueName()
queue name for the message |
String |
getQueueOrTopic()
|
Long |
getSentTimeMicros()
millis since 1970 that this message was sent |
String |
getState()
state of this message: IN_QUEUE, GET_ATTEMPTED, PROCESSED |
void |
saveOrUpdate()
save or update this object |
void |
setAttemptTimeExpiresMillis(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(String contextId1)
set context id |
void |
setFromMemberId(String fromMemberId1)
|
void |
setGetAttemptCount(Integer getAttemptCount1)
|
void |
setGetAttemptTimeMillis(Long getAttemptTimeMillis1)
milliseconds since 1970 that the message was attempted to be received |
void |
setGetTimeMillis(Long getTimeMillis1)
millis since 1970 that this message was successfully received |
void |
setId(String id1)
|
void |
setMessageBody(String messageBody1)
body of message (e.g. |
void |
setQueueName(String queueName1)
queue name for the message |
void |
setQueueOrTopic(String theQueueOrTopic1)
|
void |
setSentTimeMicros(Long sentTimeMicros1)
millis since 1970 that this message was sent |
void |
setState(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 String COLUMN_ID
public static final String COLUMN_HIBERNATE_VERSION_NUMBER
public static final String FIELD_CONTEXT_ID
public static final String FIELD_ID
public static final String COLUMN_SENT_TIME_MICROS
public static final String COLUMN_GET_ATTEMPT_TIME_MILLIS
public static final String COLUMN_ATTEMPT_TIME_EXPIRES_MILLIS
public static final String COLUMN_GET_ATTEMPT_COUNT
public static final String COLUMN_STATE
public static final String COLUMN_GET_TIME_MILLIS
public static final String COLUMN_FROM_MEMBER_ID
public static final String COLUMN_QUEUE_NAME
public static final String COLUMN_MESSAGE_BODY
public static final String TABLE_GROUPER_MESSAGE
Constructor Detail |
---|
public GrouperMessageHibernate()
Method Detail |
---|
public Long getAttemptTimeExpiresMillis()
public void setAttemptTimeExpiresMillis(Long attemptTimeExpiresMillis1)
attemptTimeExpiresMillis1
- the attemptTimeExpiresMillis to setpublic String getState()
public void setState(String state1)
state1
- the state to setpublic void setId(String id1)
setId
in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessage
id1
- the id to setpublic String getFromMemberId()
getFromMemberId
in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessage
GrouperMessage.getFromMemberId()
public String getId()
getId
in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessage
public String getMessageBody()
getMessageBody
in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessage
public void setFromMemberId(String fromMemberId1)
setFromMemberId
in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessage
GrouperMessage.setFromMemberId(java.lang.String)
public void setMessageBody(String messageBody1)
setMessageBody
in interface edu.internet2.middleware.grouperClient.messaging.GrouperMessage
messageBody1
- the messageBody to setpublic Long getSentTimeMicros()
public void setSentTimeMicros(Long sentTimeMicros1)
sentTimeMicros1
- the sentTimeMicros to setpublic String getQueueName()
public void setQueueName(String queueName1)
queueName1
- the queueName to setpublic Long getGetTimeMillis()
public void setGetTimeMillis(Long getTimeMillis1)
getTimeMillis1
- the getTimeMillis to setpublic Long getGetAttemptTimeMillis()
public void setGetAttemptTimeMillis(Long getAttemptTimeMillis1)
getAttemptTimeMillis1
- the getAttemptTimeMillis to setpublic Integer getGetAttemptCount()
public void setGetAttemptCount(Integer getAttemptCount1)
getAttemptCount1
- the getAttemptCount to setpublic GrouperAPI clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
GrouperAPI.clone()
public String getContextId()
public void setContextId(String contextId1)
contextId1
- public void saveOrUpdate()
public void delete()
public String getQueueOrTopic()
public void setQueueOrTopic(String theQueueOrTopic1)
theQueueOrTopic1
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |