Java Doc for AnnouncementActionState.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » announcement » tool » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.announcement.tool 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.cheftool.ControllerState
      org.sakaiproject.announcement.tool.AnnouncementActionState

AnnouncementActionState
public class AnnouncementActionState extends ControllerState implements SessionBindingListener(Code)

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.


Inner Class :public static class DisplayOptions

Field Summary
public static  intDEFAULT_DISPLAY_NUMBER_OPTION
    

Constructor Summary
public  AnnouncementActionState()
    

Method Summary
public  VectorgetAttachProperties(String key)
    
public  ListgetAttachments()
    
public  StringgetChannelId()
    
protected  booleangetCurrentSortAsc()
    
protected  StringgetCurrentSortedBy()
    
public  VectorgetDelete_messages()
    
public  DisplayOptionsgetDisplayOptions()
    
public  AnnouncementMessageEditgetEdit()
    
public  SitegetEditSite()
    
public  VectorgetFileProperties(String key)
    
public  booleangetIsListVM()
    
public  booleangetIsNewAnnouncement()
    
public  StringgetMessageReference()
     Returns the currently selected message reference.
public  VectorgetMoreAttachments()
    
public  VectorgetSelectedAttachments()
    
public  StringgetStatus()
    
public  StringgetTempAnnounceTo()
    
public  CollectiongetTempAnnounceToGroups()
    
public  VectorgetTempAttachments()
    
public  StringgetTempBody()
    
public  BooleangetTempHidden()
    
public  VectorgetTempMoreAttachments()
    
public  TimegetTempReleaseDate()
    
public  TimegetTempRetractDate()
    
public  StringgetTempSubject()
    
protected  voidinit()
    
public  voidrecycle()
     Release any resources and restore the object to initial conditions to be reused.
public  voidsetAttachProperties(String key, Vector properties)
    
public  voidsetAttachments(List attachments)
    
public  voidsetChannelId(String channelId)
     Set the chat channel id to listen to.
protected  voidsetCurrentSortAsc(boolean asc)
    
protected  voidsetCurrentSortedBy(String name)
    
public  voidsetDeleteMessages(Vector delete_messages)
    
public  voidsetDisplayOptions(DisplayOptions options)
    
public  voidsetEdit(AnnouncementMessageEdit edit)
    
public  voidsetEditSite(Site site)
    
public  voidsetFF(String key)
    
public  voidsetFileProperties(String key, Vector properties)
    
public  voidsetIsListVM(boolean isListVM)
    
public  voidsetIsNewAnnouncement(boolean isNewAnn)
    
public  voidsetMessageReference(String string)
     Sets the currently selected message reference.
public  voidsetMoreAttachments(Vector moreAttachments)
    
public  voidsetSelectedAttachments(Vector selectedAttachments)
    
public  voidsetStatus(String status)
    
public  voidsetTempAnnounceTo(String tempAnnounceTo)
    
public  voidsetTempAnnounceToGroups(Collection tempAnnounceToGroups)
    
public  voidsetTempAttachments(Vector tempAttachments)
    
public  voidsetTempBody(String tempBody)
    
public  voidsetTempHidden(Boolean hidden)
    
public  voidsetTempMoreAttachments(Vector tempMoreAttachments)
    
public  voidsetTempReleaseDate(Time tempDate)
    
public  voidsetTempRetractDate(Time tempDate)
    
public  voidsetTempSubject(String tempSubject)
    
public  voidupdate(Observable o, Object arg)
     This method is called whenever the observed object is changed.
public  voidvalueBound(SessionBindingEvent event)
    
public  voidvalueUnbound(SessionBindingEvent event)
    

Field Detail
DEFAULT_DISPLAY_NUMBER_OPTION
public static int DEFAULT_DISPLAY_NUMBER_OPTION(Code)




Constructor Detail
AnnouncementActionState
public AnnouncementActionState()(Code)
Creates new AnnouncementActionState




Method Detail
getAttachProperties
public Vector getAttachProperties(String key)(Code)
Get the attachment properties The property based on the given key



getAttachments
public List getAttachments()(Code)
Get



getChannelId
public String getChannelId()(Code)
Get the channel id of current state The current channel id



getCurrentSortAsc
protected boolean getCurrentSortAsc()(Code)
get the current sort property "true" if the property is sorted ascendingly; "false" if the property is sorted descendingly



getCurrentSortedBy
protected String getCurrentSortedBy()(Code)
get the current sorted by property name "true" if the property is sorted ascendingly; "false" if the property is sorted descendingly



