Package com.arcusys.learn.persistence.liferay.model.impl

Examples of com.arcusys.learn.persistence.liferay.model.impl.LFConditionRuleImpl


     * @param id the primary key for the new l f condition rule
     * @return the new l f condition rule
     */
    @Override
    public LFConditionRule create(long id) {
        LFConditionRule lfConditionRule = new LFConditionRuleImpl();

        lfConditionRule.setNew(true);
        lfConditionRule.setPrimaryKey(id);

        return lfConditionRule;
    }
View Full Code Here


    protected LFConditionRule toUnwrappedModel(LFConditionRule lfConditionRule) {
        if (lfConditionRule instanceof LFConditionRuleImpl) {
            return lfConditionRule;
        }

        LFConditionRuleImpl lfConditionRuleImpl = new LFConditionRuleImpl();

        lfConditionRuleImpl.setNew(lfConditionRule.isNew());
        lfConditionRuleImpl.setPrimaryKey(lfConditionRule.getPrimaryKey());

        lfConditionRuleImpl.setId(lfConditionRule.getId());
        lfConditionRuleImpl.setSequencingID(lfConditionRule.getSequencingID());
        lfConditionRuleImpl.setCombination(lfConditionRule.getCombination());
        lfConditionRuleImpl.setRuleType(lfConditionRule.getRuleType());
        lfConditionRuleImpl.setAction(lfConditionRule.getAction());

        return lfConditionRuleImpl;
    }
View Full Code Here

TOP

Related Classes of com.arcusys.learn.persistence.liferay.model.impl.LFConditionRuleImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.