org.exoplatform.services.wcm.newsletter
Class NewsletterManagerService

java.lang.Object
  extended by org.exoplatform.services.wcm.newsletter.NewsletterManagerService

public class NewsletterManagerService
extends java.lang.Object

Created by The eXo Platform SAS Author : eXoPlatform chuong.phan@exoplatform.com, phan.le.thanh.chuong@gmail.com May 21, 2009


Constructor Summary
NewsletterManagerService(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration)
          Instantiates a new newsletter manager service.
 
Method Summary
 java.util.List<java.lang.String> getAllBannedUser()
           
 NewsletterCategoryHandler getCategoryHandler()
          Gets the category handler.
 NewsletterEntryHandler getEntryHandler()
          Gets the entry handler.
 NewsletterManageUserHandler getManageUserHandler()
          Gets the manage user handler.
 NewsletterPublicUserHandler getPublicUserHandler()
          Gets the public user handler.
 java.lang.String getRepositoryName()
          Gets the repository name.
 NewsletterSubscriptionHandler getSubscriptionHandler()
          Gets the subscription handler.
 NewsletterTemplateHandler getTemplateHandler()
          Gets the template handler.
 java.lang.String getWorkspaceName()
          Gets the workspace name.
 void sendNewsletter()
          Send newsletter.
 void sendVerificationMail(java.lang.String email)
          Send verification mail.
 void setRepositoryName(java.lang.String repositoryName)
          Sets the repository name.
 void setWorkspaceName(java.lang.String workspaceName)
          Sets the workspace name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsletterManagerService

public NewsletterManagerService(org.exoplatform.container.xml.InitParams initParams,
                                org.exoplatform.services.cms.impl.DMSConfiguration dmsConfiguration)
Instantiates a new newsletter manager service.

Parameters:
initParams - the init params
dmsConfiguration - the dms configuration
Method Detail

getCategoryHandler

public NewsletterCategoryHandler getCategoryHandler()
Gets the category handler.

Returns:
the category handler

getSubscriptionHandler

public NewsletterSubscriptionHandler getSubscriptionHandler()
Gets the subscription handler.

Returns:
the subscription handler

getEntryHandler

public NewsletterEntryHandler getEntryHandler()
Gets the entry handler.

Returns:
the entry handler

getTemplateHandler

public NewsletterTemplateHandler getTemplateHandler()
Gets the template handler.

Returns:
the template handler

getAllBannedUser

public java.util.List<java.lang.String> getAllBannedUser()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

getManageUserHandler

public NewsletterManageUserHandler getManageUserHandler()
Gets the manage user handler.

Returns:
the manage user handler

getPublicUserHandler

public NewsletterPublicUserHandler getPublicUserHandler()
Gets the public user handler.

Returns:
the public user handler

sendNewsletter

public void sendNewsletter()
                    throws java.lang.Exception
Send newsletter.

Throws:
java.lang.Exception - the exception

sendVerificationMail

public void sendVerificationMail(java.lang.String email)
                          throws javax.jcr.RepositoryException,
                                 org.exoplatform.services.jcr.config.RepositoryConfigurationException
Send verification mail.

Parameters:
email - the email
Throws:
javax.jcr.RepositoryException - the repository exception
org.exoplatform.services.jcr.config.RepositoryConfigurationException - the repository configuration exception

getRepositoryName

public java.lang.String getRepositoryName()
Gets the repository name.

Returns:
the repository name

setRepositoryName

public void setRepositoryName(java.lang.String repositoryName)
Sets the repository name.

Parameters:
repositoryName - the new repository name

getWorkspaceName

public java.lang.String getWorkspaceName()
Gets the workspace name.

Returns:
the workspace name

setWorkspaceName

public void setWorkspaceName(java.lang.String workspaceName)
Sets the workspace name.

Parameters:
workspaceName - the new workspace name


Copyright © 2010 eXo Platform SAS. All Rights Reserved.