protected void clearUniqueFindersCache(DLSync dlSync) {
    DLSyncModelImpl dlSyncModelImpl = (DLSyncModelImpl) dlSync;

    Object[] args = new Object[] {dlSync.getFileId()};

    FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FILEID, args);
    FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_FILEID, args);

    if ((dlSyncModelImpl.getColumnBitmask() & FINDER_PATH_FETCH_BY_FILEID.getColumnBitmask())
        != 0) {
      args = new Object[] {dlSyncModelImpl.getOriginalFileId()};

      FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_FILEID, args);
      FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_FILEID, args);
    }
  }
  protected void cacheUniqueFindersCache(DLSync dlSync) {
    if (dlSync.isNew()) {
      Object[] args = new Object[] {dlSync.getFileId()};

      FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_FILEID, args, Long.valueOf(1));
      FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_FILEID, args, dlSync);
    } else {
      DLSyncModelImpl dlSyncModelImpl = (DLSyncModelImpl) dlSync;

      if ((dlSyncModelImpl.getColumnBitmask() & FINDER_PATH_FETCH_BY_FILEID.getColumnBitmask())
          != 0) {
        Object[] args = new Object[] {dlSync.getFileId()};

        FinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_FILEID, args, Long.valueOf(1));
        FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_FILEID, args, dlSync);
      }
    }
  }