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

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface DLFileShortcutPersistence
extends BasePersistence

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 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_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(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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid,
                                                        int start,
                                                        int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> findByFolderId(long folderId)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> findByFolderId(long folderId,
                                                            int start,
                                                            int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> findByTF_TN(long toFolderId,
                                                         java.lang.String toName)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTF_TN

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> findAll()
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileShortcut> findAll(int start,
                                                     int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFolderId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByFolderId(long folderId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByTF_TN

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByTF_TN(long toFolderId,
                               java.lang.String toName)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException