AnnouncementActionState is the state object for the AnnouncementAction tool. This object listens for changes on the announcement, and requests a UI delivery when changes occur.
Set the attachProperties
Parameters: key - The key for map class, which is the absolute local path of file Parameters: properties - The Vector which stores the attachment properties: title, description, and copyright in order
setAttachments
public void setAttachments(List attachments)(Code)
Set the fileProperties
Parameters: key - The key for map class, which is the absolute local path of file Parameters: properties - The Vector which stores the inputStream, contentType, fileName of the file in order
Set the current vm: true - in main list view; false - in other view
m_isListVM:true - in main list view; false - in other view
setIsNewAnnouncement
public void setIsNewAnnouncement(boolean isNewAnn)(Code)
Set the status of preview: true - view new created; false - view revised existed
Parameters: preview_status - The status of preview: true - view new created; false - view revised existed
setMessageReference
public void setMessageReference(String string)(Code)
Sets the currently selected message reference.
setMoreAttachments
public void setMoreAttachments(Vector moreAttachments)(Code)
Set
setSelectedAttachments
public void setSelectedAttachments(Vector selectedAttachments)(Code)
This method is called whenever the observed object is changed. An application calls an Observable object's notifyObservers method to have all the object's observers notified of the change. default implementation is to
cause the courier service to deliver to the interface controlled by my controller. Extensions can override.
Parameters: o - the observable object. Parameters: arg - an argument passed to the notifyObservers method.