org.kuali.rice.ksb.messaging
Class PersistedMessageBO

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.PersistedMessageBO
All Implemented Interfaces:
Serializable, PersistedMessage

@Entity
public class PersistedMessageBO
extends Object
implements PersistedMessage

A message which has been persisted to the data store.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
PersistedMessageBO()
           
 
Method Summary
 void beforeInsert()
           
static PersistedMessageBO buildMessage(ServiceConfiguration serviceConfiguration, AsynchronousCall methodCall)
           
 String getApplicationId()
           
 Timestamp getExpirationDate()
           
 String getIpNumber()
           
 Integer getLockVerNbr()
           
 AsynchronousCall getMethodCall()
           
 String getMethodName()
           
 PersistedMessagePayload getPayload()
           
 Timestamp getQueueDate()
           
 Integer getQueuePriority()
           
 String getQueueStatus()
           
 Integer getRetryCount()
           
 Long getRouteQueueId()
           
 String getServiceName()
           
 String getValue1()
           
 String getValue2()
           
 void setApplicationId(String applicationId)
           
 void setExpirationDate(Timestamp expirationDate)
           
 void setIpNumber(String ipNumber)
           
 void setLockVerNbr(Integer lockVerNbr)
           
 void setMethodCall(AsynchronousCall methodCall)
           
 void setMethodName(String methodName)
           
 void setPayload(PersistedMessagePayload payload)
           
 void setQueueDate(Timestamp timestamp)
           
 void setQueuePriority(Integer integer)
           
 void setQueueStatus(String string)
           
 void setRetryCount(Integer integer)
           
 void setRouteQueueId(Long queueSequence)
           
 void setServiceName(String serviceName)
           
 void setValue1(String value1)
           
 void setValue2(String value2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistedMessageBO

public PersistedMessageBO()
Method Detail

buildMessage

public static PersistedMessageBO buildMessage(ServiceConfiguration serviceConfiguration,
                                              AsynchronousCall methodCall)

beforeInsert

public void beforeInsert()

getApplicationId

public String getApplicationId()
Specified by:
getApplicationId in interface PersistedMessage

setApplicationId

public void setApplicationId(String applicationId)

getIpNumber

public String getIpNumber()
Specified by:
getIpNumber in interface PersistedMessage

setIpNumber

public void setIpNumber(String ipNumber)

getQueueDate

public Timestamp getQueueDate()
Specified by:
getQueueDate in interface PersistedMessage

getQueuePriority

public Integer getQueuePriority()
Specified by:
getQueuePriority in interface PersistedMessage

getQueueStatus

public String getQueueStatus()
Specified by:
getQueueStatus in interface PersistedMessage

getRetryCount

public Integer getRetryCount()
Specified by:
getRetryCount in interface PersistedMessage

setQueueDate

public void setQueueDate(Timestamp timestamp)

setQueuePriority

public void setQueuePriority(Integer integer)

setQueueStatus

public void setQueueStatus(String string)

setRetryCount

public void setRetryCount(Integer integer)

getLockVerNbr

public Integer getLockVerNbr()

setLockVerNbr

public void setLockVerNbr(Integer lockVerNbr)

getRouteQueueId

public Long getRouteQueueId()
Specified by:
getRouteQueueId in interface PersistedMessage

setRouteQueueId

public void setRouteQueueId(Long queueSequence)

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface PersistedMessage

setServiceName

public void setServiceName(String serviceName)

toString

public String toString()
Overrides:
toString in class Object

getMethodCall

public AsynchronousCall getMethodCall()
Specified by:
getMethodCall in interface PersistedMessage

setMethodCall

public void setMethodCall(AsynchronousCall methodCall)

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface PersistedMessage

setMethodName

public void setMethodName(String methodName)

getExpirationDate

public Timestamp getExpirationDate()
Specified by:
getExpirationDate in interface PersistedMessage

setExpirationDate

public void setExpirationDate(Timestamp expirationDate)

getPayload

public PersistedMessagePayload getPayload()
Specified by:
getPayload in interface PersistedMessage

setPayload

public void setPayload(PersistedMessagePayload payload)

getValue1

public String getValue1()
Specified by:
getValue1 in interface PersistedMessage

setValue1

public void setValue1(String value1)

getValue2

public String getValue2()
Specified by:
getValue2 in interface PersistedMessage

setValue2

public void setValue2(String value2)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.