com.retek.component.message.impl
Class MessageImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.message.impl.MessageImpl
All Implemented Interfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, Message

public class MessageImpl
extends DistributedObjectImpl
implements Message


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.message.Message
BANNER, CHANNEL_TYPE, DESCRIPTION, END_DATE, PROMPT, PROMPT_CONDITION, START_DATE, TEXT, TYPE
 
Constructor Summary
MessageImpl(DistributedContext context, DistributedReference reference)
           
MessageImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
Method Summary
 void addPromptCondition(Triggerable promptCondition)
           
 void clearPromptConditions()
           
 Banner getBanner()
           
 ChannelType getChannelType()
           
 java.lang.String getDescription()
           
 MessageDto getDto()
           
 RDate getEndDate()
           
 Prompt getPrompt()
           
 java.util.Set getPromptConditions()
           
 RDate getStartDate()
           
 java.lang.String getText()
           
 MessageType getType()
           
protected  Dto readLatest()
           
 void setBanner(Banner banner)
           
 void setChannelType(ChannelType channelType)
           
 void setDescription(java.lang.String description)
           
 void setEndDate(RDate endDate)
           
 void setPrompt(Prompt prompt)
           
 void setStartDate(RDate startDate)
           
 void setText(java.lang.String text)
           
 void setType(MessageType type)
           
 void submit()
           
 java.lang.String toDisplayString()
           
 void validateEndDate()
           
 void validateStartDate()
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

MessageImpl

public MessageImpl(DistributedContext context,
                   DistributedReference reference,
                   boolean createHollow)
            throws SystemException

MessageImpl

public MessageImpl(DistributedContext context,
                   DistributedReference reference)
            throws SystemException
Method Detail

getDto

public MessageDto getDto()
                  throws SystemException
Throws:
SystemException

setDescription

public void setDescription(java.lang.String description)
                    throws SystemException
Specified by:
setDescription in interface Message
Throws:
SystemException

setStartDate

public void setStartDate(RDate startDate)
                  throws SystemException
Specified by:
setStartDate in interface Message
Throws:
SystemException

setEndDate

public void setEndDate(RDate endDate)
                throws SystemException
Specified by:
setEndDate in interface Message
Throws:
SystemException

addPromptCondition

public void addPromptCondition(Triggerable promptCondition)
                        throws SystemException
Specified by:
addPromptCondition in interface Message
Throws:
SystemException

clearPromptConditions

public void clearPromptConditions()
                           throws SystemException
Specified by:
clearPromptConditions in interface Message
Throws:
SystemException

setPrompt

public void setPrompt(Prompt prompt)
               throws SystemException
Specified by:
setPrompt in interface Message
Throws:
SystemException

setBanner

public void setBanner(Banner banner)
               throws SystemException
Specified by:
setBanner in interface Message
Throws:
SystemException

setChannelType

public void setChannelType(ChannelType channelType)
                    throws SystemException
Specified by:
setChannelType in interface Message
Throws:
SystemException

setType

public void setType(MessageType type)
             throws SystemException
Specified by:
setType in interface Message
Throws:
SystemException

setText

public void setText(java.lang.String text)
             throws SystemException
Specified by:
setText in interface Message
Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Specified by:
getDescription in interface Message
Throws:
SystemException

getStartDate

public RDate getStartDate()
                   throws SystemException
Specified by:
getStartDate in interface Message
Throws:
SystemException

getEndDate

public RDate getEndDate()
                 throws SystemException
Specified by:
getEndDate in interface Message
Throws:
SystemException

getBanner

public Banner getBanner()
                 throws SystemException
Specified by:
getBanner in interface Message
Throws:
SystemException

getChannelType

public ChannelType getChannelType()
                           throws SystemException
Specified by:
getChannelType in interface Message
Throws:
SystemException

getType

public MessageType getType()
                    throws SystemException
Specified by:
getType in interface Message
Throws:
SystemException

getText

public java.lang.String getText()
                         throws SystemException
Specified by:
getText in interface Message
Throws:
SystemException

getPrompt

public Prompt getPrompt()
                 throws SystemException
Specified by:
getPrompt in interface Message
Throws:
SystemException

getPromptConditions

public java.util.Set getPromptConditions()
                                  throws SystemException
Specified by:
getPromptConditions in interface Message
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   MessageBusinessException
Specified by:
submit in interface Message
Throws:
SystemException
MessageBusinessException

validateEndDate

public void validateEndDate()
                     throws SystemException,
                            MessageBusinessException
Specified by:
validateEndDate in interface Message
Throws:
SystemException
MessageBusinessException

validateStartDate

public void validateStartDate()
                       throws SystemException,
                              MessageBusinessException
Specified by:
validateStartDate in interface Message
Throws:
SystemException
MessageBusinessException

toDisplayString

public java.lang.String toDisplayString()
Specified by:
toDisplayString in interface com.retek.swing11.commons.type.Displayable

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28