public interface IAttestationDirect
extends common.direct.IDirect
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
| Modifier and Type | Method and Description |
|---|---|
AttestationBean |
cloneAttestation(java.lang.String attestationReviewName,
AttestationBean attestationBean,
com.engiweb.pm.dao.db.DAO connDao)
Clone attestation.
|
void |
createCampaign(AttestationBean attestationBean,
com.crossideas.certification.common.enumeration.CampaignStatus status,
java.lang.String userCode,
java.lang.String cod_oper,
com.engiweb.pm.dao.db.DAO connDao)
Creates the campaign in status ACTIVE or PROCESSING or PREVIEW
|
void |
delete(AttestationBean attestationBean,
com.engiweb.pm.dao.db.DAO connDao)
Delete an attestation.
|
com.engiweb.pm.entity.BeanList<AttestationBean> |
find(AttestationBean attestationBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findAttestationBlackList(AttestationBean attestationBean,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation black list.
|
com.engiweb.pm.entity.BeanList<AttestationBean> |
findAttestationByUserReviewerVisibilityUSC(AttestationBean attestationBean,
UserBean userBean,
java.lang.Integer reviewStepFilter,
java.lang.Integer reviewerOrSupervisor,
boolean onlySingleStep,
boolean calculateApplication,
boolean calculateStats,
boolean onlyVisible,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation by user reviewer visibility.
|
com.engiweb.pm.entity.BeanList<AttestationBean> |
findAttestationByUserVisibility(AttestationBean attestationBean,
UserBean userBean,
java.lang.Integer campaignType,
int reviewerOrSupervisor,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation by user visibility.
|
com.engiweb.pm.entity.BeanList<AttestationBean> |
findAttestationByUserVisibility(AttestationBean attestationBean,
UserBean userBean,
int campaignType,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation by user visibility.
|
com.engiweb.pm.entity.BeanList<AttestationPropBean> |
findAttestationProp(AttestationBean attestationBean,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation properties.
|
com.engiweb.pm.entity.BeanList<AttestationViewBean> |
findAttestationView(AttestationViewBean attViewBean,
AttestationBean attestationBean,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation view.
|
com.engiweb.pm.entity.BeanList<AttestationBean> |
findComplete(AttestationBean attestationBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation.
|
com.engiweb.pm.entity.BeanList<HierarchyBean> |
findHierarchy(HierarchyBean hierarchyBean,
com.engiweb.pm.web.bean.AbstractBean abstractBean,
AttestationBean attestationBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Returns hierarchies involved in campaign.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findSupervisor(UserBean supervisor,
AttestationBean attestationBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find supervisor.
|
AttestationBean |
getAttestationStat(AttestationBean attestationBean,
UserBean userBean,
com.engiweb.pm.dao.db.DAO connDao) |
java.util.List<java.lang.Integer> |
getViewableStepByUserVisibility(AttestationBean attestationBean,
UserBean userBean,
com.engiweb.pm.dao.db.DAO connDao)
Find attestation by user visibility.
|
AttestationBean |
insert(AttestationBean attestationBean,
com.engiweb.pm.entity.BeanList<AttestationPropBean> attPropList,
com.engiweb.pm.entity.BeanList<UserBean> blackList,
com.engiweb.pm.entity.BeanList<UserBean> supervisorList,
java.lang.String userInfo,
com.engiweb.pm.dao.db.DAO connDao)
Insert an attestation.
|
void |
updateAttestation(AttestationBean attestationBean,
com.engiweb.pm.entity.BeanList<AttestationPropBean> attPropList,
com.engiweb.pm.entity.BeanList<UserBean> blackList,
com.engiweb.pm.entity.BeanList<UserBean> supervisorList,
java.lang.String userCode,
java.lang.String cod_oper,
com.engiweb.pm.dao.db.DAO connDao)
Update an attestation with passed values.
|
void |
updateAttestationView(com.engiweb.pm.entity.BeanList<AttestationViewBean> attestationViewBeanList,
AttestationBean attestationBean,
com.engiweb.pm.dao.db.DAO connDao)
Update attestation view.
|
static final java.lang.String COPYRIGHT
com.engiweb.pm.entity.BeanList<AttestationBean> find(AttestationBean attestationBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanpaging - Paging the pagingconnDao - DAO the connection daoBeanList of AttestationBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<HierarchyBean> findHierarchy(HierarchyBean hierarchyBean, com.engiweb.pm.web.bean.AbstractBean abstractBean, AttestationBean attestationBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
hierarchyBean - HierarchyBeanabstractBean - filter bean that can be set to UserBean if attestationBean type is PERSON_ENTITLEMENT or GroupBean if attestationBean type is OU_ENTITLEMENTattestationBean - AttestationBean mandatory the attestation beanpaging - Paging the pagingconnDao - DAO the connection daoBeanList of AttestationBeancom.engiweb.toolkit.common.BackendException - the backend exception if attestatation type is different by PERSON_ENTITLEMENT or OU_ENTITLEMENTcom.engiweb.pm.entity.BeanList<AttestationBean> findComplete(AttestationBean attestationBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanpaging - Paging the pagingconnDao - DAO the connection daoBeanList of AttestationBeancom.engiweb.toolkit.common.BackendException - the backend exceptionAttestationBean insert(AttestationBean attestationBean, com.engiweb.pm.entity.BeanList<AttestationPropBean> attPropList, com.engiweb.pm.entity.BeanList<UserBean> blackList, com.engiweb.pm.entity.BeanList<UserBean> supervisorList, java.lang.String userInfo, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation to insertattPropList - BeanList of AttestationPropBean the attestation property listblackList - BeanList of UserBean the black listsupervisorList - BeanList of UserBean the supervisor listuserInfo - String the user info (insert with this format: 'userSurname userName [userCode]')connDao - DAO the connection daoAttestationBean the attestation beancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid updateAttestation(AttestationBean attestationBean, com.engiweb.pm.entity.BeanList<AttestationPropBean> attPropList, com.engiweb.pm.entity.BeanList<UserBean> blackList, com.engiweb.pm.entity.BeanList<UserBean> supervisorList, java.lang.String userCode, java.lang.String cod_oper, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation to updateattPropList - BeanList of AttestationPropBean the attestation property listblackList - BeanList of UserBean the black listsupervisorList - BeanList of UserBean the supervisor listuserCode - String the code of current usercod_oper - String Code operation.connDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid delete(AttestationBean attestationBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation to deleteconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid createCampaign(AttestationBean attestationBean, com.crossideas.certification.common.enumeration.CampaignStatus status, java.lang.String userCode, java.lang.String cod_oper, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanstatus - CampaignStatus the possible campaign status
CampaignStatus.ACTIVE
CampaignStatus.PROCESSING
CampaignStatus.PREVIEW
userCode - Stringthe code of current usercod_oper - String Code operation.connDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<AttestationPropBean> findAttestationProp(AttestationBean attestationBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation which find the propertiesconnDao - DAO the connection daoBeanList of AttestationPropBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findSupervisor(UserBean supervisor, AttestationBean attestationBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
supervisor - UserBean the supervisorattestationBean - AttestationBean the attestation beanpaging - Paging the pagingconnDao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findAttestationBlackList(AttestationBean attestationBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanconnDao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<AttestationBean> findAttestationByUserVisibility(AttestationBean attestationBean, UserBean userBean, int campaignType, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanuserBean - UserBean the user beancampaignType - int : the possible campaign type
AttestationTypes.PERSON_ENTITLEMENT
AttestationTypes.OU_ENTITLEMENT
AttestationTypes.PERSON_REMEDIATION
paging - Paging the pagingconnDao - DAO the connection daoBeanList of AttestationBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<AttestationBean> findAttestationByUserVisibility(AttestationBean attestationBean, UserBean userBean, java.lang.Integer campaignType, int reviewerOrSupervisor, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanuserBean - UserBean the user beancampaignType - Integer : the possible campaign type
AttestationTypes.PERSON_ENTITLEMENT
AttestationTypes.OU_ENTITLEMENT
AttestationTypes.PERSON_REMEDIATION
AttestationTypes.ENTITLEMENT AttestationTypes.ACCOUNT
reviewerOrSupervisor - int : AttestationRes.REVIEWER or AttestationRes.SUPERVISORconnDao - DAO the connection daoBeanList of AttestationBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<AttestationBean> findAttestationByUserReviewerVisibilityUSC(AttestationBean attestationBean, UserBean userBean, java.lang.Integer reviewStepFilter, java.lang.Integer reviewerOrSupervisor, boolean onlySingleStep, boolean calculateApplication, boolean calculateStats, boolean onlyVisible, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanuserBean - UserBean the user beanreviewStepFilter - Integer : review step of the campaign to calculate info about application involved into campaign.onlySingleStep - boolean : to filter and find only to campaign single step.calcuateApplication - boolean : to calculate which applications are involved into the campaign.connDao - DAO the connection daoBeanList of AttestationBeancom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.List<java.lang.Integer> getViewableStepByUserVisibility(AttestationBean attestationBean, UserBean userBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationBean - AttestationBean the attestation beanuserBean - UserBean the user beanconnDao - DAO the connection daoBeanList of AttestationBeancom.engiweb.toolkit.common.BackendException - the backend exceptionAttestationBean cloneAttestation(java.lang.String attestationReviewName, AttestationBean attestationBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationReviewName - String The name of the new review, clone of the passed review. It is no mandadtory. If null or empty the name of the new review will be the old review name concat with random
numberattestationBean - AttestationBean The review to be clonedconnDao - DAO the connection daoAttestationBean the attestation bean cloned.com.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<AttestationViewBean> findAttestationView(AttestationViewBean attViewBean, AttestationBean attestationBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attViewBean - AttestationViewBean the attestation viewattestationBean - AttestationBean the attestationconnDao - DAO the connection daoBeanList of AttestationViewBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid updateAttestationView(com.engiweb.pm.entity.BeanList<AttestationViewBean> attestationViewBeanList, AttestationBean attestationBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
attestationViewBeanList - BeanList of AttestationViewBean the list of attestation viewattestationBean - AttestationBean the attestation beanconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionAttestationBean getAttestationStat(AttestationBean attestationBean, UserBean userBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendException