com.ibm.itim.dataservices.model.domain

Class NotificationTemplateImpl

  • java.lang.Object
    • com.ibm.itim.dataservices.model.domain.NotificationTemplateImpl


  • public class NotificationTemplateImpl
    extends java.lang.Object
    Search for a template.
    • 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

      • 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.