Java Doc for BaseMailArchiveService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » mailarchive » impl » 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.mailarchive.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.message.impl.BaseMessageService
      org.sakaiproject.mailarchive.impl.BaseMailArchiveService

All known Subclasses:   org.sakaiproject.mailarchive.impl.DbMailArchiveService,
BaseMailArchiveService
abstract public class BaseMailArchiveService extends BaseMessageService implements MailArchiveService,ContextObserver(Code)

BaseMailArchiveService extends the BaseMessageService for the specifics of MailArchive.


Inner Class :public class BaseMailArchiveChannelEdit extends BaseMessageChannelEdit implements MailArchiveChannelEdit
Inner Class :public class BaseMailArchiveMessageEdit extends BaseMessageEdit implements MailArchiveMessageEdit
Inner Class :public class BaseMailArchiveMessageHeaderEdit extends BaseMessageHeaderEdit implements MailArchiveMessageHeaderEdit

Field Summary
protected  NotificationServicem_notificationService
     Dependency: NotificationService.


Method Summary
public  MailArchiveChannelEditaddMailArchiveChannel(String ref)
     Add a new mail message channel.
Parameters:
  ref - The channel reference.
public  voidcontextCreated(String context, boolean toolPlacement)
    
public  voidcontextDeleted(String context, boolean toolPlacement)
    
public  voidcontextUpdated(String context, boolean toolPlacement)
    
protected  voiddisableMailbox(String siteId)
    
protected  voidenableMailbox(String siteId)
     Setup the mailbox for an active site.
protected  StringeventId(String secure)
     Form a tracking event string based on a security function string.
Parameters:
  secure - The security function string.
public  TimegetDate(Entity r)
     Access the resource date.
Parameters:
  r - The resource.
public  StringgetLabel()
    
public  MailArchiveChannelgetMailArchiveChannel(String ref)
     Return a specific mail message channel.
Parameters:
  ref - The channel reference.
public  StringgetOwnerId(Entity r)
     Access the resource owner user id.
Parameters:
  r - The resource.
protected  StringgetReferenceRoot()
     Return the reference rooot for use in resource references and urls.
public  voidinit()
     Final initialization, once all dependencies are set.
public  booleanisDraft(Entity r)
     Check if this resource is in draft mode.
Parameters:
  r - The resource.
public  String[]myToolIds()
    
public  EntitynewContainer(String ref)
     Construct a new continer given just ids.
Parameters:
  ref - The channel reference.
public  EntitynewContainer(Element element)
     Construct a new container resource, from an XML element.
Parameters:
  element - The XML.
public  EntitynewContainer(Entity other)
     Construct a new container resource, as a copy of another
Parameters:
  other - The other contianer to copy.
public  EditnewContainerEdit(String ref)
     Construct a new continer given just ids.
Parameters:
  ref - The channel reference.
public  EditnewContainerEdit(Element element)
     Construct a new container resource, from an XML element.
Parameters:
  element - The XML.
public  EditnewContainerEdit(Entity other)
     Construct a new container resource, as a copy of another
Parameters:
  other - The other contianer to copy.
protected  MessageHeaderEditnewMessageHeader(Message msg, String id)
     Construct a new message header from XML in a DOM element.
Parameters:
  id - The message Id.
protected  MessageHeaderEditnewMessageHeader(Message msg, Element el)
     Construct a new message header from XML in a DOM element.
Parameters:
  el - The XML DOM element that has the header information.
protected  MessageHeaderEditnewMessageHeader(Message msg, MessageHeader other)
     Construct a new message header as a copy of another.
Parameters:
  other - The other header to copy.
public  EntitynewResource(Entity container, String id, Object[] others)
     Construct a new rsource given just an id.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  id - The id for the new object.
Parameters:
  others - (options) array of objects to load into the Resource's fields.
public  EntitynewResource(Entity container, Element element)
     Construct a new resource, from an XML element.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  element - The XML.
public  EntitynewResource(Entity container, Entity other)
     Construct a new resource from another resource of the same type.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  other - The other resource.
public  EditnewResourceEdit(Entity container, String id, Object[] others)
     Construct a new rsource given just an id.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  id - The id for the new object.
Parameters:
  others - (options) array of objects to load into the Resource's fields.
public  EditnewResourceEdit(Entity container, Element element)
     Construct a new resource, from an XML element.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  element - The XML.
public  EditnewResourceEdit(Entity container, Entity other)
     Construct a new resource from another resource of the same type.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  other - The other resource.
public  booleanparseEntityReference(String reference, Reference ref)
    
protected  StringserviceName()
     Report the Service API name being implemented.
public  voidsetNotificationService(NotificationService service)
     Dependency: NotificationService.
public  Object[]storageFields(Entity r)
     Collect the fields that need to be stored outside the XML (for the resource).

Field Detail
m_notificationService
protected NotificationService m_notificationService(Code)
Dependency: NotificationService.





Method Detail
addMailArchiveChannel
public MailArchiveChannelEdit addMailArchiveChannel(String ref) throws IdUsedException, IdInvalidException, PermissionException(Code)
Add a new mail message channel.
Parameters:
  ref - The channel reference. The newly created channel.
exception:
  IdUsedException - if the id is not unique.
exception:
  IdInvalidException - if the id is not made up of valid characters.
exception:
  PermissionException - if the user does not have permission to add a channel.



contextCreated
public void contextCreated(String context, boolean toolPlacement)(Code)



contextDeleted
public void contextDeleted(String context, boolean toolPlacement)(Code)



contextUpdated
public void contextUpdated(String context, boolean toolPlacement)(Code)



disableMailbox
protected void disableMailbox(String siteId)(Code)
Set a site's mailbox to inactive - it remains in existance, just disabled
Parameters:
  siteId - The site id.



enableMailbox
protected void enableMailbox(String siteId)(Code)
Setup the mailbox for an active site.
Parameters:
  siteId - The site id.



eventId
protected String eventId(String secure)(Code)
Form a tracking event string based on a security function string.
Parameters:
  secure - The security function string. The event tracking string.



getDate
public Time getDate(Entity r)(Code)
Access the resource date.
Parameters:
  r - The resource. The resource date.



getLabel
public String getLabel()(Code)



getMailArchiveChannel
public MailArchiveChannel getMailArchiveChannel(String ref) throws IdUnusedException, PermissionException(Code)
Return a specific mail message channel.
Parameters:
  ref - The channel reference. the MailArchiveChannel that has the specified name.
exception:
  IdUnusedException - If this name is not defined for a mail message channel.
exception:
  PermissionException - If the user does not have any permissions to the channel.



getOwnerId
public String getOwnerId(Entity r)(Code)
Access the resource owner user id.
Parameters:
  r - The resource. The resource owner user id.



getReferenceRoot
protected String getReferenceRoot()(Code)
Return the reference rooot for use in resource references and urls. The reference rooot for use in resource references and urls.



init
public void init()(Code)
Final initialization, once all dependencies are set.



isDraft
public boolean isDraft(Entity r)(Code)
Check if this resource is in draft mode.
Parameters:
  r - The resource. true if the resource is in draft mode, false if not.



myToolIds
public String[] myToolIds()(Code)



newContainer
public Entity newContainer(String ref)(Code)
Construct a new continer given just ids.
Parameters:
  ref - The channel reference. The new containe Resource.



newContainer
public Entity newContainer(Element element)(Code)
Construct a new container resource, from an XML element.
Parameters:
  element - The XML. The new container resource.



newContainer
public Entity newContainer(Entity other)(Code)
Construct a new container resource, as a copy of another
Parameters:
  other - The other contianer to copy. The new container resource.



newContainerEdit
public Edit newContainerEdit(String ref)(Code)
Construct a new continer given just ids.
Parameters:
  ref - The channel reference. The new containe Resource.



newContainerEdit
public Edit newContainerEdit(Element element)(Code)
Construct a new container resource, from an XML element.
Parameters:
  element - The XML. The new container resource.



newContainerEdit
public Edit newContainerEdit(Entity other)(Code)
Construct a new container resource, as a copy of another
Parameters:
  other - The other contianer to copy. The new container resource.



newMessageHeader
protected MessageHeaderEdit newMessageHeader(Message msg, String id)(Code)
Construct a new message header from XML in a DOM element.
Parameters:
  id - The message Id. The new message header.



newMessageHeader
protected MessageHeaderEdit newMessageHeader(Message msg, Element el)(Code)
Construct a new message header from XML in a DOM element.
Parameters:
  el - The XML DOM element that has the header information. The new message header.



newMessageHeader
protected MessageHeaderEdit newMessageHeader(Message msg, MessageHeader other)(Code)
Construct a new message header as a copy of another.
Parameters:
  other - The other header to copy. The new message header.



newResource
public Entity newResource(Entity container, String id, Object[] others)(Code)
Construct a new rsource given just an id.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  id - The id for the new object.
Parameters:
  others - (options) array of objects to load into the Resource's fields. The new resource.



newResource
public Entity newResource(Entity container, Element element)(Code)
Construct a new resource, from an XML element.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  element - The XML. The new resource from the XML.



newResource
public Entity newResource(Entity container, Entity other)(Code)
Construct a new resource from another resource of the same type.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  other - The other resource. The new resource as a copy of the other.



newResourceEdit
public Edit newResourceEdit(Entity container, String id, Object[] others)(Code)
Construct a new rsource given just an id.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  id - The id for the new object.
Parameters:
  others - (options) array of objects to load into the Resource's fields. The new resource.



newResourceEdit
public Edit newResourceEdit(Entity container, Element element)(Code)
Construct a new resource, from an XML element.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  element - The XML. The new resource from the XML.



newResourceEdit
public Edit newResourceEdit(Entity container, Entity other)(Code)
Construct a new resource from another resource of the same type.
Parameters:
  container - The Resource that is the container for the new resource (may be null).
Parameters:
  other - The other resource. The new resource as a copy of the other.



parseEntityReference
public boolean parseEntityReference(String reference, Reference ref)(Code)



serviceName
protected String serviceName()(Code)
Report the Service API name being implemented.



setNotificationService
public void setNotificationService(NotificationService service)(Code)
Dependency: NotificationService.
Parameters:
  service - The NotificationService.



storageFields
public Object[] storageFields(Entity r)(Code)
Collect the fields that need to be stored outside the XML (for the resource). An array of field values to store in the record outside the XML (for the resource).



Fields inherited from org.sakaiproject.message.impl.BaseMessageService
protected AuthzGroupService m_authzGroupService(Code)(Java Doc)
protected boolean m_caching(Code)(Java Doc)
protected Cache m_channelCache(Code)(Java Doc)
protected EntityManager m_entityManager(Code)(Java Doc)
protected EventTrackingService m_eventTrackingService(Code)(Java Doc)
protected IdManager m_idManager(Code)(Java Doc)
protected MemoryService m_memoryService(Code)(Java Doc)
protected Hashtable m_messageCaches(Code)(Java Doc)
protected SecurityService m_securityService(Code)(Java Doc)
protected ServerConfigurationService m_serverConfigurationService(Code)(Java Doc)
protected SessionManager m_sessionManager(Code)(Java Doc)
protected SiteService m_siteService(Code)(Java Doc)
protected Storage m_storage(Code)(Java Doc)
protected ThreadLocalManager m_threadLocalManager(Code)(Java Doc)
protected TimeService m_timeService(Code)(Java Doc)
protected UserDirectoryService m_userDirectoryService(Code)(Java Doc)

Methods inherited from org.sakaiproject.message.impl.BaseMessageService
public MessageChannelEdit addChannel(String ref) throws IdUsedException, IdInvalidException, PermissionException(Code)(Java Doc)
public boolean allowAddChannel(String ref)(Code)(Java Doc)
public boolean allowEditChannel(String ref)(Code)(Java Doc)
public boolean allowGetChannel(String ref)(Code)(Java Doc)
protected boolean allowGetMessage(String channelRef, String msgRef)(Code)(Java Doc)
public boolean allowRemoveChannel(String ref)(Code)(Java Doc)
public String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)(Java Doc)
public void archiveSynopticOptions(String siteId, Document doc, Element element)(Code)(Java Doc)
public void cancelChannel(MessageChannelEdit edit)(Code)(Java Doc)
public void cancelMessage(MessageEdit edit)(Code)(Java Doc)
public String channelReference(String context, String id)(Code)(Java Doc)
public void commitChannel(MessageChannelEdit edit)(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
protected void disableMessageChannel(String siteId)(Code)(Java Doc)
public MessageChannelEdit editChannel(String ref) throws IdUnusedException, PermissionException, InUseException(Code)(Java Doc)
protected void enableMessageChannel(String siteId)(Code)(Java Doc)
abstract protected String eventId(String secure)(Code)(Java Doc)
protected MessageChannel findChannel(String ref)(Code)(Java Doc)
protected String getAccessPoint(boolean relative)(Code)(Java Doc)
public MessageChannel getChannel(String ref) throws IdUnusedException, PermissionException(Code)(Java Doc)
public List getChannelIds(String context)(Code)(Java Doc)
public List getChannels()(Code)(Java Doc)
public Entity getEntity(Reference ref)(Code)(Java Doc)
public Collection getEntityAuthzGroups(Reference ref, String userId)(Code)(Java Doc)
public String getEntityDescription(Reference ref)(Code)(Java Doc)
public ResourceProperties getEntityResourceProperties(Reference ref)(Code)(Java Doc)
public String getEntityUrl(Reference ref)(Code)(Java Doc)
public HttpAccess getHttpAccess()(Code)(Java Doc)
public Message getMessage(Reference ref) throws IdUnusedException, PermissionException(Code)(Java Doc)
public List getMessages(String channelRef, Time afterDate, int limitedToLatest, boolean ascending, boolean includeDrafts, boolean pubViewOnly) throws PermissionException(Code)(Java Doc)
abstract protected String getReferenceRoot()(Code)(Java Doc)
public Map getSummary(String channel, int items, int days) throws org.sakaiproject.exception.IdUsedException, org.sakaiproject.exception.IdInvalidException, org.sakaiproject.exception.PermissionException(Code)(Java Doc)
protected String getSummaryFromHeader(Message item, MessageHeader header)(Code)(Java Doc)
public void init()(Code)(Java Doc)
public String merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)(Code)(Java Doc)
public String messageReference(String context, String channelId, String id)(Code)(Java Doc)
public String messageReference(String channelRef, String id)(Code)(Java Doc)
abstract protected MessageHeaderEdit newMessageHeader(Message msg, String id)(Code)(Java Doc)
abstract protected MessageHeaderEdit newMessageHeader(Message msg, Element el)(Code)(Java Doc)
abstract protected MessageHeaderEdit newMessageHeader(Message msg, MessageHeader other)(Code)(Java Doc)
abstract protected Storage newStorage()(Code)(Java Doc)
protected void parseMergeChannelExtra(Element element3, String channelRef)(Code)(Java Doc)
public Object refresh(Object key, Object oldValue, Event event)(Code)(Java Doc)
public void removeChannel(MessageChannelEdit channel) throws PermissionException(Code)(Java Doc)
protected BaseMessageService service()(Code)(Java Doc)
abstract protected String serviceName()(Code)(Java Doc)
public void setAuthzGroupService(AuthzGroupService service)(Code)(Java Doc)
public void setCaching(String value)(Code)(Java Doc)
public void setEntityManager(EntityManager service)(Code)(Java Doc)
public void setEventTrackingService(EventTrackingService service)(Code)(Java Doc)
public void setIdManager(IdManager service)(Code)(Java Doc)
public void setMemoryService(MemoryService service)(Code)(Java Doc)
public void setSecurityService(SecurityService service)(Code)(Java Doc)
public void setServerConfigurationService(ServerConfigurationService service)(Code)(Java Doc)
public void setSessionManager(SessionManager service)(Code)(Java Doc)
public void setSiteService(SiteService service)(Code)(Java Doc)
public void setThreadLocalManager(ThreadLocalManager service)(Code)(Java Doc)
public void setTimeService(TimeService service)(Code)(Java Doc)
public void setUserDirectoryService(UserDirectoryService service)(Code)(Java Doc)
public void transferSynopticOptions(String fromContext, String toContext)(Code)(Java Doc)
protected void unlock(String lock, String resource) throws PermissionException(Code)(Java Doc)
protected void unlock2(String lock1, String lock2, String resource) throws PermissionException(Code)(Java Doc)
protected void unlock3(String lock1, String lock2, String lock3, String resource) throws PermissionException(Code)(Java Doc)
protected boolean unlockCheck(String lock, String resource)(Code)(Java Doc)
protected boolean unlockCheck2(String lock1, String lock2, String resource)(Code)(Java Doc)
protected boolean unlockCheck3(String lock1, String lock2, String lock3, String resource)(Code)(Java Doc)
public boolean willArchiveMerge()(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.