com.engiweb.profilemanager.common.interfaces

Interface IExternalRoleDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface IExternalRoleDirect
    extends common.direct.IDirect
    The IExternalRoleDirect interface allows a client to retrieve and manage all information about external role
    Author:
    CrossIdeas developer group
    • Method Detail

      • updateExtRole

        EntitlementBean updateExtRole(EntitlementBean entitlementBean,
                                      com.engiweb.pm.dao.db.DAO connDao)
                               throws com.engiweb.toolkit.common.BackendException
        Parameters:
        entitlementBean -
        dao -
        Returns:
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addExtRoleChild

        void addExtRoleChild(com.engiweb.pm.entity.BeanList<EntitlementBean> entitlementBeanList,
                             EntitlementBean parentExtRole,
                             com.engiweb.pm.dao.db.DAO connDao)
                      throws com.engiweb.toolkit.common.BackendException
        Adds the ext role child.
        Parameters:
        entitlementBeanList - BeanList of EntitlementBean the entitlement list
        parentExtRole - EntitlementBean the parent ext role
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removeExtRoleChild

        void removeExtRoleChild(EntitlementBean childEntitlementBean,
                                EntitlementBean parentExtRole,
                                com.engiweb.pm.dao.db.DAO connDao)
                         throws com.engiweb.toolkit.common.BackendException
        Removes the ext role child.
        Parameters:
        childEntitlementBean - EntitlementBean the child entitlement
        parentExtRole - EntitlementBean the parent ext role
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • insertExternalRole

        EntitlementBean insertExternalRole(EntitlementBean entitlementBean,
                                           com.engiweb.pm.dao.db.DAO connDao)
                                    throws com.engiweb.toolkit.common.BackendException
        This method creates an External Role. Safe create feature is enabled, do update if object already exists.
        Parameters:
        entitlementBean - EntitlementBean external role to add.
        dao - DAO the connection dao
        Returns:
        EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • insertExternalRole

        EntitlementBean insertExternalRole(EntitlementBean entitlementBean,
                                           boolean safeCreate,
                                           com.engiweb.pm.dao.db.DAO connDao)
                                    throws com.engiweb.toolkit.common.BackendException
        This method creates an External Role.
        Parameters:
        entitlementBean - EntitlementBean external role to add.
        safeCreate - boolean true - do an update if the external role already exists; false - throws exception if the external role already exists
        dao - DAO the connection dao
        Returns:
        EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • deleteExternalRole

        void deleteExternalRole(EntitlementBean entitlementBean,
                                com.engiweb.pm.dao.db.DAO connDao)
                         throws com.engiweb.toolkit.common.BackendException
        Delete external role.
        Parameters:
        entitlementBean - EntitlementBean the entitlement
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • checkExternalTarget

        void checkExternalTarget(com.engiweb.pm.dao.db.DAO connDao)
                          throws com.engiweb.toolkit.common.BackendException
        Parameters:
        connDao -
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findExternalRole

        com.engiweb.pm.entity.BeanList<EntitlementBean> findExternalRole(EntitlementBean entitlementBean,
                                                                         ApplicationBean applicationBean,
                                                                         java.lang.Boolean isFulFilled,
                                                                         com.engiweb.pm.entity.Paging paging,
                                                                         com.engiweb.pm.dao.db.DAO connDao)
                                                                  throws com.engiweb.toolkit.common.BackendException
        Find External Roles.
        Parameters:
        entitlementBean - EntitlementBean the entitlement
        applicationBean - EntitlementBean the application
        isFulFilled - EntitlementBean is fulfilled
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception