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 |
countByF_N(long folderId,
java.lang.String name)
|
static int |
countByFolderId(long folderId)
|
static com.liferay.portlet.documentlibrary.model.DLFileEntry |
create(long fileEntryId)
|
static com.liferay.portlet.documentlibrary.model.DLFileEntry |
fetchByF_N(long folderId,
java.lang.String name)
|
static com.liferay.portlet.documentlibrary.model.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 com.liferay.portlet.documentlibrary.model.DLFileEntry |
findByF_N(long folderId,
java.lang.String name)
|
static com.liferay.portlet.documentlibrary.model.DLFileEntry |
findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.documentlibrary.model.DLFileEntry |
findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.documentlibrary.model.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 com.liferay.portlet.documentlibrary.model.DLFileEntry |
findByPrimaryKey(long fileEntryId)
|
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 com.liferay.portlet.documentlibrary.model.DLFileEntry |
remove(com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
|
static com.liferay.portlet.documentlibrary.model.DLFileEntry |
remove(long fileEntryId)
|
static void |
removeAll()
|
static void |
removeByF_N(long folderId,
java.lang.String name)
|
static void |
removeByFolderId(long folderId)
|
void |
setPersistence(DLFileEntryPersistence persistence)
|
static com.liferay.portlet.documentlibrary.model.DLFileEntry |
update(com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
|
static com.liferay.portlet.documentlibrary.model.DLFileEntry |
update(com.liferay.portlet.documentlibrary.model.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 com.liferay.portlet.documentlibrary.model.DLFileEntry create(long fileEntryId)
remove
public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(long fileEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
remove
public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.documentlibrary.model.DLFileEntry update(com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.documentlibrary.model.DLFileEntry update(com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(long fileEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
fetchByPrimaryKey
public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(long fileEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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 com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
findByFolderId_Last
public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
findByFolderId_PrevAndNext
public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByFolderId_PrevAndNext(long fileEntryId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
findByF_N
public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
fetchByF_N
public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
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,
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
removeAll
public static void removeAll()
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
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)