com.wm.app.tn.delivery
Class DeliveryQueue

java.lang.Object
  extended by com.wm.app.tn.delivery.DeliveryQueue
All Implemented Interfaces:
com.wm.util.coder.IDataCodable

public class DeliveryQueue
extends java.lang.Object
implements com.wm.util.coder.IDataCodable

A virtual queue for document delivery. This class stores state information about a queue. It does not execute any queuing operations. That is handled by the database.


Field Summary
static java.lang.String STATE_DISABLED
           
static java.lang.String STATE_DRAINING
           
static java.lang.String STATE_ENABLED
           
static java.lang.String STATE_SUSPENDED
           
static java.lang.String TYPE_PRIVATE
           
static java.lang.String TYPE_PUBLIC
           
 
Constructor Summary
DeliveryQueue()
           
DeliveryQueue(java.lang.String type)
           
 
Method Summary
 com.wm.data.IData getIData()
           
 java.lang.String getPartnerDisplayName()
           
 java.lang.String getQueueName()
           
 java.lang.String getQueueType()
           
 DeliverySchedule getSchedule()
           
 java.lang.String getState()
           
 boolean isDisabled()
           
 boolean isDraining()
           
 boolean isEnabled()
           
 boolean isSuspended()
           
 void setIData(com.wm.data.IData d)
           
 void setPartnerDisplayName(java.lang.String name)
           
 void setQueueName(java.lang.String name)
           
 void setQueueType(java.lang.String type)
           
 void setSchedule(DeliverySchedule schedule)
           
 void setState(java.lang.String state)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_PUBLIC

public static final java.lang.String TYPE_PUBLIC
See Also:
Constant Field Values

TYPE_PRIVATE

public static final java.lang.String TYPE_PRIVATE
See Also:
Constant Field Values

STATE_ENABLED

public static final java.lang.String STATE_ENABLED
See Also:
Constant Field Values

STATE_SUSPENDED

public static final java.lang.String STATE_SUSPENDED
See Also:
Constant Field Values

STATE_DRAINING

public static final java.lang.String STATE_DRAINING
See Also:
Constant Field Values

STATE_DISABLED

public static final java.lang.String STATE_DISABLED
See Also:
Constant Field Values
Constructor Detail

DeliveryQueue

public DeliveryQueue()

DeliveryQueue

public DeliveryQueue(java.lang.String type)
Method Detail

getQueueName

public java.lang.String getQueueName()

getQueueType

public java.lang.String getQueueType()

getState

public java.lang.String getState()

getSchedule

public DeliverySchedule getSchedule()

getPartnerDisplayName

public java.lang.String getPartnerDisplayName()

isEnabled

public boolean isEnabled()

isSuspended

public boolean isSuspended()

isDraining

public boolean isDraining()

isDisabled

public boolean isDisabled()

setQueueName

public void setQueueName(java.lang.String name)

setQueueType

public void setQueueType(java.lang.String type)

setState

public void setState(java.lang.String state)

setSchedule

public void setSchedule(DeliverySchedule schedule)

setPartnerDisplayName

public void setPartnerDisplayName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a String representation of the external ID

getIData

public com.wm.data.IData getIData()
Specified by:
getIData in interface com.wm.util.coder.IDataCodable

setIData

public void setIData(com.wm.data.IData d)
Specified by:
setIData in interface com.wm.util.coder.IDataCodable