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

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


     * @param indexNumber the primary key for the new l f activity
     * @return the new l f activity
     */
    @Override
    public LFActivity create(long indexNumber) {
        LFActivity lfActivity = new LFActivityImpl();

        lfActivity.setNew(true);
        lfActivity.setPrimaryKey(indexNumber);

        return lfActivity;
    }
View Full Code Here


    protected LFActivity toUnwrappedModel(LFActivity lfActivity) {
        if (lfActivity instanceof LFActivityImpl) {
            return lfActivity;
        }

        LFActivityImpl lfActivityImpl = new LFActivityImpl();

        lfActivityImpl.setNew(lfActivity.isNew());
        lfActivityImpl.setPrimaryKey(lfActivity.getPrimaryKey());

        lfActivityImpl.setIndexNumber(lfActivity.getIndexNumber());
        lfActivityImpl.setId(lfActivity.getId());
        lfActivityImpl.setPackageID(lfActivity.getPackageID());
        lfActivityImpl.setOrganizationID(lfActivity.getOrganizationID());
        lfActivityImpl.setParentID(lfActivity.getParentID());
        lfActivityImpl.setTitle(lfActivity.getTitle());
        lfActivityImpl.setIdentifierRef(lfActivity.getIdentifierRef());
        lfActivityImpl.setResourceParameters(lfActivity.getResourceParameters());
        lfActivityImpl.setHideLMSUI(lfActivity.getHideLMSUI());
        lfActivityImpl.setVisible(lfActivity.isVisible());
        lfActivityImpl.setObjectivesGlobalToSystem(lfActivity.isObjectivesGlobalToSystem());
        lfActivityImpl.setSharedDataGlobalToSystem(lfActivity.isSharedDataGlobalToSystem());
        lfActivityImpl.setMasteryScore(lfActivity.getMasteryScore());
        lfActivityImpl.setMaxTimeAllowed(lfActivity.getMaxTimeAllowed());

        return lfActivityImpl;
    }
View Full Code Here

TOP

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

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.