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


public interface DLFileShortcutPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByFolderId(long folderId)
           
 int countByTF_TN(long toFolderId, java.lang.String toName)
           
 int countByUuid(java.lang.String uuid)
           
 DLFileShortcut create(long fileShortcutId)
           
 DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
           
 java.util.List<DLFileShortcut> findAll()
           
 java.util.List<DLFileShortcut> findAll(int begin, int end)
           
 java.util.List<DLFileShortcut> findAll(int begin, 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 begin, int end)
           
 java.util.List<DLFileShortcut> findByFolderId(long folderId, int begin, 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 begin, int end)
           
 java.util.List<DLFileShortcut> findByTF_TN(long toFolderId, java.lang.String toName, int begin, 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_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 begin, int end)
           
 java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileShortcut> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<DLFileShortcut> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, 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(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)
           
 

Method Detail

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 begin,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid,
                                          int begin,
                                          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

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 begin,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

java.util.List<DLFileShortcut> findByFolderId(long folderId,
                                              int begin,
                                              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 begin,
                                           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 begin,
                                           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<DLFileShortcut> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<DLFileShortcut> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                    int begin,
                                                    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 begin,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<DLFileShortcut> findAll(int begin,
                                       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

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

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