protected void clearUniqueFindersCache(DLSyncEvent dlSyncEvent) {
    DLSyncEventModelImpl dlSyncEventModelImpl = (DLSyncEventModelImpl) dlSyncEvent;

    Object[] args = new Object[] {dlSyncEvent.getTypePK()};

    FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TYPEPK, args);
    FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_TYPEPK, args);

    if ((dlSyncEventModelImpl.getColumnBitmask() & FINDER_PATH_FETCH_BY_TYPEPK.getColumnBitmask())
        != 0) {
      args = new Object[] {dlSyncEventModelImpl.getOriginalTypePK()};

      FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_TYPEPK, args);
      FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_TYPEPK, args);
    }
  }
  protected void cacheUniqueFindersCache(DLSyncEvent dlSyncEvent) {
    if (dlSyncEvent.isNew()) {
      Object[] args = new Object[] {dlSyncEvent.getTypePK()};

      FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_TYPEPK, args, Long.valueOf(1));
      FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_TYPEPK, args, dlSyncEvent);
    } else {
      DLSyncEventModelImpl dlSyncEventModelImpl = (DLSyncEventModelImpl) dlSyncEvent;

      if ((dlSyncEventModelImpl.getColumnBitmask() & FINDER_PATH_FETCH_BY_TYPEPK.getColumnBitmask())
          != 0) {
        Object[] args = new Object[] {dlSyncEvent.getTypePK()};

        FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_TYPEPK, args, Long.valueOf(1));
        FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_TYPEPK, args, dlSyncEvent);
      }
    }
  }