org.jasig.portlet.emailpreview.service.link
Class SimpleEmailLinkServiceImpl

java.lang.Object
  extended by org.jasig.portlet.emailpreview.service.link.SimpleEmailLinkServiceImpl
All Implemented Interfaces:
IEmailLinkService

@Component(value="simpleEmailLinkService")
public class SimpleEmailLinkServiceImpl
extends Object
implements IEmailLinkService

Author:
Jen Bourey, jbourey@unicon.net

Field Summary
static String INBOX_URL_PROPERTY
           
 
Constructor Summary
SimpleEmailLinkServiceImpl()
           
 
Method Summary
 List<ConfigurationParameter> getAdminConfigurationParameters()
           
 String getInboxUrl(MailStoreConfiguration configuration)
          Get the URL of the inbox for this portlet request and mail store configuration.
 String getKey()
          Return the unique key for this link service.
 List<ConfigurationParameter> getUserConfigurationParameters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INBOX_URL_PROPERTY

public static final String INBOX_URL_PROPERTY
See Also:
Constant Field Values
Constructor Detail

SimpleEmailLinkServiceImpl

public SimpleEmailLinkServiceImpl()
Method Detail

getKey

public String getKey()
Description copied from interface: IEmailLinkService
Return the unique key for this link service. This key will be used to retrieve a link service instances from the registry.

Specified by:
getKey in interface IEmailLinkService
Returns:

getInboxUrl

public String getInboxUrl(MailStoreConfiguration configuration)
Description copied from interface: IEmailLinkService
Get the URL of the inbox for this portlet request and mail store configuration. This method may simply provide the URL of an external webmail client. Some implementations may wish to support SSO or implement other interesting client-specific URLs.

Specified by:
getInboxUrl in interface IEmailLinkService
Returns:

getAdminConfigurationParameters

public List<ConfigurationParameter> getAdminConfigurationParameters()
Specified by:
getAdminConfigurationParameters in interface IEmailLinkService

getUserConfigurationParameters

public List<ConfigurationParameter> getUserConfigurationParameters()
Specified by:
getUserConfigurationParameters in interface IEmailLinkService


Copyright © 2012 Jasig. All Rights Reserved.