com.liferay.portlet.documentlibrary.service.persistence
Class DLFileEntryUtil
java.lang.Object
com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryUtil
- public class DLFileEntryUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countByF_N(long folderId,
java.lang.String name)
|
static int |
countByF_T(long folderId,
java.lang.String title)
|
static int |
countByFolderId(long folderId)
|
static int |
countByUuid(java.lang.String uuid)
|
static DLFileEntry |
create(long fileEntryId)
|
static DLFileEntry |
fetchByF_N(long folderId,
java.lang.String name)
|
static DLFileEntry |
fetchByPrimaryKey(long fileEntryId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry[] |
findByCompanyId_PrevAndNext(long fileEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByCompanyId(long companyId)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByF_N(long folderId,
java.lang.String name)
|
static DLFileEntry |
findByF_T_First(long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByF_T_Last(long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry[] |
findByF_T_PrevAndNext(long fileEntryId,
long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByF_T(long folderId,
java.lang.String title)
|
static java.util.List |
findByF_T(long folderId,
java.lang.String title,
int begin,
int end)
|
static java.util.List |
findByF_T(long folderId,
java.lang.String title,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry[] |
findByFolderId_PrevAndNext(long fileEntryId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByFolderId(long folderId)
|
static java.util.List |
findByFolderId(long folderId,
int begin,
int end)
|
static java.util.List |
findByFolderId(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByPrimaryKey(long fileEntryId)
|
static DLFileEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static DLFileEntry[] |
findByUuid_PrevAndNext(long fileEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByUuid(java.lang.String uuid)
|
static java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end)
|
static java.util.List |
findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static DLFileEntryPersistence |
getPersistence()
|
static DLFileEntry |
remove(DLFileEntry dlFileEntry)
|
static DLFileEntry |
remove(long fileEntryId)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByF_N(long folderId,
java.lang.String name)
|
static void |
removeByF_T(long folderId,
java.lang.String title)
|
static void |
removeByFolderId(long folderId)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(DLFileEntryPersistence persistence)
|
static DLFileEntry |
update(DLFileEntry dlFileEntry)
|
static DLFileEntry |
update(DLFileEntry dlFileEntry,
boolean merge)
|
static DLFileEntry |
updateImpl(DLFileEntry dlFileEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryUtil
public DLFileEntryUtil()
create
public static DLFileEntry create(long fileEntryId)
remove
public static DLFileEntry remove(long fileEntryId)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
remove
public static DLFileEntry remove(DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static DLFileEntry update(DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static DLFileEntry update(DLFileEntry dlFileEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public static DLFileEntry updateImpl(DLFileEntry dlFileEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static DLFileEntry findByPrimaryKey(long fileEntryId)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
fetchByPrimaryKey
public static DLFileEntry fetchByPrimaryKey(long fileEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List findByUuid(java.lang.String uuid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List 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
public static DLFileEntry findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByUuid_Last
public static DLFileEntry findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByUuid_PrevAndNext
public static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByCompanyId
public static java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static DLFileEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByCompanyId_Last
public static DLFileEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByCompanyId_PrevAndNext
public static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByFolderId
public static java.util.List findByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
public static java.util.List findByFolderId(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
public static java.util.List 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
public static DLFileEntry findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByFolderId_Last
public static DLFileEntry findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByFolderId_PrevAndNext
public static DLFileEntry[] findByFolderId_PrevAndNext(long fileEntryId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByF_N
public static DLFileEntry findByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
fetchByF_N
public static DLFileEntry fetchByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T
public static java.util.List findByF_T(long folderId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T
public static java.util.List findByF_T(long folderId,
java.lang.String title,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T
public static java.util.List findByF_T(long folderId,
java.lang.String title,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T_First
public static DLFileEntry findByF_T_First(long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByF_T_Last
public static DLFileEntry findByF_T_Last(long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findByF_T_PrevAndNext
public static DLFileEntry[] findByF_T_PrevAndNext(long fileEntryId,
long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
public static void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByFolderId
public static void removeByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByF_N
public static void removeByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
removeByF_T
public static void removeByF_T(long folderId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
public static int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByFolderId
public static int countByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByF_N
public static int countByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByF_T
public static int countByF_T(long folderId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static DLFileEntryPersistence getPersistence()
setPersistence
public void setPersistence(DLFileEntryPersistence persistence)