Search in sources :

Example 1 with PdcaProjectRelatedVO

use of com.netsteadfast.greenstep.bsc.vo.PdcaProjectRelatedVO in project bamboobsc by billchen198318.

the class PdcaLogicServiceImpl method findProjectRelated.

@ServiceMethodAuthority(type = { ServiceMethodType.SELECT })
@Override
public PdcaProjectRelatedVO findProjectRelated(String pdcaOid) throws ServiceException, Exception {
    if (super.isBlank(pdcaOid)) {
        throw new ServiceException(SysMessageUtil.get(GreenStepSysMsgConstants.PARAMS_BLANK));
    }
    PdcaVO pdca = this.findPdca(pdcaOid);
    PdcaProjectRelatedVO projectRelated = new PdcaProjectRelatedVO();
    projectRelated.setProject(pdca);
    this.findProjectRelatedParent(projectRelated, pdca);
    this.findProjectRelatedChild(projectRelated, pdca);
    return projectRelated;
}
Also used : ServiceException(com.netsteadfast.greenstep.base.exception.ServiceException) PdcaProjectRelatedVO(com.netsteadfast.greenstep.bsc.vo.PdcaProjectRelatedVO) PdcaVO(com.netsteadfast.greenstep.vo.PdcaVO) ServiceMethodAuthority(com.netsteadfast.greenstep.base.model.ServiceMethodAuthority)

Aggregations

ServiceException (com.netsteadfast.greenstep.base.exception.ServiceException)1 ServiceMethodAuthority (com.netsteadfast.greenstep.base.model.ServiceMethodAuthority)1 PdcaProjectRelatedVO (com.netsteadfast.greenstep.bsc.vo.PdcaProjectRelatedVO)1 PdcaVO (com.netsteadfast.greenstep.vo.PdcaVO)1