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

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


     * @param id the primary key for the new l f config
     * @return the new l f config
     */
    @Override
    public LFConfig create(long id) {
        LFConfig lfConfig = new LFConfigImpl();

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

        return lfConfig;
    }
View Full Code Here


    protected LFConfig toUnwrappedModel(LFConfig lfConfig) {
        if (lfConfig instanceof LFConfigImpl) {
            return lfConfig;
        }

        LFConfigImpl lfConfigImpl = new LFConfigImpl();

        lfConfigImpl.setNew(lfConfig.isNew());
        lfConfigImpl.setPrimaryKey(lfConfig.getPrimaryKey());

        lfConfigImpl.setId(lfConfig.getId());
        lfConfigImpl.setDataKey(lfConfig.getDataKey());
        lfConfigImpl.setDataValue(lfConfig.getDataValue());

        return lfConfigImpl;
    }
View Full Code Here

TOP

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

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.