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

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


            FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_CODE, args,
                Long.valueOf(1));
            FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_CODE, args,
                lfTincanClientApiStorage);
        } else {
            LFTincanClientApiStorageModelImpl lfTincanClientApiStorageModelImpl = (LFTincanClientApiStorageModelImpl) lfTincanClientApiStorage;

            if ((lfTincanClientApiStorageModelImpl.getColumnBitmask() &
                    FINDER_PATH_FETCH_BY_TOKEN.getColumnBitmask()) != 0) {
                Object[] args = new Object[] { lfTincanClientApiStorage.getToken() };

                FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_TOKEN, args,
                    Long.valueOf(1));
                FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_TOKEN, args,
                    lfTincanClientApiStorage);
            }

            if ((lfTincanClientApiStorageModelImpl.getColumnBitmask() &
                    FINDER_PATH_FETCH_BY_CODE.getColumnBitmask()) != 0) {
                Object[] args = new Object[] { lfTincanClientApiStorage.getCode() };

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


        }
    }

    protected void clearUniqueFindersCache(
        LFTincanClientApiStorage lfTincanClientApiStorage) {
        LFTincanClientApiStorageModelImpl lfTincanClientApiStorageModelImpl = (LFTincanClientApiStorageModelImpl) lfTincanClientApiStorage;

        Object[] args = new Object[] { lfTincanClientApiStorage.getToken() };

        FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TOKEN, args);
        FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_TOKEN, args);

        if ((lfTincanClientApiStorageModelImpl.getColumnBitmask() &
                FINDER_PATH_FETCH_BY_TOKEN.getColumnBitmask()) != 0) {
            args = new Object[] {
                    lfTincanClientApiStorageModelImpl.getOriginalToken()
                };

            FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TOKEN, args);
            FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_TOKEN, args);
        }

        args = new Object[] { lfTincanClientApiStorage.getCode() };

        FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODE, args);
        FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODE, args);

        if ((lfTincanClientApiStorageModelImpl.getColumnBitmask() &
                FINDER_PATH_FETCH_BY_CODE.getColumnBitmask()) != 0) {
            args = new Object[] {
                    lfTincanClientApiStorageModelImpl.getOriginalCode()
                };

            FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CODE, args);
            FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_CODE, args);
        }
View Full Code Here

TOP

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

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.