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

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


            FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_GRADE, args,
                Long.valueOf(1));
            FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_GRADE, args,
                lfPackageGradeStorage);
        } else {
            LFPackageGradeStorageModelImpl lfPackageGradeStorageModelImpl = (LFPackageGradeStorageModelImpl) lfPackageGradeStorage;

            if ((lfPackageGradeStorageModelImpl.getColumnBitmask() &
                    FINDER_PATH_FETCH_BY_GRADE.getColumnBitmask()) != 0) {
                Object[] args = new Object[] {
                        lfPackageGradeStorage.getUserId(),
                        lfPackageGradeStorage.getPackageId()
                    };
View Full Code Here


        }
    }

    protected void clearUniqueFindersCache(
        LFPackageGradeStorage lfPackageGradeStorage) {
        LFPackageGradeStorageModelImpl lfPackageGradeStorageModelImpl = (LFPackageGradeStorageModelImpl) lfPackageGradeStorage;

        Object[] args = new Object[] {
                lfPackageGradeStorage.getUserId(),
                lfPackageGradeStorage.getPackageId()
            };

        FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GRADE, args);
        FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_GRADE, args);

        if ((lfPackageGradeStorageModelImpl.getColumnBitmask() &
                FINDER_PATH_FETCH_BY_GRADE.getColumnBitmask()) != 0) {
            args = new Object[] {
                    lfPackageGradeStorageModelImpl.getOriginalUserId(),
                    lfPackageGradeStorageModelImpl.getOriginalPackageId()
                };

            FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_GRADE, args);
            FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_GRADE, args);
        }
View Full Code Here

TOP

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

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.