org.jbpm.services.task.identity

## Class DBUserInfoImpl

- java.lang.Object
- - org.jbpm.services.task.identity.AbstractUserGroupInfo
  - - org.jbpm.services.task.identity.DBUserInfoImpl

- All Implemented Interfaces:
    org.kie.api.task.UserInfo

      public class DBUserInfoImpl
      extends AbstractUserGroupInfo
      implements org.kie.internal.task.api.UserInfo

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static String` | `DEFAULT_PROPERTIES_NAME`
    `static String` | `DS_JNDI_NAME`
    `static String` | `EMAIL_QUERY`
    `static String` | `HAS_EMAIL_QUERY`
    `static String` | `ID_QUERY`
    `static String` | `LANG_QUERY`
    `static String` | `MEMBERS_QUERY`
    `static String` | `NAME_QUERY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DBUserInfoImpl(boolean activate)`
    `DBUserInfoImpl(Properties config)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected Connection` | `getConnection()`
    `String` | `getDisplayName(org.kie.api.task.model.OrganizationalEntity entity)`
    `String` | `getEmailForEntity(org.kie.api.task.model.OrganizationalEntity entity)`
    `String` | `getEntityForEmail(String email)`
    `String` | `getLanguageForEntity(org.kie.api.task.model.OrganizationalEntity entity)`
    `Iterator<org.kie.api.task.model.OrganizationalEntity>` | `getMembersForGroup(org.kie.api.task.model.Group group)`
    `boolean` | `hasEmail(org.kie.api.task.model.Group group)`

    - ### Methods inherited from class org.jbpm.services.task.identity.AbstractUserGroupInfo

      `readProperties`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### DEFAULT_PROPERTIES_NAME

          protected static final String DEFAULT_PROPERTIES_NAME

      See Also:
        Constant Field Values

    - #### DS_JNDI_NAME

          public static final String DS_JNDI_NAME

      See Also:
        Constant Field Values

    - #### NAME_QUERY

          public static final String NAME_QUERY

      See Also:
        Constant Field Values

    - #### EMAIL_QUERY

          public static final String EMAIL_QUERY

      See Also:
        Constant Field Values

    - #### LANG_QUERY

          public static final String LANG_QUERY

      See Also:
        Constant Field Values

    - #### HAS_EMAIL_QUERY

          public static final String HAS_EMAIL_QUERY

      See Also:
        Constant Field Values

    - #### MEMBERS_QUERY

          public static final String MEMBERS_QUERY

      See Also:
        Constant Field Values

    - #### ID_QUERY

          public static final String ID_QUERY

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### DBUserInfoImpl

          public DBUserInfoImpl(boolean activate)

    - #### DBUserInfoImpl

          public DBUserInfoImpl(Properties config)

  - ### Method Detail

    - #### getConnection

          protected Connection getConnection()
                                      throws SQLException

      Throws:
        `SQLException`

    - #### getDisplayName

          public String getDisplayName(org.kie.api.task.model.OrganizationalEntity entity)

      Specified by:
        `getDisplayName` in interface `org.kie.api.task.UserInfo`

    - #### getEntityForEmail

          public String getEntityForEmail(String email)

    - #### getMembersForGroup

          public Iterator<org.kie.api.task.model.OrganizationalEntity> getMembersForGroup(org.kie.api.task.model.Group group)

      Specified by:
        `getMembersForGroup` in interface `org.kie.api.task.UserInfo`

    - #### hasEmail

          public boolean hasEmail(org.kie.api.task.model.Group group)

      Specified by:
        `hasEmail` in interface `org.kie.api.task.UserInfo`

    - #### getEmailForEntity

          public String getEmailForEntity(org.kie.api.task.model.OrganizationalEntity entity)

      Specified by:
        `getEmailForEntity` in interface `org.kie.api.task.UserInfo`

    - #### getLanguageForEntity

          public String getLanguageForEntity(org.kie.api.task.model.OrganizationalEntity entity)

      Specified by:
        `getLanguageForEntity` in interface `org.kie.api.task.UserInfo`

Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.