|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.securedkernel.SecuredEmailTypeAdapterManager
public class SecuredEmailTypeAdapterManager
This manager is used for creating and deleting of email templates
| Constructor Summary | |
|---|---|
SecuredEmailTypeAdapterManager()
|
|
| Method Summary | |
|---|---|
java.lang.String |
cloneEmailType(SessionContext sc,
java.lang.String toUserId,
java.lang.String emailTypeId)
Clone email template |
java.lang.String |
createEmailType(SessionContext sc,
java.lang.String ownerId,
java.lang.String name)
Create a new email template |
void |
deleteEmailType(SessionContext sc,
java.lang.String emailTypeId)
Delete email template |
java.util.ArrayList |
getAvailableEmailTypeList(SessionContext sc,
java.lang.String userId)
Get available email templates for the user |
java.util.ArrayList |
getContentTypeList(SessionContext sc)
Get available content types |
java.util.ArrayList |
getFromTypeList(SessionContext sc)
Get available from types |
java.lang.String |
getTemplate(SessionContext sc,
java.lang.String emailTypeId)
Get email template text |
void |
setTemplate(SessionContext sc,
java.lang.String toUserId,
java.lang.String emailTypeId,
java.lang.String type,
java.lang.String subject,
java.lang.String from,
java.lang.String reply,
java.lang.String cc,
java.lang.String text)
Set email template properties |
void |
updateEmailType(SessionContext sc,
java.lang.String emailTypeId,
java.lang.String name)
Update email template |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecuredEmailTypeAdapterManager()
| Method Detail |
|---|
public java.lang.String createEmailType(SessionContext sc,
java.lang.String ownerId,
java.lang.String name)
throws GranException
sc - session contextownerId - owned user's idname - name of template
GranException
public java.lang.String cloneEmailType(SessionContext sc,
java.lang.String toUserId,
java.lang.String emailTypeId)
throws GranException
sc - session contexttoUserId - new owner's idemailTypeId - cloned template's id
GranException
public void updateEmailType(SessionContext sc,
java.lang.String emailTypeId,
java.lang.String name)
throws GranException
sc - session contextemailTypeId - template's idname - new name
GranException
public void deleteEmailType(SessionContext sc,
java.lang.String emailTypeId)
throws GranException
sc - session contextemailTypeId - template's id
GranException
public java.util.ArrayList getAvailableEmailTypeList(SessionContext sc,
java.lang.String userId)
throws GranException
sc - session contextuserId - user's id
GranException
public java.util.ArrayList getFromTypeList(SessionContext sc)
throws GranException
sc - session context
GranExceptionFromType
public java.util.ArrayList getContentTypeList(SessionContext sc)
throws GranException
sc - session context
GranExceptionContentType
public java.lang.String getTemplate(SessionContext sc,
java.lang.String emailTypeId)
throws GranException
sc - session contextemailTypeId - template's id
GranException
public void setTemplate(SessionContext sc,
java.lang.String toUserId,
java.lang.String emailTypeId,
java.lang.String type,
java.lang.String subject,
java.lang.String from,
java.lang.String reply,
java.lang.String cc,
java.lang.String text)
throws GranException
sc - session contexttoUserId - owner's idemailTypeId - template's idtype - email type's id (ContentType)subject - template of subjectfrom - from userreply - reply userscc - cc fieldtext - template text
GranExceptionEmailType,
ContentType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||