public class NotificationTemplateImpl
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
recertDeclineAccountDeleteDefaultTemplate |
static java.lang.String |
recertDeclineAccountSuspendDefaultTemplate |
static java.lang.String |
recertDeclineDeletesDefaultTemplate |
static java.lang.String |
recertDeclineSuspendDefaultTemplate |
| Constructor and Description |
|---|
NotificationTemplateImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NotificationTemplate |
lookup(DistinguishedName dn)
Searches for a notification template object with the given distinguished name.
|
java.util.Collection |
searchByName(DistinguishedName configDN,
int type,
java.lang.String name)
Searches for notification template(s) with given configuration object
and template type.
|
java.util.Collection |
searchByType(DistinguishedName configDN,
int type)
Searches for notification template(s) with given configuration object
and template type.
|
public static final java.lang.String recertDeclineSuspendDefaultTemplate
public static final java.lang.String recertDeclineDeletesDefaultTemplate
public static final java.lang.String recertDeclineAccountSuspendDefaultTemplate
public static final java.lang.String recertDeclineAccountDeleteDefaultTemplate
public NotificationTemplate lookup(DistinguishedName dn) throws ObjectNotFoundException, ModelCommunicationException
dn - DistinguishedName to search with.ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
entity in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public java.util.Collection searchByType(DistinguishedName configDN, int type) throws ObjectNotFoundException, ModelCommunicationException
configDN - DistinguishedName of the configuration object of the search templates.type - Notification template type. Must be one of the followings:
ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
entity in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.public java.util.Collection searchByName(DistinguishedName configDN, int type, java.lang.String name) throws ObjectNotFoundException, ModelCommunicationException
configDN - DistinguishedName of the configuration object of the search templates.type - Notification template type. Must be one of the followings:
name - template name.ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
entity in the data store. This may be due to an invalid
distinguished name, or the entity may have been removed by
another client.