Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service.persistence
Interface DLFileShortcutPersistence

All Superinterfaces:
BasePersistence<DLFileShortcut>

public interface DLFileShortcutPersistence
extends BasePersistence<DLFileShortcut>

The persistence interface for the document library file shortcut service.

Caching information and settings can be found in portal.properties

See Also:
DLFileShortcutPersistenceImpl, DLFileShortcutUtil

Method Summary
 void cacheResult(DLFileShortcut dlFileShortcut)
          Caches the document library file shortcut in the entity cache if it is enabled.
 void cacheResult(List<DLFileShortcut> dlFileShortcuts)
          Caches the document library file shortcuts in the entity cache if it is enabled.
 int countAll()
          Returns the number of document library file shortcuts.
 int countByG_F_S(long groupId, long folderId, int status)
          Returns the number of document library file shortcuts where groupId = ? and folderId = ? and status = ?.
 int countByG_F(long groupId, long folderId)
          Returns the number of document library file shortcuts where groupId = ? and folderId = ?.
 int countByToFileEntryId(long toFileEntryId)
          Returns the number of document library file shortcuts where toFileEntryId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of document library file shortcuts where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of document library file shortcuts where uuid = ?.
 DLFileShortcut create(long fileShortcutId)
          Creates a new document library file shortcut with the primary key.
 DLFileShortcut fetchByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut fetchByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut fetchByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.
 DLFileShortcut fetchByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.
 DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
          Returns the document library file shortcut with the primary key or returns null if it could not be found.
 DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
 DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
 DLFileShortcut fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ?.
 DLFileShortcut fetchByUUID_G(String uuid, long groupId)
          Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found.
 DLFileShortcut fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileShortcut fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ?.
 int filterCountByG_F_S(long groupId, long folderId, int status)
          Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 int filterCountByG_F(long groupId, long folderId)
          Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
 DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
 DLFileShortcut[] filterFindByG_F_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status)
          Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status, int start, int end)
          Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> filterFindByG_F(long groupId, long folderId)
          Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?.
 List<DLFileShortcut> findAll()
          Returns all the document library file shortcuts.
 List<DLFileShortcut> findAll(int start, int end)
          Returns a range of all the document library file shortcuts.
 List<DLFileShortcut> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts.
 DLFileShortcut findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.
 DLFileShortcut findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the first document library 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)
          Returns the last document library 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)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> findByG_F_S(long groupId, long folderId, int status)
          Returns all the document library file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> findByG_F_S(long groupId, long folderId, int status, int start, int end)
          Returns a range of all the document library 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)
          Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and status = ?.
 List<DLFileShortcut> findByG_F(long groupId, long folderId)
          Returns all the document library file shortcuts where groupId = ? and folderId = ?.
 List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?.
 List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.
 DLFileShortcut findByPrimaryKey(long fileShortcutId)
          Returns the document library file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.
 DLFileShortcut findByToFileEntryId_First(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
 DLFileShortcut findByToFileEntryId_Last(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
 DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId, long toFileEntryId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.
 List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
          Returns all the document library file shortcuts where toFileEntryId = ?.
 List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end)
          Returns a range of all the document library file shortcuts where toFileEntryId = ?.
 List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.
 DLFileShortcut findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ?.
 DLFileShortcut findByUUID_G(String uuid, long groupId)
          Returns the document library file shortcut where uuid = ? and groupId = ? or throws a NoSuchFileShortcutException if it could not be found.
 DLFileShortcut findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ?.
 DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, String uuid, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid)
          Returns all the document library file shortcuts where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid, int start, int end)
          Returns a range of all the document library file shortcuts where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where uuid = ?.
 DLFileShortcut remove(long fileShortcutId)
          Removes the document library file shortcut with the primary key from the database.
 void removeAll()
          Removes all the document library file shortcuts from the database.
 void removeByG_F_S(long groupId, long folderId, int status)
          Removes all the document library file shortcuts where groupId = ? and folderId = ? and status = ? from the database.
 void removeByG_F(long groupId, long folderId)
          Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.
 void removeByToFileEntryId(long toFileEntryId)
          Removes all the document library file shortcuts where toFileEntryId = ? from the database.
 DLFileShortcut removeByUUID_G(String uuid, long groupId)
          Removes the document library file shortcut where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the document library file shortcuts where uuid = ? from the database.
 DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(DLFileShortcut dlFileShortcut)
Caches the document library file shortcut in the entity cache if it is enabled.

Parameters:
dlFileShortcut - the document library file shortcut

cacheResult

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

Parameters:
dlFileShortcuts - the document library file shortcuts

create

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

Parameters:
fileShortcutId - the primary key for the new document library file shortcut
Returns:
the new document library file shortcut

remove

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

Parameters:
fileShortcutId - the primary key of the document library file shortcut
Returns:
the document library file shortcut that was removed
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut,
                          boolean merge)
                          throws SystemException
Throws:
SystemException

findByPrimaryKey

DLFileShortcut findByPrimaryKey(long fileShortcutId)
                                throws SystemException,
                                       NoSuchFileShortcutException
Returns the document library file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.

Parameters:
fileShortcutId - the primary key of the document library file shortcut
Returns:
the document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
                                 throws SystemException
Returns the document library file shortcut with the primary key or returns null if it could not be found.

Parameters:
fileShortcutId - the primary key of the document library file shortcut
Returns:
the document library file shortcut, or null if a document library file shortcut with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileShortcut> findByUuid(String uuid)
                                throws SystemException
Returns all the document library file shortcuts where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileShortcut> findByUuid(String uuid,
                                int start,
                                int end)
                                throws SystemException
Returns a range of all the document library 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileShortcut> findByUuid(String uuid,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns an ordered range of all the document library 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_First

DLFileShortcut findByUuid_First(String uuid,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByUuid_First

DLFileShortcut fetchByUuid_First(String uuid,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns the first document library file shortcut in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

DLFileShortcut findByUuid_Last(String uuid,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

DLFileShortcut fetchByUuid_Last(String uuid,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the last document library file shortcut in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

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

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

findByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
                                         throws SystemException
Returns all the document library file shortcuts where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
                                         int start,
                                         int end)
                                         throws SystemException
Returns a range of all the document library file shortcuts where toFileEntryId = ?.

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.

Parameters:
toFileEntryId - the to file entry ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.

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.

Parameters:
toFileEntryId - the to file entry ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId_First

DLFileShortcut findByToFileEntryId_First(long toFileEntryId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByToFileEntryId_First

DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByToFileEntryId_Last

DLFileShortcut findByToFileEntryId_Last(long toFileEntryId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByToFileEntryId_Last

DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByToFileEntryId_PrevAndNext

DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId,
                                                 long toFileEntryId,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

findByG_F

List<DLFileShortcut> findByG_F(long groupId,
                               long folderId)
                               throws SystemException
Returns all the document library file shortcuts where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F

List<DLFileShortcut> findByG_F(long groupId,
                               long folderId,
                               int start,
                               int end)
                               throws SystemException
Returns a range of all the document library 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F

List<DLFileShortcut> findByG_F(long groupId,
                               long folderId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the document library 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_First

DLFileShortcut findByG_F_First(long groupId,
                               long folderId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_First

DLFileShortcut fetchByG_F_First(long groupId,
                                long folderId,
                                OrderByComparator orderByComparator)
                                throws SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_Last

DLFileShortcut findByG_F_Last(long groupId,
                              long folderId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_Last

DLFileShortcut fetchByG_F_Last(long groupId,
                               long folderId,
                               OrderByComparator orderByComparator)
                               throws SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_PrevAndNext

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

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F

List<DLFileShortcut> filterFindByG_F(long groupId,
                                     long folderId)
                                     throws SystemException
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

List<DLFileShortcut> filterFindByG_F(long groupId,
                                     long folderId,
                                     int start,
                                     int end)
                                     throws SystemException
Returns a range of all the document library file shortcuts that the user has permission to view 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

List<DLFileShortcut> filterFindByG_F(long groupId,
                                     long folderId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the document library file shortcuts that the user has permissions to view 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_PrevAndNext

DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId,
                                             long groupId,
                                             long folderId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

findByG_F_S

List<DLFileShortcut> findByG_F_S(long groupId,
                                 long folderId,
                                 int status)
                                 throws SystemException
Returns all the document library file shortcuts where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S

List<DLFileShortcut> findByG_F_S(long groupId,
                                 long folderId,
                                 int status,
                                 int start,
                                 int end)
                                 throws SystemException
Returns a range of all the document library 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S

List<DLFileShortcut> findByG_F_S(long groupId,
                                 long folderId,
                                 int status,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the document library 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S_First

DLFileShortcut findByG_F_S_First(long groupId,
                                 long folderId,
                                 int status,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_S_First

DLFileShortcut fetchByG_F_S_First(long groupId,
                                  long folderId,
                                  int status,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_S_Last

DLFileShortcut findByG_F_S_Last(long groupId,
                                long folderId,
                                int status,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_S_Last

DLFileShortcut fetchByG_F_S_Last(long groupId,
                                 long folderId,
                                 int status,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_S_PrevAndNext

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

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F_S

List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                       long folderId,
                                       int status)
                                       throws SystemException
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_S

List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                       long folderId,
                                       int status,
                                       int start,
                                       int end)
                                       throws SystemException
Returns a range of all the document library file shortcuts that the user has permission to view 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_S

List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                       long folderId,
                                       int status,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the document library file shortcuts that the user has permissions to view 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_S_PrevAndNext

DLFileShortcut[] filterFindByG_F_S_PrevAndNext(long fileShortcutId,
                                               long groupId,
                                               long folderId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

findAll

List<DLFileShortcut> findAll()
                             throws SystemException
Returns all the document library file shortcuts.

Returns:
the document library file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileShortcut> findAll(int start,
                             int end)
                             throws SystemException
Returns a range of all the document library 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.

Parameters:
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of document library file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileShortcut> findAll(int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the document library 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.

Parameters:
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of document library file shortcuts
Throws:
SystemException - if a system exception occurred

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Removes all the document library file shortcuts where uuid = ? from the database.

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

removeByUUID_G

DLFileShortcut removeByUUID_G(String uuid,
                              long groupId)
                              throws SystemException,
                                     NoSuchFileShortcutException
Removes the document library file shortcut where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the document library file shortcut that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileShortcutException

removeByToFileEntryId

void removeByToFileEntryId(long toFileEntryId)
                           throws SystemException
Removes all the document library file shortcuts where toFileEntryId = ? from the database.

Parameters:
toFileEntryId - the to file entry ID
Throws:
SystemException - if a system exception occurred

removeByG_F

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

Parameters:
groupId - the group ID
folderId - the folder ID
Throws:
SystemException - if a system exception occurred

removeByG_F_S

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

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Throws:
SystemException - if a system exception occurred

removeAll

void removeAll()
               throws SystemException
Removes all the document library file shortcuts from the database.

Throws:
SystemException - if a system exception occurred

countByUuid

int countByUuid(String uuid)
                throws SystemException
Returns the number of document library file shortcuts where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
                  throws SystemException
Returns the number of document library file shortcuts where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

countByToFileEntryId

int countByToFileEntryId(long toFileEntryId)
                         throws SystemException
Returns the number of document library file shortcuts where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

countByG_F

int countByG_F(long groupId,
               long folderId)
               throws SystemException
Returns the number of document library file shortcuts where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F

int filterCountByG_F(long groupId,
                     long folderId)
                     throws SystemException
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F_S

int countByG_F_S(long groupId,
                 long folderId,
                 int status)
                 throws SystemException
Returns the number of document library file shortcuts where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F_S

int filterCountByG_F_S(long groupId,
                       long folderId,
                       int status)
                       throws SystemException
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the number of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of document library file shortcuts.

Returns:
the number of document library file shortcuts
Throws:
SystemException - if a system exception occurred

Liferay 6.1.2-ce-ga3