Examples of LFRollupRuleImpl


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

     * @param id the primary key for the new l f rollup rule
     * @return the new l f rollup rule
     */
    @Override
    public LFRollupRule create(long id) {
        LFRollupRule lfRollupRule = new LFRollupRuleImpl();

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

        return lfRollupRule;
    }
View Full Code Here

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

    protected LFRollupRule toUnwrappedModel(LFRollupRule lfRollupRule) {
        if (lfRollupRule instanceof LFRollupRuleImpl) {
            return lfRollupRule;
        }

        LFRollupRuleImpl lfRollupRuleImpl = new LFRollupRuleImpl();

        lfRollupRuleImpl.setNew(lfRollupRule.isNew());
        lfRollupRuleImpl.setPrimaryKey(lfRollupRule.getPrimaryKey());

        lfRollupRuleImpl.setId(lfRollupRule.getId());
        lfRollupRuleImpl.setSequencingID(lfRollupRule.getSequencingID());
        lfRollupRuleImpl.setCombination(lfRollupRule.getCombination());
        lfRollupRuleImpl.setChildActivitySet(lfRollupRule.getChildActivitySet());
        lfRollupRuleImpl.setMinimumCount(lfRollupRule.getMinimumCount());
        lfRollupRuleImpl.setMinimumPercent(lfRollupRule.getMinimumPercent());
        lfRollupRuleImpl.setAction(lfRollupRule.getAction());

        return lfRollupRuleImpl;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.