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

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


     * @param id the primary key for the new l f attempt
     * @return the new l f attempt
     */
    @Override
    public LFAttempt create(long id) {
        LFAttempt lfAttempt = new LFAttemptImpl();

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

        return lfAttempt;
    }
View Full Code Here


    protected LFAttempt toUnwrappedModel(LFAttempt lfAttempt) {
        if (lfAttempt instanceof LFAttemptImpl) {
            return lfAttempt;
        }

        LFAttemptImpl lfAttemptImpl = new LFAttemptImpl();

        lfAttemptImpl.setNew(lfAttempt.isNew());
        lfAttemptImpl.setPrimaryKey(lfAttempt.getPrimaryKey());

        lfAttemptImpl.setId(lfAttempt.getId());
        lfAttemptImpl.setUserID(lfAttempt.getUserID());
        lfAttemptImpl.setPackageID(lfAttempt.getPackageID());
        lfAttemptImpl.setOrganizationID(lfAttempt.getOrganizationID());
        lfAttemptImpl.setIsComplete(lfAttempt.getIsComplete());

        return lfAttemptImpl;
    }
View Full Code Here

TOP

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

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.