com.ibm.itim.dataservices.model.domain
Class NotificationTemplateImpl

java.lang.Object
  extended by com.ibm.itim.dataservices.model.domain.NotificationTemplateImpl

public class NotificationTemplateImpl
extends java.lang.Object

Search for a template.


Field Summary
static java.lang.String recertDeclineAccountDeleteDefaultTemplate
           
static java.lang.String recertDeclineAccountSuspendDefaultTemplate
           
static java.lang.String recertDeclineDeletesDefaultTemplate
           
static java.lang.String recertDeclineSuspendDefaultTemplate
           
 
Constructor Summary
NotificationTemplateImpl()
          Default constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recertDeclineSuspendDefaultTemplate

public static final java.lang.String recertDeclineSuspendDefaultTemplate
See Also:
Constant Field Values

recertDeclineDeletesDefaultTemplate

public static final java.lang.String recertDeclineDeletesDefaultTemplate
See Also:
Constant Field Values

recertDeclineAccountSuspendDefaultTemplate

public static final java.lang.String recertDeclineAccountSuspendDefaultTemplate
See Also:
Constant Field Values

recertDeclineAccountDeleteDefaultTemplate

public static final java.lang.String recertDeclineAccountDeleteDefaultTemplate
See Also:
Constant Field Values
Constructor Detail

NotificationTemplateImpl

public NotificationTemplateImpl()
Default constructor.

Method Detail

lookup

public NotificationTemplate lookup(DistinguishedName dn)
                            throws ObjectNotFoundException,
                                   ModelCommunicationException
Searches for a notification template object with the given distinguished name.

Parameters:
dn - DistinguishedName to search with.
Returns:
NotificationTemplate matching the given dn.
Throws:
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.

searchByType

public java.util.Collection searchByType(DistinguishedName configDN,
                                         int type)
                                  throws ObjectNotFoundException,
                                         ModelCommunicationException
Searches for notification template(s) with given configuration object and template type.

Parameters:
configDN - DistinguishedName of the configuration object of the search templates.
type - Notification template type. Must be one of the followings:
  • NotificationTemplate.RECERT_APPROVAL - for the approval node of recertification
  • NotificationTemplate.RECERT_WORKORDER - for the workorder node of recertification
Template type is required.
Returns:
Collection of notification templates (NotificationTemplate). If no template is found, returns empty collection.
Throws:
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.

searchByName

public java.util.Collection searchByName(DistinguishedName configDN,
                                         int type,
                                         java.lang.String name)
                                  throws ObjectNotFoundException,
                                         ModelCommunicationException
Searches for notification template(s) with given configuration object and template type.

Parameters:
configDN - DistinguishedName of the configuration object of the search templates.
type - Notification template type. Must be one of the followings:
  • NotificationTemplate.RECERT_APPROVAL - for the approval node of recertification
  • NotificationTemplate.RECERT_WORKORDER - for the workorder node of recertification
Template type is required.
name - template name.
Returns:
Collection of notification templates (NotificationTemplate). If no template is found, returns empty collection.
Throws:
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.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.