|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.push.request.PushRequestDetail
public class PushRequestDetail
Value object that represents a push request detail object.
A push request detail object models the attributes that define a specific address of a push message. For a given push message, one push request detail object is created for each address in the original push request.
| Constructor Summary | |
|---|---|
PushRequestDetail()
Default constructor for creating a push request detail object. |
|
PushRequestDetail(PushRequestDetail detail)
Copy constructor. |
|
| Method Summary | |
|---|---|
String |
getAddress()
Gets the address associated with the push request detail. |
Date |
getCompletedDate()
Gets the date when the push request detail reaches a final state (the acknowledgement's event time). |
Date |
getCreatedDate()
Gets the date when the push request detail was created. |
String |
getId()
Gets the id of the push associated with the push request detail. |
MessageState |
getMessageState()
Gets the current state of the push request detail. |
Date |
getModifiedDate()
Gets the date when the push request detail was last modified. |
String |
getSenderAddress()
Gets the address of the PPG that processed the push associated with the push request detail. |
String |
getSenderName()
Gets the textual name of the PPG that processed the push associated with the push request detail. |
StatusCode |
getStatusCode()
Gets the status code of the push request detail. |
String |
getStatusDesc()
Gets a description of the status code associated with the push request detail. |
String |
getSubscriberId()
Gets the subscriber id associated with the push request detail's address at the time of the push. |
SubscriberType |
getSubscriberType()
Gets the type of the subscriber. |
void |
setAddress(String address)
Sets the address associated with the push request detail. |
void |
setCompletedDate(Date completedDate)
Sets the date when the push request detail reaches a final state (the acknowledgement's event time). |
void |
setCreatedDate(Date createdDate)
Sets the date when the push request detail was created. |
void |
setId(String id)
Sets the id of the push associated with the push request detail. |
void |
setMessageState(MessageState messageState)
Sets the current state of the push request detail. |
void |
setModifiedDate(Date modifiedDate)
Sets the date when the push request detail was last modified. |
void |
setSenderAddress(String senderAddress)
Sets the address of the PPG that processed the push associated with the push request detail. |
void |
setSenderName(String senderName)
Sets the textual name of the PPG that processed the push associated with the push request detail. |
void |
setStatusCode(StatusCode statusCode)
Sets the status code of the push request detail. |
void |
setStatusDesc(String statusDesc)
Sets the description of the status code associated with the push request detail. |
void |
setSubscriberId(String subscriberId)
Sets the subscriber id associated with the push request detail's address at the time of the push. |
void |
setSubscriberType(SubscriberType subscriberType)
Sets the type of the subscriber. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PushRequestDetail(PushRequestDetail detail)
detail - the push request detail to be copiedpublic PushRequestDetail()
| Method Detail |
|---|
public String getId()
public void setId(String id)
id - the push idpublic MessageState getMessageState()
public void setMessageState(MessageState messageState)
messageState - the current statepublic String getAddress()
public void setAddress(String address)
address - the addresspublic String getSubscriberId()
public void setSubscriberId(String subscriberId)
subscriberId - the subscriber id associated with the address at the time of the push; null, if subscription is being bypassedpublic StatusCode getStatusCode()
public void setStatusCode(StatusCode statusCode)
statusCode - the push request detail's status codepublic String getStatusDesc()
public void setStatusDesc(String statusDesc)
statusDesc - the description of the status codepublic String getSenderName()
public void setSenderName(String senderName)
senderName - the name of the PPGpublic String getSenderAddress()
public void setSenderAddress(String senderAddress)
senderAddress - the address of the PPGpublic Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate - the push request detail's created datepublic Date getCompletedDate()
public void setCompletedDate(Date completedDate)
completedDate - the push request detail's completed datepublic Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
modifiedDate - the push request detail's last modified datepublic SubscriberType getSubscriberType()
SubscriberTypepublic void setSubscriberType(SubscriberType subscriberType)
subscriberType - the subscriber type to setSubscriberTypepublic String toString()
String with all attributes in name = value format.
toString in class ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||