com.crossideas.certification.common.interfaces

Interface IAccountReviewDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface IAccountReviewDirect
    extends common.direct.IDirect
    • Method Detail

      • approve

        void approve(com.engiweb.pm.entity.BeanList<AccountReviewBean> blReviewBean,
                     java.lang.String note,
                     java.lang.String userLoggedCode,
                     com.engiweb.pm.dao.db.DAO connDao)
              throws com.engiweb.toolkit.common.BackendException
        Approve a list of account reviews.
        Parameters:
        blReviewBean - BeanList of AccountReviewBean
        note - String
        userLoggedCode - the code of user logged
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • revoke

        void revoke(com.engiweb.pm.entity.BeanList<AccountReviewBean> blReviewBean,
                    java.lang.String note,
                    java.lang.String userLoggedCode,
                    com.engiweb.pm.dao.db.DAO connDao)
             throws com.engiweb.toolkit.common.BackendException
        Revoke a list of account reviews.
        Parameters:
        blReviewBean - BeanList of AccountReviewBean
        note - String
        userLoggedCode - the code of user logged
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • redirect

        void redirect(com.engiweb.pm.entity.BeanList<AccountReviewBean> blReviewBean,
                      AttestationBean attestationBean,
                      ReviewNoteBean noteBean,
                      com.engiweb.pm.dao.db.DAO connDao)
               throws com.engiweb.toolkit.common.BackendException
        Redirect a list of account reviews. If reviews has never been redirected or is in RETURNED status previousOwner field must be set to perform the redirection. If reviews is in REDIRECTED status, reviews is returned to the previous reviewer.
        Parameters:
        blReviewBean - BeanList of AccountReviewBean
        attestationBean - AttestationBean mandatory and unique
        noteBean - ReviewNoteBean
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • escalate

        void escalate(com.engiweb.pm.entity.BeanList<AccountReviewBean> accountReviewBeans,
                      AttestationBean attestationBean,
                      ReviewNoteBean noteBean,
                      com.engiweb.pm.dao.db.DAO connDao)
               throws com.engiweb.toolkit.common.BackendException
        Escalate a list of account reviews.
        Parameters:
        accountReviewBeans - BeanList of AccountReviewBean the account review beans
        attestationBean - AttestationBean the attestation bean
        noteBean - ReviewNoteBean
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • signOff

        void signOff(com.engiweb.pm.entity.BeanList<AccountReviewBean> accountReviewBeans,
                     java.lang.String userLoggedCode,
                     com.engiweb.pm.dao.db.DAO connDao)
              throws com.engiweb.toolkit.common.BackendException
        Sign off all user account passed that have been processed (approved or revoked), valid, and not signed off yet.
        Parameters:
        accountReviewBeans - BeanList of AccountReviewBean the account review beans
        userLoggedCode - String the code of user logged
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findMessage

        com.engiweb.pm.entity.BeanList<ReviewNoteBean> findMessage(ReviewNoteBean reviewNoteBean,
                                                                   AccountReviewBean accountReviewBean,
                                                                   com.engiweb.pm.entity.Paging paging,
                                                                   com.engiweb.pm.dao.db.DAO connDao)
                                                            throws com.engiweb.toolkit.common.BackendException
        Find message.
        Parameters:
        reviewNoteBean - ReviewNoteBean the review note bean
        accountReviewBean - AccountReviewBean the account review bean
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of ReviewNoteBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findReviewHistory

        com.engiweb.pm.entity.BeanList<AccountReviewHistoryBean> findReviewHistory(java.lang.String pwdCfgName,
                                                                                   UserBean userBean,
                                                                                   com.crossideas.certification.common.enumeration.ReviewStatus reviewStatus,
                                                                                   com.engiweb.pm.entity.Paging paging,
                                                                                   com.engiweb.pm.dao.db.DAO connDao)
                                                                            throws com.engiweb.toolkit.common.BackendException
        Find review history.
        Parameters:
        pwdCfgName - String The name of the configuration
        userBean - UserBeanthe user bean
        reviewStatus - ReviewStatusthe review status
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of AccountReviewHistoryBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • rollback

        void rollback(com.engiweb.pm.entity.BeanList<AccountReviewBean> blReviewBean,
                      java.lang.String userLoggedCode,
                      com.engiweb.pm.dao.db.DAO connDao)
               throws com.engiweb.toolkit.common.BackendException
        Rollback.
        Parameters:
        blReviewBean - BeanList of AccountReviewBean
        userLoggedCode - String the code of user logged
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • updateNote

        void updateNote(com.engiweb.pm.entity.BeanList<AccountReviewBean> blReviewBean,
                        java.lang.String note,
                        java.lang.String userLoggedCode,
                        com.engiweb.pm.dao.db.DAO connDao)
                 throws com.engiweb.toolkit.common.BackendException
        Update note.
        Parameters:
        blReviewBean - BeanList of AccountReviewBean
        note - String the note
        userLoggedCode - String the code of user logged
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findReviewersForRedirect

        com.engiweb.pm.entity.BeanList<UserBean> findReviewersForRedirect(UserBean userBean,
                                                                          GroupBean groupBean,
                                                                          HierarchyBean hierarchyBean,
                                                                          boolean hier,
                                                                          com.engiweb.pm.entity.BeanList<AccountReviewBean> accountReviewList,
                                                                          com.engiweb.pm.dao.db.DAO connDao)
                                                                   throws com.engiweb.toolkit.common.BackendException
        Find reviewers for redirect
        Parameters:
        userBean - UserBean
        groupBean - GroupBean
        hierarchyBean - HierarchyBean
        hier - boolean: if true research must be performed hierarchically, false otherwise
        accountReviewList - BeanList of AccountReviewBean the account review list
        connDao - DAO the connection dao
        Returns:
        BeanList of UserBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findSupervisorsForEscalate

        com.engiweb.pm.entity.BeanList<UserBean> findSupervisorsForEscalate(com.engiweb.pm.entity.BeanList<AccountReviewBean> accountReviewList,
                                                                            com.engiweb.pm.dao.db.DAO connDao)
                                                                     throws com.engiweb.toolkit.common.BackendException
        Find supervisors for escalate.
        Parameters:
        accountReviewList - BeanList of AccountReviewBean
        connDao - DAO the connection dao
        Returns:
        BeanList of UserBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findReviewer

        com.engiweb.pm.entity.BeanList<UserReviewBean> findReviewer(UserBean userBean,
                                                                    GroupBean groupBean,
                                                                    HierarchyBean hierarchyBean,
                                                                    boolean hier,
                                                                    AttestationBean attestationBean,
                                                                    com.engiweb.pm.entity.Paging paging,
                                                                    com.engiweb.pm.dao.db.DAO connDao)
                                                             throws com.engiweb.toolkit.common.BackendException
        Find reviewer.
        Parameters:
        userBean - UserBean the user bean
        groupBean - GroupBean the group bean
        hierarchyBean - HierarchyBean the hierarchy
        hier - boolean: if true research must be performed hierarchically, false otherwise
        attestationBean - AttestationBean the attestation bean
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of UserReviewBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findReviewStats

        java.util.HashMap<java.lang.String,java.lang.Integer> findReviewStats(UserBean userBean,
                                                                              AttestationBean attestationBean,
                                                                              com.engiweb.pm.dao.db.DAO connDao)
                                                                       throws com.engiweb.toolkit.common.BackendException
        Find review statistic
        Parameters:
        userBean - UserBean the user bean
        attestationBean - AttestationBean the attestation bean
        connDao - DAO the connection dao
        Returns:
        the hash map
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findTotalReview

        com.engiweb.pm.entity.BeanList<AccountReviewBean> findTotalReview(AccountReviewBean accountReviewBean,
                                                                          boolean hier,
                                                                          java.lang.Boolean incompUser,
                                                                          com.crossideas.certification.common.util.ReviewOption reviewOption,
                                                                          AttestationBean attestationBean,
                                                                          UserBean userLogged,
                                                                          com.engiweb.pm.entity.Paging paging,
                                                                          com.engiweb.pm.dao.db.DAO connDao)
                                                                   throws com.engiweb.toolkit.common.BackendException
        Find total review.
        Parameters:
        accountReviewBean - AccountReviewBean the account review bean
        hier - boolean: if true research must be performed hierarchically, false otherwise
        incompUser - Boolean the incomp user
        reviewOption - ReviewOption the review option
        attestationBean - AttestationBean the attestation bean
        userLogged - UserBean the user logged
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of AccountReviewBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findTotalReview

        com.engiweb.pm.entity.BeanList<AccountReviewBean> findTotalReview(AccountReviewBean accountReviewBean,
                                                                          boolean hier,
                                                                          java.lang.Boolean incompUser,
                                                                          com.crossideas.certification.common.util.ReviewOption reviewOption,
                                                                          AttestationBean attestationBean,
                                                                          UserBean userLogged,
                                                                          TaskBean taskBean,
                                                                          boolean taskHier,
                                                                          com.engiweb.pm.entity.Paging paging,
                                                                          com.engiweb.pm.dao.db.DAO connDao)
                                                                   throws com.engiweb.toolkit.common.BackendException
        Find total review.
        Parameters:
        accountReviewBean - AccountReviewBean the account review bean
        hier - boolean: if true research must be performed hierarchically, false otherwise
        incompUser - Boolean the incomp user
        reviewOption - ReviewOption the review option
        attestationBean - AttestationBean the attestation bean
        userLogged - UserBean the user logged
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of AccountReviewBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception