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

All Superinterfaces:
BasePersistence

public interface DLFileShortcutPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void cacheResult(DLFileShortcut dlFileShortcut)
           
 void cacheResult(java.util.List<DLFileShortcut> dlFileShortcuts)
           
 void clearCache()
           
 int countAll()
           
 int countByFolderId(long folderId)
           
 int countByTF_TN(long toFolderId, java.lang.String toName)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 DLFileShortcut create(long fileShortcutId)
           
 DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
           
 DLFileShortcut fetchByUUID_G(java.lang.String uuid, long groupId)
           
 DLFileShortcut fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<DLFileShortcut> findAll()
           
 java.util.List<DLFileShortcut> findAll(int start, int end)
           
 java.util.List<DLFileShortcut> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut[] findByFolderId_PrevAndNext(long fileShortcutId, long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileShortcut> findByFolderId(long folderId)
           
 java.util.List<DLFileShortcut> findByFolderId(long folderId, int start, int end)
           
 java.util.List<DLFileShortcut> findByFolderId(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut findByPrimaryKey(long fileShortcutId)
           
 DLFileShortcut findByTF_TN_First(long toFolderId, java.lang.String toName, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut findByTF_TN_Last(long toFolderId, java.lang.String toName, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut[] findByTF_TN_PrevAndNext(long fileShortcutId, long toFolderId, java.lang.String toName, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileShortcut> findByTF_TN(long toFolderId, java.lang.String toName)
           
 java.util.List<DLFileShortcut> findByTF_TN(long toFolderId, java.lang.String toName, int start, int end)
           
 java.util.List<DLFileShortcut> findByTF_TN(long toFolderId, java.lang.String toName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut findByUUID_G(java.lang.String uuid, long groupId)
           
 DLFileShortcut findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid)
           
 java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 DLFileShortcut remove(DLFileShortcut dlFileShortcut)
           
 DLFileShortcut remove(long fileShortcutId)
           
 void removeAll()
           
 void removeByFolderId(long folderId)
           
 void removeByTF_TN(long toFolderId, java.lang.String toName)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 DLFileShortcut update(DLFileShortcut dlFileShortcut)
          Deprecated. Use update(DLFileShortcut dlFileShortcut, boolean merge).
 DLFileShortcut update(DLFileShortcut dlFileShortcut, boolean merge)
          Add, update, or merge, the entity.
 DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(DLFileShortcut dlFileShortcut)

cacheResult

void cacheResult(java.util.List<DLFileShortcut> dlFileShortcuts)

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

DLFileShortcut create(long fileShortcutId)

remove

DLFileShortcut remove(long fileShortcutId)
                      throws com.liferay.portal.SystemException,
                             NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

remove

DLFileShortcut remove(DLFileShortcut dlFileShortcut)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

DLFileShortcut update(DLFileShortcut dlFileShortcut)
                      throws com.liferay.portal.SystemException
Deprecated. Use update(DLFileShortcut dlFileShortcut, boolean merge).

Throws:
com.liferay.portal.SystemException

update

DLFileShortcut update(DLFileShortcut dlFileShortcut,
                      boolean merge)
                      throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
dlFileShortcut - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when dlFileShortcut is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut,
                          boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

DLFileShortcut findByPrimaryKey(long fileShortcutId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

fetchByPrimaryKey

DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

DLFileShortcut findByUuid_First(java.lang.String uuid,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByUuid_Last

DLFileShortcut findByUuid_Last(java.lang.String uuid,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByUuid_PrevAndNext

DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId,
                                        java.lang.String uuid,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByUUID_G

DLFileShortcut findByUUID_G(java.lang.String uuid,
                            long groupId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

fetchByUUID_G

DLFileShortcut fetchByUUID_G(java.lang.String uuid,
                             long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByUUID_G

DLFileShortcut fetchByUUID_G(java.lang.String uuid,
                             long groupId,
                             boolean retrieveFromCache)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

java.util.List<DLFileShortcut> findByFolderId(long folderId)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

java.util.List<DLFileShortcut> findByFolderId(long folderId,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

java.util.List<DLFileShortcut> findByFolderId(long folderId,
                                              int start,
                                              int end,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId_First

DLFileShortcut findByFolderId_First(long folderId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByFolderId_Last

DLFileShortcut findByFolderId_Last(long folderId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByFolderId_PrevAndNext

DLFileShortcut[] findByFolderId_PrevAndNext(long fileShortcutId,
                                            long folderId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByTF_TN

java.util.List<DLFileShortcut> findByTF_TN(long toFolderId,
                                           java.lang.String toName)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTF_TN

java.util.List<DLFileShortcut> findByTF_TN(long toFolderId,
                                           java.lang.String toName,
                                           int start,
                                           int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTF_TN

java.util.List<DLFileShortcut> findByTF_TN(long toFolderId,
                                           java.lang.String toName,
                                           int start,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTF_TN_First

DLFileShortcut findByTF_TN_First(long toFolderId,
                                 java.lang.String toName,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByTF_TN_Last

DLFileShortcut findByTF_TN_Last(long toFolderId,
                                java.lang.String toName,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findByTF_TN_PrevAndNext

DLFileShortcut[] findByTF_TN_PrevAndNext(long fileShortcutId,
                                         long toFolderId,
                                         java.lang.String toName,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<DLFileShortcut> findAll()
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<DLFileShortcut> findAll(int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<DLFileShortcut> findAll(int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws com.liferay.portal.SystemException,
                           NoSuchFileShortcutException
Throws:
com.liferay.portal.SystemException
NoSuchFileShortcutException

removeByFolderId

void removeByFolderId(long folderId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByTF_TN

void removeByTF_TN(long toFolderId,
                   java.lang.String toName)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFolderId

int countByFolderId(long folderId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByTF_TN

int countByTF_TN(long toFolderId,
                 java.lang.String toName)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException