com.liferay.portlet.documentlibrary.service.persistence
Interface DLFileEntryPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface DLFileEntryPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByCompanyId(long companyId)
|
int |
countByF_N(long folderId,
java.lang.String name)
|
int |
countByF_T(long folderId,
java.lang.String title)
|
int |
countByFolderId(long folderId)
|
int |
countByUuid(java.lang.String uuid)
|
DLFileEntry |
create(long fileEntryId)
|
DLFileEntry |
fetchByF_N(long folderId,
java.lang.String name)
|
DLFileEntry |
fetchByPrimaryKey(long fileEntryId)
|
java.util.List<DLFileEntry> |
findAll()
|
java.util.List<DLFileEntry> |
findAll(int start,
int end)
|
java.util.List<DLFileEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry[] |
findByCompanyId_PrevAndNext(long fileEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFileEntry> |
findByCompanyId(long companyId)
|
java.util.List<DLFileEntry> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<DLFileEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByF_N(long folderId,
java.lang.String name)
|
DLFileEntry |
findByF_T_First(long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByF_T_Last(long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry[] |
findByF_T_PrevAndNext(long fileEntryId,
long folderId,
java.lang.String title,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFileEntry> |
findByF_T(long folderId,
java.lang.String title)
|
java.util.List<DLFileEntry> |
findByF_T(long folderId,
java.lang.String title,
int start,
int end)
|
java.util.List<DLFileEntry> |
findByF_T(long folderId,
java.lang.String title,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByFolderId_First(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByFolderId_Last(long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry[] |
findByFolderId_PrevAndNext(long fileEntryId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFileEntry> |
findByFolderId(long folderId)
|
java.util.List<DLFileEntry> |
findByFolderId(long folderId,
int start,
int end)
|
java.util.List<DLFileEntry> |
findByFolderId(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByPrimaryKey(long fileEntryId)
|
DLFileEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFileEntry[] |
findByUuid_PrevAndNext(long fileEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFileEntry> |
findByUuid(java.lang.String uuid)
|
java.util.List<DLFileEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<DLFileEntry> |
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)
|
DLFileEntry |
remove(DLFileEntry dlFileEntry)
|
DLFileEntry |
remove(long fileEntryId)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
void |
removeByF_N(long folderId,
java.lang.String name)
|
void |
removeByF_T(long folderId,
java.lang.String title)
|
void |
removeByFolderId(long folderId)
|
void |
removeByUuid(java.lang.String uuid)
|
DLFileEntry |
update(DLFileEntry dlFileEntry)
Deprecated. Use update(DLFileEntry dlFileEntry, boolean merge) . |
DLFileEntry |
update(DLFileEntry dlFileEntry,
boolean merge)
Add, update, or merge, the entity. |
DLFileEntry |
updateImpl(DLFileEntry dlFileEntry,
boolean merge)
|
create
DLFileEntry create(long fileEntryId)
remove
DLFileEntry remove(long fileEntryId)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
remove
DLFileEntry remove(DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
DLFileEntry update(DLFileEntry dlFileEntry)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(DLFileEntry dlFileEntry, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
DLFileEntry update(DLFileEntry dlFileEntry,
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:
dlFileEntry
- the entity to add, update, or mergemerge
- 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 dlFileEntry 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
DLFileEntry updateImpl(DLFileEntry dlFileEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLFileEntry findByPrimaryKey(long fileEntryId)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
fetchByPrimaryKey
DLFileEntry fetchByPrimaryKey(long fileEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> 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<DLFileEntry> 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)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByFolderId(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByFolderId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> 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<DLFileEntry> 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)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLFileEntry findByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
fetchByF_N
DLFileEntry fetchByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByF_T(long folderId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByF_T(long folderId,
java.lang.String title,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findByF_T(long folderId,
java.lang.String title,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByF_T_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@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<DLFileEntry> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileEntry> 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
removeByCompanyId
void removeByCompanyId(long companyId)
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
removeByF_N
void removeByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFileEntryException
- Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException
removeByF_T
void removeByF_T(long folderId,
java.lang.String title)
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
countByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCompanyId(long companyId)
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
countByF_N
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByF_N(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByF_T
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByF_T(long folderId,
java.lang.String title)
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