use of com.netsteadfast.greenstep.bsc.vo.StrategyMapItemsVO in project bamboobsc by billchen198318.
the class StrategyMapManagementAction method loadRecord.
private void loadRecord() throws ControllerException, ServiceException, Exception {
if (StringUtils.isBlank(this.visionOid) || super.isNoSelectId(this.visionOid)) {
throw new ControllerException(this.getText("MESSAGE.BSC_PROG002D0007Q_vision"));
}
Context context = this.getChainContext();
SimpleChain chain = new SimpleChain();
ChainResultObj resultObj = chain.getResultFromResource("strategyMapItemsForRecChain", context);
this.setPageMessage(resultObj.getMessage());
if (resultObj.getValue() instanceof StrategyMapItemsVO) {
this.divItems = ((StrategyMapItemsVO) resultObj.getValue()).getDiv();
this.cssItems = ((StrategyMapItemsVO) resultObj.getValue()).getCss();
this.conItems = ((StrategyMapItemsVO) resultObj.getValue()).getCon();
}
}
use of com.netsteadfast.greenstep.bsc.vo.StrategyMapItemsVO in project bamboobsc by billchen198318.
the class StrategyMapManagementAction method loadNew.
private void loadNew() throws ControllerException, ServiceException, Exception {
if (StringUtils.isBlank(this.visionOid) || super.isNoSelectId(this.visionOid)) {
throw new ControllerException(this.getText("MESSAGE.BSC_PROG002D0007Q_vision"));
}
Context context = this.getChainContext();
SimpleChain chain = new SimpleChain();
ChainResultObj resultObj = chain.getResultFromResource("strategyMapItemsForNewChain", context);
this.setPageMessage(resultObj.getMessage());
if (resultObj.getValue() instanceof StrategyMapItemsVO) {
this.divItems = ((StrategyMapItemsVO) resultObj.getValue()).getDiv();
this.cssItems = ((StrategyMapItemsVO) resultObj.getValue()).getCss();
}
}
Aggregations