gran.app.adapter.external.emailtype
Class BaseSecuredEmailTypeAdapter

java.lang.Object
  extended bygran.app.adapter.external.emailtype.BaseSecuredEmailTypeAdapter
All Implemented Interfaces:
Adapter, SecuredAdapter, SecuredEmailTypeAdapter

public class BaseSecuredEmailTypeAdapter
extends java.lang.Object
implements SecuredEmailTypeAdapter


Constructor Summary
BaseSecuredEmailTypeAdapter()
           
 
Method Summary
 java.lang.String copyEmailTypeImpl(java.lang.String sessionId, java.lang.String id)
          Copies a EmailType.
 java.lang.String createEmailTypeImpl(java.lang.String sessionId, java.lang.String name, java.lang.String type, java.lang.String result)
          Creates EmailType.
 void deleteEmailTypeImpl(java.lang.String sessionId, java.lang.String id)
          Deletes specified EmailType.
 java.util.ArrayList getAvailableEmailTypeListImpl(java.lang.String sessionId, java.lang.String user, java.util.ArrayList result)
          Returns available list of EmailType for specified User.
 java.util.ArrayList getContentTypeListImpl(java.lang.String sessionId, java.util.ArrayList result)
          Returns list of ContentType.
 java.lang.String getDescription()
          Get description of adapter as plain text
 java.lang.String getTemplateImpl(java.lang.String sessionId, java.lang.String etype_id, java.lang.String result)
          Returns Template for specified EmailType.
 boolean init()
          Initialize adapter.
 void setTemplateImpl(java.lang.String sessionId, java.lang.String etype_id, java.lang.String text)
          Sets Template for specified Prstatus.
 void updateEmailTypeImpl(java.lang.String sessionId, java.lang.String etypeid, java.lang.String name, java.lang.String type)
          Updates specified EmailType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSecuredEmailTypeAdapter

public BaseSecuredEmailTypeAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

copyEmailTypeImpl

public java.lang.String copyEmailTypeImpl(java.lang.String sessionId,
                                          java.lang.String id)
                                   throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Copies a EmailType. Available via SOAP.

Specified by:
copyEmailTypeImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
id -
Returns:
new EmailType ID
Throws:
GranException

createEmailTypeImpl

public java.lang.String createEmailTypeImpl(java.lang.String sessionId,
                                            java.lang.String name,
                                            java.lang.String type,
                                            java.lang.String result)
                                     throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Creates EmailType. Available via SOAP.

Specified by:
createEmailTypeImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
name -
type -
result -
Returns:
new EmailType ID
Throws:
GranException

deleteEmailTypeImpl

public void deleteEmailTypeImpl(java.lang.String sessionId,
                                java.lang.String id)
                         throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Deletes specified EmailType.

Specified by:
deleteEmailTypeImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
id -
Throws:
GranException

getAvailableEmailTypeListImpl

public java.util.ArrayList getAvailableEmailTypeListImpl(java.lang.String sessionId,
                                                         java.lang.String user,
                                                         java.util.ArrayList result)
                                                  throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Returns available list of EmailType for specified User. Available via SOAP.

Specified by:
getAvailableEmailTypeListImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
user -
result -
Returns:
list of SecuredEmailTypeBeans
Throws:
GranException
See Also:
SecuredEmailTypeBean

getContentTypeListImpl

public java.util.ArrayList getContentTypeListImpl(java.lang.String sessionId,
                                                  java.util.ArrayList result)
                                           throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Returns list of ContentType. Available via SOAP.

Specified by:
getContentTypeListImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
result -
Returns:
list of SecuredContentTypeBean
Throws:
GranException
See Also:
SecuredContentTypeBean

getTemplateImpl

public java.lang.String getTemplateImpl(java.lang.String sessionId,
                                        java.lang.String etype_id,
                                        java.lang.String result)
                                 throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Returns Template for specified EmailType. Available via SOAP.

Specified by:
getTemplateImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
etype_id -
result -
Returns:
Template
Throws:
GranException

setTemplateImpl

public void setTemplateImpl(java.lang.String sessionId,
                            java.lang.String etype_id,
                            java.lang.String text)
                     throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Sets Template for specified Prstatus. Available via SOAP.

Specified by:
setTemplateImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
etype_id -
text -
Throws:
GranException

updateEmailTypeImpl

public void updateEmailTypeImpl(java.lang.String sessionId,
                                java.lang.String etypeid,
                                java.lang.String name,
                                java.lang.String type)
                         throws GranException
Description copied from interface: SecuredEmailTypeAdapter
Updates specified EmailType. Available via SOAP.

Specified by:
updateEmailTypeImpl in interface SecuredEmailTypeAdapter
Parameters:
sessionId -
etypeid -
name -
type -
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.