Class NetChangeOutboundProcessingContext
java.lang.Object
com.onenetwork.platform.integ.msg.OutboundProcessingContext
com.onenetwork.platform.integ.msg.NetChangeOutboundProcessingContext
public class NetChangeOutboundProcessingContext extends OutboundProcessingContext
Processing context to generate outbound data based on a net change query.
-
Constructor Summary
Constructors Constructor Description NetChangeOutboundProcessingContext(java.lang.String outboundInterfaceName, java.lang.String OutboundInterfaceVersion, java.io.OutputStream outputStream, PlatformUserContext platformUserContext)
-
Method Summary
Modifier and Type Method Description java.sql.Timestamp
getEndDate()
java.lang.String
getNetChangeId()
java.lang.Long
getNetChangeThresholdInMillis()
java.sql.Timestamp
getStartDate()
void
setEndDate(java.sql.Timestamp endDate)
void
setNetChangeId(java.lang.String netChangeId)
void
setNetChangeThresholdInMillis(java.lang.Long netChangeThresholdInMillis)
void
setStartDate(java.sql.Timestamp startDate)
Methods inherited from class com.onenetwork.platform.integ.msg.OutboundProcessingContext
addMessageDetail, getMessageDetails, getOutboundInterfaceName, getOutboundInterfaceVersion, getOutputStream, getPlatformUserContext, getRequest, setRequest
-
Constructor Details
-
NetChangeOutboundProcessingContext
public NetChangeOutboundProcessingContext(java.lang.String outboundInterfaceName, java.lang.String OutboundInterfaceVersion, java.io.OutputStream outputStream, PlatformUserContext platformUserContext)- Parameters:
outboundInterfaceName
- outbound interface nameoutboundInterfaceVersion
- outbound interface version (can use null to indicate default version)outputStream
-OutputStream
into which the outbound message should be writtenplatformUserContext
- - VC level user or an user under a VC
-
-
Method Details
-
getNetChangeThresholdInMillis
public java.lang.Long getNetChangeThresholdInMillis()- Returns:
- an additional "buffer" before which should be applied before start date should be adjusted when querying. (See SDK User's Guide, Chapter 11, "Net Change Caveats" for details)
-
setNetChangeThresholdInMillis
public void setNetChangeThresholdInMillis(java.lang.Long netChangeThresholdInMillis)- Parameters:
netChangeThresholdInMillis
- an additional "buffer" before which should be applied before start date should be adjusted when querying. (See SDK User's Guide, Chapter 11, "Net Change Caveats" for details)
-
getStartDate
public java.sql.Timestamp getStartDate()- Returns:
- start date for the net change query ... netChangeThresholdInMillis will have *already* been applied to this
before this object is passed to a
NetChangeOutboundGenerator
-
setStartDate
public void setStartDate(java.sql.Timestamp startDate)- Parameters:
startDate
- start date for the net change query ... netChangeThresholdInMillis will have *already* been applied to this before this object is passed to aNetChangeOutboundGenerator
-
getEndDate
public java.sql.Timestamp getEndDate()- Returns:
- end date for the net change query
-
setEndDate
public void setEndDate(java.sql.Timestamp endDate)- Parameters:
endDate
- end date for the net change query
-
getNetChangeId
public java.lang.String getNetChangeId()- Returns:
- the netChangeId
-
setNetChangeId
public void setNetChangeId(java.lang.String netChangeId)- Parameters:
netChangeId
- the netChangeId to set
-