Liferay 6.0.5

com.liferay.portlet.documentlibrary.service.persistence
Class DLFileShortcutPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileShortcut>
      extended by com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<DLFileShortcut>, DLFileShortcutPersistence

public class DLFileShortcutPersistenceImpl
extends BasePersistenceImpl<DLFileShortcut>
implements DLFileShortcutPersistence

The persistence implementation for the d l file shortcut service.

Never modify or reference this class directly. Always use DLFileShortcutUtil to access the d l file shortcut persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

See Also:
DLFileShortcutPersistence, DLFileShortcutUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  DLFileEntryPersistence dlFileEntryPersistence
           
protected  DLFileRankPersistence dlFileRankPersistence
           
protected  DLFileShortcutPersistence dlFileShortcutPersistence
           
protected  DLFileVersionPersistence dlFileVersionPersistence
           
protected  DLFolderPersistence dlFolderPersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_TF_TN
           
static FinderPath FINDER_PATH_COUNT_BY_G_TF_TN_S
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_G_F
           
static FinderPath FINDER_PATH_FIND_BY_G_F_S
           
static FinderPath FINDER_PATH_FIND_BY_G_TF_TN
           
static FinderPath FINDER_PATH_FIND_BY_G_TF_TN_S
           
static FinderPath FINDER_PATH_FIND_BY_UUID
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
DLFileShortcutPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the d l file shortcut persistence.
 void cacheResult(DLFileShortcut dlFileShortcut)
          Caches the d l file shortcut in the entity cache if it is enabled.
 void cacheResult(List<DLFileShortcut> dlFileShortcuts)
          Caches the d l file shortcuts in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all d l file shortcuts.
 void clearCache(DLFileShortcut dlFileShortcut)
          Clears the cache for the d l file shortcut.
 int countAll()
          Counts all the d l file shortcuts.
 int countByG_F_S(long groupId, long folderId, int status)
          Counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 int countByG_F(long groupId, long folderId)
          Counts all the d l file shortcuts where groupId = ? and folderId = ?.
 int countByG_TF_TN_S(long groupId, long toFolderId, String toName, int status)
          Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 int countByG_TF_TN(long groupId, long toFolderId, String toName)
          Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 int countByUUID_G(String uuid, long groupId)
          Counts all the d l file shortcuts where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Counts all the d l file shortcuts where uuid = ?.
 DLFileShortcut create(long fileShortcutId)
          Creates a new d l file shortcut with the primary key.
 DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
          Finds the d l file shortcut with the primary key or returns null if it could not be found.
 DLFileShortcut fetchByPrimaryKey(Serializable primaryKey)
          Finds the d l file shortcut with the primary key or returns null if it could not be found.
 DLFileShortcut fetchByUUID_G(String uuid, long groupId)
          Finds the d l file shortcut where uuid = ? and groupId = ? or returns null if it could not be found.
 DLFileShortcut fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Finds the d l file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 int filterCountByG_F_S(long groupId, long folderId, int status)
          Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 int filterCountByG_F(long groupId, long folderId)
          Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ?.
 int filterCountByG_TF_TN_S(long groupId, long toFolderId, String toName, int status)
          Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 int filterCountByG_TF_TN(long groupId, long toFolderId, String toName)
          Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status)
          Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> filterFindByG_F(long groupId, long folderId)
          Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ?.
 List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ?.
 List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?.
 List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId, long toFolderId, String toName, int status)
          Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId, long toFolderId, String toName, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId, long toFolderId, String toName, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 List<DLFileShortcut> filterFindByG_TF_TN(long groupId, long toFolderId, String toName)
          Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 List<DLFileShortcut> filterFindByG_TF_TN(long groupId, long toFolderId, String toName, int start, int end)
          Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 List<DLFileShortcut> filterFindByG_TF_TN(long groupId, long toFolderId, String toName, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 List<DLFileShortcut> findAll()
          Finds all the d l file shortcuts.
 List<DLFileShortcut> findAll(int start, int end)
          Finds a range of all the d l file shortcuts.
 List<DLFileShortcut> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file shortcuts.
 DLFileShortcut findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator orderByComparator)
          Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.
 DLFileShortcut findByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.
 DLFileShortcut[] findByG_F_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> findByG_F_S(long groupId, long folderId, int status)
          Finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> findByG_F_S(long groupId, long folderId, int status, int start, int end)
          Finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> findByG_F(long groupId, long folderId)
          Finds all the d l file shortcuts where groupId = ? and folderId = ?.
 List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end)
          Finds a range of all the d l file shortcuts where groupId = ? and folderId = ?.
 List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?.
 DLFileShortcut findByG_TF_TN_First(long groupId, long toFolderId, String toName, OrderByComparator orderByComparator)
          Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.
 DLFileShortcut findByG_TF_TN_Last(long groupId, long toFolderId, String toName, OrderByComparator orderByComparator)
          Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.
 DLFileShortcut[] findByG_TF_TN_PrevAndNext(long fileShortcutId, long groupId, long toFolderId, String toName, OrderByComparator orderByComparator)
          Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.
 DLFileShortcut findByG_TF_TN_S_First(long groupId, long toFolderId, String toName, int status, OrderByComparator orderByComparator)
          Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 DLFileShortcut findByG_TF_TN_S_Last(long groupId, long toFolderId, String toName, int status, OrderByComparator orderByComparator)
          Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(long fileShortcutId, long groupId, long toFolderId, String toName, int status, OrderByComparator orderByComparator)
          Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 List<DLFileShortcut> findByG_TF_TN_S(long groupId, long toFolderId, String toName, int status)
          Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 List<DLFileShortcut> findByG_TF_TN_S(long groupId, long toFolderId, String toName, int status, int start, int end)
          Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 List<DLFileShortcut> findByG_TF_TN_S(long groupId, long toFolderId, String toName, int status, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.
 List<DLFileShortcut> findByG_TF_TN(long groupId, long toFolderId, String toName)
          Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 List<DLFileShortcut> findByG_TF_TN(long groupId, long toFolderId, String toName, int start, int end)
          Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 List<DLFileShortcut> findByG_TF_TN(long groupId, long toFolderId, String toName, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.
 DLFileShortcut findByPrimaryKey(long fileShortcutId)
          Finds the d l file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.
 DLFileShortcut findByPrimaryKey(Serializable primaryKey)
          Finds the d l file shortcut with the primary key or throws a NoSuchModelException if it could not be found.
 DLFileShortcut findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first d l file shortcut in the ordered set where uuid = ?.
 DLFileShortcut findByUUID_G(String uuid, long groupId)
          Finds the d l file shortcut where uuid = ? and groupId = ? or throws a NoSuchFileShortcutException if it could not be found.
 DLFileShortcut findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last d l file shortcut in the ordered set where uuid = ?.
 DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, String uuid, OrderByComparator orderByComparator)
          Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid)
          Finds all the d l file shortcuts where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid, int start, int end)
          Finds a range of all the d l file shortcuts where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the d l file shortcuts where uuid = ?.
protected  DLFileShortcut getByG_F_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByG_F_S_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByG_TF_TN_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long toFolderId, String toName, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByG_TF_TN_S_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long toFolderId, String toName, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByUuid_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 DLFileShortcut remove(long fileShortcutId)
          Removes the d l file shortcut with the primary key from the database.
 DLFileShortcut remove(Serializable primaryKey)
          Removes the d l file shortcut with the primary key from the database.
 void removeAll()
          Removes all the d l file shortcuts from the database.
 void removeByG_F_S(long groupId, long folderId, int status)
          Removes all the d l file shortcuts where groupId = ? and folderId = ? and status = ? from the database.
 void removeByG_F(long groupId, long folderId)
          Removes all the d l file shortcuts where groupId = ? and folderId = ? from the database.
 void removeByG_TF_TN_S(long groupId, long toFolderId, String toName, int status)
          Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ? from the database.
 void removeByG_TF_TN(long groupId, long toFolderId, String toName)
          Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? from the database.
 void removeByUUID_G(String uuid, long groupId)
          Removes the d l file shortcut where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the d l file shortcuts where uuid = ? from the database.
protected  DLFileShortcut removeImpl(DLFileShortcut dlFileShortcut)
          Removes the model instance from the database.
protected  DLFileShortcut toUnwrappedModel(DLFileShortcut dlFileShortcut)
           
 DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_FIND_BY_G_F

public static final FinderPath FINDER_PATH_FIND_BY_G_F

FINDER_PATH_COUNT_BY_G_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_F

FINDER_PATH_FIND_BY_G_F_S

public static final FinderPath FINDER_PATH_FIND_BY_G_F_S

FINDER_PATH_COUNT_BY_G_F_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_S

FINDER_PATH_FIND_BY_G_TF_TN

public static final FinderPath FINDER_PATH_FIND_BY_G_TF_TN

FINDER_PATH_COUNT_BY_G_TF_TN

public static final FinderPath FINDER_PATH_COUNT_BY_G_TF_TN

FINDER_PATH_FIND_BY_G_TF_TN_S

public static final FinderPath FINDER_PATH_FIND_BY_G_TF_TN_S

FINDER_PATH_COUNT_BY_G_TF_TN_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_TF_TN_S

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

dlFileEntryPersistence

@BeanReference(type=DLFileEntryPersistence.class)
protected DLFileEntryPersistence dlFileEntryPersistence

dlFileRankPersistence

@BeanReference(type=DLFileRankPersistence.class)
protected DLFileRankPersistence dlFileRankPersistence

dlFileShortcutPersistence

@BeanReference(type=DLFileShortcutPersistence.class)
protected DLFileShortcutPersistence dlFileShortcutPersistence

dlFileVersionPersistence

@BeanReference(type=DLFileVersionPersistence.class)
protected DLFileVersionPersistence dlFileVersionPersistence

dlFolderPersistence

@BeanReference(type=DLFolderPersistence.class)
protected DLFolderPersistence dlFolderPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence
Constructor Detail

DLFileShortcutPersistenceImpl

public DLFileShortcutPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(DLFileShortcut dlFileShortcut)
Caches the d l file shortcut in the entity cache if it is enabled.

Specified by:
cacheResult in interface DLFileShortcutPersistence
Parameters:
dlFileShortcut - the d l file shortcut to cache

cacheResult

public void cacheResult(List<DLFileShortcut> dlFileShortcuts)
Caches the d l file shortcuts in the entity cache if it is enabled.

Specified by:
cacheResult in interface DLFileShortcutPersistence
Parameters:
dlFileShortcuts - the d l file shortcuts to cache

clearCache

public void clearCache()
Clears the cache for all d l file shortcuts.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileShortcut>
Overrides:
clearCache in class BasePersistenceImpl<DLFileShortcut>

clearCache

public void clearCache(DLFileShortcut dlFileShortcut)
Clears the cache for the d l file shortcut.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileShortcut>
Overrides:
clearCache in class BasePersistenceImpl<DLFileShortcut>
Parameters:
dlFileShortcut - the instance of this model to clear the cache for

create

public DLFileShortcut create(long fileShortcutId)
Creates a new d l file shortcut with the primary key. Does not add the d l file shortcut to the database.

Specified by:
create in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key for the new d l file shortcut
Returns:
the new d l file shortcut

remove

public DLFileShortcut remove(Serializable primaryKey)
                      throws NoSuchModelException,
                             SystemException
Removes the d l file shortcut with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<DLFileShortcut>
Overrides:
remove in class BasePersistenceImpl<DLFileShortcut>
Parameters:
primaryKey - the primary key of the d l file shortcut to remove
Returns:
the d l file shortcut that was removed
Throws:
NoSuchModelException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

remove

public DLFileShortcut remove(long fileShortcutId)
                      throws NoSuchFileShortcutException,
                             SystemException
Removes the d l file shortcut with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the d l file shortcut to remove
Returns:
the d l file shortcut that was removed
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected DLFileShortcut removeImpl(DLFileShortcut dlFileShortcut)
                             throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<DLFileShortcut>
Parameters:
dlFileShortcut - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut,
                                 boolean merge)
                          throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface DLFileShortcutPersistence
Overrides:
updateImpl in class BasePersistenceImpl<DLFileShortcut>
Parameters:
dlFileShortcut - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected DLFileShortcut toUnwrappedModel(DLFileShortcut dlFileShortcut)

findByPrimaryKey

public DLFileShortcut findByPrimaryKey(Serializable primaryKey)
                                throws NoSuchModelException,
                                       SystemException
Finds the d l file shortcut with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<DLFileShortcut>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<DLFileShortcut>
Parameters:
primaryKey - the primary key of the d l file shortcut to find
Returns:
the d l file shortcut
Throws:
NoSuchModelException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public DLFileShortcut findByPrimaryKey(long fileShortcutId)
                                throws NoSuchFileShortcutException,
                                       SystemException
Finds the d l file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.

Specified by:
findByPrimaryKey in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the d l file shortcut to find
Returns:
the d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public DLFileShortcut fetchByPrimaryKey(Serializable primaryKey)
                                 throws SystemException
Finds the d l file shortcut with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<DLFileShortcut>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<DLFileShortcut>
Parameters:
primaryKey - the primary key of the d l file shortcut to find
Returns:
the d l file shortcut, or null if a d l file shortcut with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
                                 throws SystemException
Finds the d l file shortcut with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the d l file shortcut to find
Returns:
the d l file shortcut, or null if a d l file shortcut with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DLFileShortcut> findByUuid(String uuid)
                                throws SystemException
Finds all the d l file shortcuts where uuid = ?.

Specified by:
findByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DLFileShortcut> findByUuid(String uuid,
                                       int start,
                                       int end)
                                throws SystemException
Finds a range of all the d l file shortcuts where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DLFileShortcut> findByUuid(String uuid,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Finds an ordered range of all the d l file shortcuts where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_First

public DLFileShortcut findByUuid_First(String uuid,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFileShortcutException,
                                       SystemException
Finds the first d l file shortcut in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid_First in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByUuid_Last

public DLFileShortcut findByUuid_Last(String uuid,
                                      OrderByComparator orderByComparator)
                               throws NoSuchFileShortcutException,
                                      SystemException
Finds the last d l file shortcut in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid_Last in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId,
                                               String uuid,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchFileShortcutException,
                                               SystemException
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid_PrevAndNext in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the current d l file shortcut
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected DLFileShortcut getByUuid_PrevAndNext(Session session,
                                               DLFileShortcut dlFileShortcut,
                                               String uuid,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

findByUUID_G

public DLFileShortcut findByUUID_G(String uuid,
                                   long groupId)
                            throws NoSuchFileShortcutException,
                                   SystemException
Finds the d l file shortcut where uuid = ? and groupId = ? or throws a NoSuchFileShortcutException if it could not be found.

Specified by:
findByUUID_G in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public DLFileShortcut fetchByUUID_G(String uuid,
                                    long groupId)
                             throws SystemException
Finds the d l file shortcut where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file shortcut, or null if a matching d l file shortcut could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public DLFileShortcut fetchByUUID_G(String uuid,
                                    long groupId,
                                    boolean retrieveFromCache)
                             throws SystemException
Finds the d l file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file shortcut, or null if a matching d l file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F

public List<DLFileShortcut> findByG_F(long groupId,
                                      long folderId)
                               throws SystemException
Finds all the d l file shortcuts where groupId = ? and folderId = ?.

Specified by:
findByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F

public List<DLFileShortcut> findByG_F(long groupId,
                                      long folderId,
                                      int start,
                                      int end)
                               throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F

public List<DLFileShortcut> findByG_F(long groupId,
                                      long folderId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_First

public DLFileShortcut findByG_F_First(long groupId,
                                      long folderId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchFileShortcutException,
                                      SystemException
Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_First in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_Last

public DLFileShortcut findByG_F_Last(long groupId,
                                     long folderId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchFileShortcutException,
                                     SystemException
Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_Last in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_PrevAndNext

public DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId,
                                              long groupId,
                                              long folderId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchFileShortcutException,
                                              SystemException
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_PrevAndNext in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

getByG_F_PrevAndNext

protected DLFileShortcut getByG_F_PrevAndNext(Session session,
                                              DLFileShortcut dlFileShortcut,
                                              long groupId,
                                              long folderId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_F

public List<DLFileShortcut> filterFindByG_F(long groupId,
                                            long folderId)
                                     throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ?.

Specified by:
filterFindByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public List<DLFileShortcut> filterFindByG_F(long groupId,
                                            long folderId,
                                            int start,
                                            int end)
                                     throws SystemException
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public List<DLFileShortcut> filterFindByG_F(long groupId,
                                            long folderId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F_S

public List<DLFileShortcut> findByG_F_S(long groupId,
                                        long folderId,
                                        int status)
                                 throws SystemException
Finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Specified by:
findByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S

public List<DLFileShortcut> findByG_F_S(long groupId,
                                        long folderId,
                                        int status,
                                        int start,
                                        int end)
                                 throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S

public List<DLFileShortcut> findByG_F_S(long groupId,
                                        long folderId,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S_First

public DLFileShortcut findByG_F_S_First(long groupId,
                                        long folderId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchFileShortcutException,
                                        SystemException
Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_S_First in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_S_Last

public DLFileShortcut findByG_F_S_Last(long groupId,
                                       long folderId,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFileShortcutException,
                                       SystemException
Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_S_Last in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_S_PrevAndNext

public DLFileShortcut[] findByG_F_S_PrevAndNext(long fileShortcutId,
                                                long groupId,
                                                long folderId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchFileShortcutException,
                                                SystemException
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_F_S_PrevAndNext in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

getByG_F_S_PrevAndNext

protected DLFileShortcut getByG_F_S_PrevAndNext(Session session,
                                                DLFileShortcut dlFileShortcut,
                                                long groupId,
                                                long folderId,
                                                int status,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_F_S

public List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                              long folderId,
                                              int status)
                                       throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Specified by:
filterFindByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_S

public List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                              long folderId,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_S

public List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                              long folderId,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_TF_TN

public List<DLFileShortcut> findByG_TF_TN(long groupId,
                                          long toFolderId,
                                          String toName)
                                   throws SystemException
Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Specified by:
findByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN

public List<DLFileShortcut> findByG_TF_TN(long groupId,
                                          long toFolderId,
                                          String toName,
                                          int start,
                                          int end)
                                   throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN

public List<DLFileShortcut> findByG_TF_TN(long groupId,
                                          long toFolderId,
                                          String toName,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_First

public DLFileShortcut findByG_TF_TN_First(long groupId,
                                          long toFolderId,
                                          String toName,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchFileShortcutException,
                                          SystemException
Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_First in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_Last

public DLFileShortcut findByG_TF_TN_Last(long groupId,
                                         long toFolderId,
                                         String toName,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchFileShortcutException,
                                         SystemException
Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_Last in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_PrevAndNext

public DLFileShortcut[] findByG_TF_TN_PrevAndNext(long fileShortcutId,
                                                  long groupId,
                                                  long toFolderId,
                                                  String toName,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchFileShortcutException,
                                                  SystemException
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_PrevAndNext in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

getByG_TF_TN_PrevAndNext

protected DLFileShortcut getByG_TF_TN_PrevAndNext(Session session,
                                                  DLFileShortcut dlFileShortcut,
                                                  long groupId,
                                                  long toFolderId,
                                                  String toName,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

filterFindByG_TF_TN

public List<DLFileShortcut> filterFindByG_TF_TN(long groupId,
                                                long toFolderId,
                                                String toName)
                                         throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Specified by:
filterFindByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN

public List<DLFileShortcut> filterFindByG_TF_TN(long groupId,
                                                long toFolderId,
                                                String toName,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN

public List<DLFileShortcut> filterFindByG_TF_TN(long groupId,
                                                long toFolderId,
                                                String toName,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S

public List<DLFileShortcut> findByG_TF_TN_S(long groupId,
                                            long toFolderId,
                                            String toName,
                                            int status)
                                     throws SystemException
Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Specified by:
findByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S

public List<DLFileShortcut> findByG_TF_TN_S(long groupId,
                                            long toFolderId,
                                            String toName,
                                            int status,
                                            int start,
                                            int end)
                                     throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S

public List<DLFileShortcut> findByG_TF_TN_S(long groupId,
                                            long toFolderId,
                                            String toName,
                                            int status,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S_First

public DLFileShortcut findByG_TF_TN_S_First(long groupId,
                                            long toFolderId,
                                            String toName,
                                            int status,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchFileShortcutException,
                                            SystemException
Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_S_First in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_S_Last

public DLFileShortcut findByG_TF_TN_S_Last(long groupId,
                                           long toFolderId,
                                           String toName,
                                           int status,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchFileShortcutException,
                                           SystemException
Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_S_Last in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_S_PrevAndNext

public DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(long fileShortcutId,
                                                    long groupId,
                                                    long toFolderId,
                                                    String toName,
                                                    int status,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchFileShortcutException,
                                                    SystemException
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_TF_TN_S_PrevAndNext in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

getByG_TF_TN_S_PrevAndNext

protected DLFileShortcut getByG_TF_TN_S_PrevAndNext(Session session,
                                                    DLFileShortcut dlFileShortcut,
                                                    long groupId,
                                                    long toFolderId,
                                                    String toName,
                                                    int status,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

filterFindByG_TF_TN_S

public List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId,
                                                  long toFolderId,
                                                  String toName,
                                                  int status)
                                           throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Specified by:
filterFindByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN_S

public List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId,
                                                  long toFolderId,
                                                  String toName,
                                                  int status,
                                                  int start,
                                                  int end)
                                           throws SystemException
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN_S

public List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId,
                                                  long toFolderId,
                                                  String toName,
                                                  int status,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

public List<DLFileShortcut> findAll()
                             throws SystemException
Finds all the d l file shortcuts.

Specified by:
findAll in interface DLFileShortcutPersistence
Returns:
the d l file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

public List<DLFileShortcut> findAll(int start,
                                    int end)
                             throws SystemException
Finds a range of all the d l file shortcuts.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface DLFileShortcutPersistence
Parameters:
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of d l file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

public List<DLFileShortcut> findAll(int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Finds an ordered range of all the d l file shortcuts.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface DLFileShortcutPersistence
Parameters:
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of d l file shortcuts
Throws:
SystemException - if a system exception occurred

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Removes all the d l file shortcuts where uuid = ? from the database.

Specified by:
removeByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public void removeByUUID_G(String uuid,
                           long groupId)
                    throws NoSuchFileShortcutException,
                           SystemException
Removes the d l file shortcut where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred
NoSuchFileShortcutException

removeByG_F

public void removeByG_F(long groupId,
                        long folderId)
                 throws SystemException
Removes all the d l file shortcuts where groupId = ? and folderId = ? from the database.

Specified by:
removeByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Throws:
SystemException - if a system exception occurred

removeByG_F_S

public void removeByG_F_S(long groupId,
                          long folderId,
                          int status)
                   throws SystemException
Removes all the d l file shortcuts where groupId = ? and folderId = ? and status = ? from the database.

Specified by:
removeByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByG_TF_TN

public void removeByG_TF_TN(long groupId,
                            long toFolderId,
                            String toName)
                     throws SystemException
Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? from the database.

Specified by:
removeByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Throws:
SystemException - if a system exception occurred

removeByG_TF_TN_S

public void removeByG_TF_TN_S(long groupId,
                              long toFolderId,
                              String toName,
                              int status)
                       throws SystemException
Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ? from the database.

Specified by:
removeByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws SystemException
Removes all the d l file shortcuts from the database.

Specified by:
removeAll in interface DLFileShortcutPersistence
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Counts all the d l file shortcuts where uuid = ?.

Specified by:
countByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Counts all the d l file shortcuts where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

countByG_F

public int countByG_F(long groupId,
                      long folderId)
               throws SystemException
Counts all the d l file shortcuts where groupId = ? and folderId = ?.

Specified by:
countByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public int filterCountByG_F(long groupId,
                            long folderId)
                     throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ?.

Specified by:
filterCountByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F_S

public int countByG_F_S(long groupId,
                        long folderId,
                        int status)
                 throws SystemException
Counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Specified by:
countByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F_S

public int filterCountByG_F_S(long groupId,
                              long folderId,
                              int status)
                       throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Specified by:
filterCountByG_F_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_TF_TN

public int countByG_TF_TN(long groupId,
                          long toFolderId,
                          String toName)
                   throws SystemException
Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Specified by:
countByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_TF_TN

public int filterCountByG_TF_TN(long groupId,
                                long toFolderId,
                                String toName)
                         throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Specified by:
filterCountByG_TF_TN in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_TF_TN_S

public int countByG_TF_TN_S(long groupId,
                            long toFolderId,
                            String toName,
                            int status)
                     throws SystemException
Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Specified by:
countByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_TF_TN_S

public int filterCountByG_TF_TN_S(long groupId,
                                  long toFolderId,
                                  String toName,
                                  int status)
                           throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Specified by:
filterCountByG_TF_TN_S in interface DLFileShortcutPersistence
Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Counts all the d l file shortcuts.

Specified by:
countAll in interface DLFileShortcutPersistence
Returns:
the number of d l file shortcuts
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the d l file shortcut persistence.


Liferay 6.0.5