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

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


            FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_DOCUMENTID, args,
                Long.valueOf(1));
            FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_DOCUMENTID, args,
                lfTincanLrsDocument);
        } else {
            LFTincanLrsDocumentModelImpl lfTincanLrsDocumentModelImpl = (LFTincanLrsDocumentModelImpl) lfTincanLrsDocument;

            if ((lfTincanLrsDocumentModelImpl.getColumnBitmask() &
                    FINDER_PATH_FETCH_BY_DOCUMENTID.getColumnBitmask()) != 0) {
                Object[] args = new Object[] { lfTincanLrsDocument.getDocumentId() };

                FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_DOCUMENTID,
                    args, Long.valueOf(1));
View Full Code Here


        }
    }

    protected void clearUniqueFindersCache(
        LFTincanLrsDocument lfTincanLrsDocument) {
        LFTincanLrsDocumentModelImpl lfTincanLrsDocumentModelImpl = (LFTincanLrsDocumentModelImpl) lfTincanLrsDocument;

        Object[] args = new Object[] { lfTincanLrsDocument.getDocumentId() };

        FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DOCUMENTID, args);
        FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_DOCUMENTID, args);

        if ((lfTincanLrsDocumentModelImpl.getColumnBitmask() &
                FINDER_PATH_FETCH_BY_DOCUMENTID.getColumnBitmask()) != 0) {
            args = new Object[] {
                    lfTincanLrsDocumentModelImpl.getOriginalDocumentId()
                };

            FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_DOCUMENTID, args);
            FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_DOCUMENTID, args);
        }
View Full Code Here

TOP

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

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.