getDelete_messages
public Vector getDelete_messages()(Code)
Get



getDisplayOptions
public DisplayOptions getDisplayOptions()(Code)



getEdit
public AnnouncementMessageEdit getEdit()(Code)
Get edit object m_edit The edit object



getEditSite
public Site getEditSite()(Code)



getFileProperties
public Vector getFileProperties(String key)(Code)
Get the the file properties for uploading The current collectionId



getIsListVM
public boolean getIsListVM()(Code)
Get the current vm: true - in main list view; false - in other view The boolean to show whether in main list view



getIsNewAnnouncement
public boolean getIsNewAnnouncement()(Code)
Get the status of preview: true - view new created; false - view revised existed The current status



getMessageReference
public String getMessageReference()(Code)
Returns the currently selected message reference.



getMoreAttachments
public Vector getMoreAttachments()(Code)
Get



getSelectedAttachments
public Vector getSelectedAttachments()(Code)
Get



getStatus
public String getStatus()(Code)
Get the status to be The status to be



getTempAnnounceTo
public String getTempAnnounceTo()(Code)
Get



getTempAnnounceToGroups
public Collection getTempAnnounceToGroups()(Code)
Get



getTempAttachments
public Vector getTempAttachments()(Code)
Get



getTempBody
public String getTempBody()(Code)
Get



getTempHidden
public Boolean getTempHidden()(Code)



getTempMoreAttachments
public Vector getTempMoreAttachments()(Code)
Get



getTempReleaseDate
public Time getTempReleaseDate()(Code)



getTempRetractDate
public Time getTempRetractDate()(Code)



getTempSubject
public String getTempSubject()(Code)
Get



init
protected void init()(Code)
Init to startup values



recycle
public void recycle()(Code)
Release any resources and restore the object to initial conditions to be reused.



setAttachProperties
public void setAttachProperties(String key, Vector properties)(Code)
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



setChannelId
public void setChannelId(String channelId)(Code)
Set the chat channel id to listen to.
Parameters:
  channel - The chat channel id to listen to.



setCurrentSortAsc
protected void setCurrentSortAsc(boolean asc)(Code)
set the current sort property
Parameters:
  asc - "true" if the property is sorted ascendingly; "false" if the property is sorted descendingly



setCurrentSortedBy
protected void setCurrentSortedBy(String name)(Code)
set the current sorted by property name
Parameters:
  name - The sorted by property name



setDeleteMessages
public void setDeleteMessages(Vector delete_messages)(Code)
Set



setDisplayOptions
public void setDisplayOptions(DisplayOptions options)(Code)



setEdit
public void setEdit(AnnouncementMessageEdit edit)(Code)
Get edit The edit object



setEditSite
public void setEditSite(Site site)(Code)



setFF
public void setFF(String key)(Code)



setFileProperties
public void setFileProperties(String key, Vector properties)(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



setIsListVM
public void setIsListVM(boolean isListVM)(Code)
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)
Set



setStatus
public void setStatus(String status)(Code)
Set the status to be
Parameters:
  status - The status to be



setTempAnnounceTo
public void setTempAnnounceTo(String tempAnnounceTo)(Code)
set



setTempAnnounceToGroups
public void setTempAnnounceToGroups(Collection tempAnnounceToGroups)(Code)
set



setTempAttachments
public void setTempAttachments(Vector tempAttachments)(Code)
Set



setTempBody
public void setTempBody(String tempBody)(Code)
Get



setTempHidden
public void setTempHidden(Boolean hidden)(Code)



setTempMoreAttachments
public void setTempMoreAttachments(Vector tempMoreAttachments)(Code)
Set



setTempReleaseDate
public void setTempReleaseDate(Time tempDate)(Code)



setTempRetractDate
public void setTempRetractDate(Time tempDate)(Code)



setTempSubject
public void setTempSubject(String tempSubject)(Code)
Get



update
public void update(Observable o, Object arg)(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.



valueBound
public void valueBound(SessionBindingEvent event)(Code)
SessionBindingListener implementation



valueUnbound
public void valueUnbound(SessionBindingEvent event)(Code)



Methods inherited from org.sakaiproject.cheftool.ControllerState
public String getId()(Code)(Java Doc)
public String getKey()(Code)(Java Doc)
public String getSetId()(Code)(Java Doc)
protected void init()(Code)(Java Doc)
public void recycle()(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public void setSetId(String id)(Code)(Java Doc)
public void update(Observable o, Object arg)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.