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

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


            FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_ATTEMPTID, args,
                Long.valueOf(1));
            FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_ATTEMPTID, args,
                lfActivityStateTree);
        } else {
            LFActivityStateTreeModelImpl lfActivityStateTreeModelImpl = (LFActivityStateTreeModelImpl) lfActivityStateTree;

            if ((lfActivityStateTreeModelImpl.getColumnBitmask() &
                    FINDER_PATH_FETCH_BY_ATTEMPTID.getColumnBitmask()) != 0) {
                Object[] args = new Object[] { lfActivityStateTree.getAttemptID() };

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


        }
    }

    protected void clearUniqueFindersCache(
        LFActivityStateTree lfActivityStateTree) {
        LFActivityStateTreeModelImpl lfActivityStateTreeModelImpl = (LFActivityStateTreeModelImpl) lfActivityStateTree;

        Object[] args = new Object[] { lfActivityStateTree.getAttemptID() };

        FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ATTEMPTID, args);
        FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_ATTEMPTID, args);

        if ((lfActivityStateTreeModelImpl.getColumnBitmask() &
                FINDER_PATH_FETCH_BY_ATTEMPTID.getColumnBitmask()) != 0) {
            args = new Object[] {
                    lfActivityStateTreeModelImpl.getOriginalAttemptID()
                };

            FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_ATTEMPTID, args);
            FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_ATTEMPTID, args);
        }
View Full Code Here

TOP

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

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.