|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.DirectoryEntry
com.ibm.itim.dataservices.model.domain.NotificationTemplate
public class NotificationTemplate
Represents a template for a notification message.
Field Summary | |
---|---|
static int |
MAIL_TEMPLATE
|
static int |
MANUAL_SERVICE_MODE
|
static int |
PROVISIONINGRECERT_WORKORDER
|
static int |
RECERT_APPROVAL
|
static int |
RECERT_WORKORDER
|
static int |
SODRECERT_WORKORDER
|
static int |
UNDEFINED_TYPE
Type of template must one of the following values: RECERT_APPROVAL - for the approval node of recertification RECERT_WORKORDER - for the workorder node of recertification MAIL_TEMPLATE - for the mail template USERRECERT_APPROVAL - for the approval node of user recertification USERRECERT_WORKORDER - for the workorder node of user recertification SODRECERT_WORKORDER - for the workorder node of sod recertification PROVISIONINGRECERT_WORKORDER - for the workorder node of provisioning recertification MANUAL_SERVICE_MODE - for the manual and manual connected service default template |
static int |
USERRECERT_APPROVAL
|
static int |
USERRECERT_WORKORDER
|
Constructor Summary | |
---|---|
NotificationTemplate()
Default constructor. |
|
NotificationTemplate(java.lang.String name,
boolean enable,
java.lang.String subject,
java.lang.String text,
java.lang.String html)
Constructs with full set of parameters. |
|
NotificationTemplate(java.lang.String name,
java.lang.String subject,
java.lang.String text,
java.lang.String html)
Constructs with full set of parameters. |
Method Summary | |
---|---|
void |
disableReadOnly()
Disable the readonly property for the notification template. |
void |
enableReadOnly()
Enable the readonly property for the notification template. |
java.lang.String |
getHTMLBody()
Returns the template for the HTML body of the notification. |
java.lang.String |
getName()
Returns the name of the notification template. |
java.lang.String |
getSubject()
Returns the template for the subject of the notification. |
java.lang.String |
getTextBody()
Returns the template for the text body of the notification. |
int |
getType()
Returns type of the of the notification template. |
boolean |
isEnabled()
Determines if the the notification template is enabled. |
boolean |
isReadOnly()
Determine if the content of the template can be modified or altered. |
void |
setHTMLBody(java.lang.String html)
Changes the template for the HTML body of the notification. |
void |
setIsEnabled(boolean enable)
Enable or Disable the notification template. |
void |
setName(java.lang.String name)
Sets the name of the notification template. |
void |
setSubject(java.lang.String subject)
Changes the template for the subject of the notification. |
void |
setTextBody(java.lang.String text)
Changes the template for the text body of the notification. |
void |
setType(int templateType)
Changes the type of notification template. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry |
---|
addAttribute, addAttributeValues, clearChange, clearChanges, getAttribute, getAttributes, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, removeAttribute, removeAttribute, setAttribute, setAttributes, setDistinguishedName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNDEFINED_TYPE
public static final int RECERT_APPROVAL
public static final int RECERT_WORKORDER
public static final int MAIL_TEMPLATE
public static final int USERRECERT_APPROVAL
public static final int USERRECERT_WORKORDER
public static final int SODRECERT_WORKORDER
public static final int PROVISIONINGRECERT_WORKORDER
public static final int MANUAL_SERVICE_MODE
Constructor Detail |
---|
public NotificationTemplate()
public NotificationTemplate(java.lang.String name, java.lang.String subject, java.lang.String text, java.lang.String html)
subject
- Template for the subject of the notification.text
- Template for the text body of the notification.html
- Template for the HTML body of the notification.public NotificationTemplate(java.lang.String name, boolean enable, java.lang.String subject, java.lang.String text, java.lang.String html)
subject
- Template for the subject of the notification.text
- Template for the text body of the notification.html
- Template for the HTML body of the notification.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- of the template.public boolean isEnabled()
public void setIsEnabled(boolean enable)
enable
- boolean value to enable or disable the template.public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject
- Template for the subject of the notification.public java.lang.String getTextBody()
public void setTextBody(java.lang.String text)
text
- Template for the text body of the notification.public java.lang.String getHTMLBody()
public void setHTMLBody(java.lang.String html)
html
- Template for the HTML body of the notification.public int getType()
public void setType(int templateType)
templateType
- type of the notification template. It must be one of the
following values:
public void enableReadOnly()
public void disableReadOnly()
public boolean isReadOnly()
public java.lang.String toString()
DirectoryEntry
toString
in class DirectoryEntry
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |