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

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


     * @param id the primary key for the new l f tincan lrs attachment
     * @return the new l f tincan lrs attachment
     */
    @Override
    public LFTincanLrsAttachment create(long id) {
        LFTincanLrsAttachment lfTincanLrsAttachment = new LFTincanLrsAttachmentImpl();

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

        return lfTincanLrsAttachment;
    }
View Full Code Here


        LFTincanLrsAttachment lfTincanLrsAttachment) {
        if (lfTincanLrsAttachment instanceof LFTincanLrsAttachmentImpl) {
            return lfTincanLrsAttachment;
        }

        LFTincanLrsAttachmentImpl lfTincanLrsAttachmentImpl = new LFTincanLrsAttachmentImpl();

        lfTincanLrsAttachmentImpl.setNew(lfTincanLrsAttachment.isNew());
        lfTincanLrsAttachmentImpl.setPrimaryKey(lfTincanLrsAttachment.getPrimaryKey());

        lfTincanLrsAttachmentImpl.setId(lfTincanLrsAttachment.getId());
        lfTincanLrsAttachmentImpl.setParentID(lfTincanLrsAttachment.getParentID());
        lfTincanLrsAttachmentImpl.setUsageType(lfTincanLrsAttachment.getUsageType());
        lfTincanLrsAttachmentImpl.setDisplay(lfTincanLrsAttachment.getDisplay());
        lfTincanLrsAttachmentImpl.setDescription(lfTincanLrsAttachment.getDescription());
        lfTincanLrsAttachmentImpl.setContentType(lfTincanLrsAttachment.getContentType());
        lfTincanLrsAttachmentImpl.setLength(lfTincanLrsAttachment.getLength());
        lfTincanLrsAttachmentImpl.setSha2(lfTincanLrsAttachment.getSha2());
        lfTincanLrsAttachmentImpl.setFileUrl(lfTincanLrsAttachment.getFileUrl());

        return lfTincanLrsAttachmentImpl;
    }
View Full Code Here

TOP

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

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.