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

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


     * @param id the primary key for the new l f social package
     * @return the new l f social package
     */
    @Override
    public LFSocialPackage create(long id) {
        LFSocialPackage lfSocialPackage = new LFSocialPackageImpl();

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

        return lfSocialPackage;
    }
View Full Code Here


    protected LFSocialPackage toUnwrappedModel(LFSocialPackage lfSocialPackage) {
        if (lfSocialPackage instanceof LFSocialPackageImpl) {
            return lfSocialPackage;
        }

        LFSocialPackageImpl lfSocialPackageImpl = new LFSocialPackageImpl();

        lfSocialPackageImpl.setNew(lfSocialPackage.isNew());
        lfSocialPackageImpl.setPrimaryKey(lfSocialPackage.getPrimaryKey());

        lfSocialPackageImpl.setId(lfSocialPackage.getId());
        lfSocialPackageImpl.setPackageID(lfSocialPackage.getPackageID());
        lfSocialPackageImpl.setAboutPackage(lfSocialPackage.getAboutPackage());
        lfSocialPackageImpl.setPublishDate(lfSocialPackage.getPublishDate());
        lfSocialPackageImpl.setAuthorID(lfSocialPackage.getAuthorID());

        return lfSocialPackageImpl;
    }
View Full Code Here

TOP

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

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.