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

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


     * @param lfid the primary key for the new l f user
     * @return the new l f user
     */
    @Override
    public LFUser create(long lfid) {
        LFUser lfUser = new LFUserImpl();

        lfUser.setNew(true);
        lfUser.setPrimaryKey(lfid);

        return lfUser;
    }
View Full Code Here


    protected LFUser toUnwrappedModel(LFUser lfUser) {
        if (lfUser instanceof LFUserImpl) {
            return lfUser;
        }

        LFUserImpl lfUserImpl = new LFUserImpl();

        lfUserImpl.setNew(lfUser.isNew());
        lfUserImpl.setPrimaryKey(lfUser.getPrimaryKey());

        lfUserImpl.setLfid(lfUser.getLfid());
        lfUserImpl.setId(lfUser.getId());
        lfUserImpl.setName(lfUser.getName());
        lfUserImpl.setPreferredAudioLevel(lfUser.getPreferredAudioLevel());
        lfUserImpl.setPreferredLanguage(lfUser.getPreferredLanguage());
        lfUserImpl.setPreferredDeliverySpeed(lfUser.getPreferredDeliverySpeed());
        lfUserImpl.setPreferredAudioCaptioning(lfUser.getPreferredAudioCaptioning());

        return lfUserImpl;
    }
View Full Code Here

TOP

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

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.