|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileVersion>
com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileVersionPersistenceImpl
@ProviderType public class DLFileVersionPersistenceImpl
The persistence implementation for the document library file version service.
Caching information and settings can be found in portal.properties
DLFileVersionPersistence,
DLFileVersionUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
DLFileVersionPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the document library file version persistence. |
void |
cacheResult(DLFileVersion dlFileVersion)
Caches the document library file version in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileVersion> dlFileVersions)
Caches the document library file versions in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(DLFileVersionModelImpl dlFileVersionModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all document library file versions. |
void |
clearCache(DLFileVersion dlFileVersion)
Clears the cache for the document library file version. |
void |
clearCache(List<DLFileVersion> dlFileVersions)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DLFileVersionModelImpl dlFileVersionModelImpl)
|
int |
countAll()
Returns the number of document library file versions. |
int |
countByC_NotS(long companyId,
int status)
Returns the number of document library file versions where companyId = ? and status ≠ ?. |
int |
countByCompanyId(long companyId)
Returns the number of document library file versions where companyId = ?. |
int |
countByF_S(long fileEntryId,
int status)
Returns the number of document library file versions where fileEntryId = ? and status = ?. |
int |
countByF_V(long fileEntryId,
String version)
Returns the number of document library file versions where fileEntryId = ? and version = ?. |
int |
countByFileEntryId(long fileEntryId)
Returns the number of document library file versions where fileEntryId = ?. |
int |
countByG_F_S(long groupId,
long folderId,
int status)
Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?. |
int |
countByG_F_T_V(long groupId,
long folderId,
String title,
String version)
Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?. |
int |
countByMimeType(String mimeType)
Returns the number of document library file versions where mimeType = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file versions where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file versions where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of document library file versions where uuid = ?. |
DLFileVersion |
create(long fileVersionId)
Creates a new document library file version with the primary key. |
void |
destroy()
|
DLFileVersion |
fetchByC_NotS_First(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?. |
DLFileVersion |
fetchByC_NotS_Last(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?. |
DLFileVersion |
fetchByCompanyId_First(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where companyId = ?. |
DLFileVersion |
fetchByCompanyId_Last(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where companyId = ?. |
DLFileVersion |
fetchByF_S_First(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?. |
DLFileVersion |
fetchByF_S_Last(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?. |
DLFileVersion |
fetchByF_V(long fileEntryId,
String version)
Returns the document library file version where fileEntryId = ? and version = ? or returns null if it could not be found. |
DLFileVersion |
fetchByF_V(long fileEntryId,
String version,
boolean retrieveFromCache)
Returns the document library file version where fileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileVersion |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ?. |
DLFileVersion |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ?. |
DLFileVersion |
fetchByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?. |
DLFileVersion |
fetchByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?. |
DLFileVersion |
fetchByG_F_T_V_First(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?. |
DLFileVersion |
fetchByG_F_T_V_Last(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?. |
DLFileVersion |
fetchByMimeType_First(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?. |
DLFileVersion |
fetchByMimeType_Last(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where mimeType = ?. |
DLFileVersion |
fetchByPrimaryKey(long fileVersionId)
Returns the document library file version with the primary key or returns null if it could not be found. |
DLFileVersion |
fetchByPrimaryKey(Serializable primaryKey)
Returns the document library file version with the primary key or returns null if it could not be found. |
Map<Serializable,DLFileVersion> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
DLFileVersion |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where uuid = ? and companyId = ?. |
DLFileVersion |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where uuid = ? and companyId = ?. |
DLFileVersion |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where uuid = ?. |
DLFileVersion |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file version where uuid = ? and groupId = ? or returns null if it could not be found. |
DLFileVersion |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file version where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileVersion |
fetchByUuid_Last(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where uuid = ?. |
List<DLFileVersion> |
findAll()
Returns all the document library file versions. |
List<DLFileVersion> |
findAll(int start,
int end)
Returns a range of all the document library file versions. |
List<DLFileVersion> |
findAll(int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions. |
List<DLFileVersion> |
findAll(int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions. |
DLFileVersion |
findByC_NotS_First(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?. |
DLFileVersion |
findByC_NotS_Last(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?. |
DLFileVersion[] |
findByC_NotS_PrevAndNext(long fileVersionId,
long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?. |
List<DLFileVersion> |
findByC_NotS(long companyId,
int status)
Returns all the document library file versions where companyId = ? and status ≠ ?. |
List<DLFileVersion> |
findByC_NotS(long companyId,
int status,
int start,
int end)
Returns a range of all the document library file versions where companyId = ? and status ≠ ?. |
List<DLFileVersion> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?. |
List<DLFileVersion> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?. |
DLFileVersion |
findByCompanyId_First(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where companyId = ?. |
DLFileVersion |
findByCompanyId_Last(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where companyId = ?. |
DLFileVersion[] |
findByCompanyId_PrevAndNext(long fileVersionId,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?. |
List<DLFileVersion> |
findByCompanyId(long companyId)
Returns all the document library file versions where companyId = ?. |
List<DLFileVersion> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the document library file versions where companyId = ?. |
List<DLFileVersion> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where companyId = ?. |
List<DLFileVersion> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where companyId = ?. |
DLFileVersion |
findByF_S_First(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?. |
DLFileVersion |
findByF_S_Last(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?. |
DLFileVersion[] |
findByF_S_PrevAndNext(long fileVersionId,
long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?. |
List<DLFileVersion> |
findByF_S(long fileEntryId,
int status)
Returns all the document library file versions where fileEntryId = ? and status = ?. |
List<DLFileVersion> |
findByF_S(long fileEntryId,
int status,
int start,
int end)
Returns a range of all the document library file versions where fileEntryId = ? and status = ?. |
List<DLFileVersion> |
findByF_S(long fileEntryId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?. |
List<DLFileVersion> |
findByF_S(long fileEntryId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?. |
DLFileVersion |
findByF_V(long fileEntryId,
String version)
Returns the document library file version where fileEntryId = ? and version = ? or throws a NoSuchFileVersionException if it could not be found. |
DLFileVersion |
findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ?. |
DLFileVersion |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ?. |
DLFileVersion[] |
findByFileEntryId_PrevAndNext(long fileVersionId,
long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?. |
List<DLFileVersion> |
findByFileEntryId(long fileEntryId)
Returns all the document library file versions where fileEntryId = ?. |
List<DLFileVersion> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file versions where fileEntryId = ?. |
List<DLFileVersion> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where fileEntryId = ?. |
List<DLFileVersion> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where fileEntryId = ?. |
DLFileVersion |
findByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?. |
DLFileVersion |
findByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?. |
DLFileVersion[] |
findByG_F_S_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and status = ?. |
List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status)
Returns all the document library file versions where groupId = ? and folderId = ? and status = ?. |
List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
Returns a range of all the document library file versions where groupId = ? and folderId = ? and status = ?. |
List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?. |
List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?. |
DLFileVersion |
findByG_F_T_V_First(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?. |
DLFileVersion |
findByG_F_T_V_Last(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?. |
DLFileVersion[] |
findByG_F_T_V_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?. |
List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
String title,
String version)
Returns all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?. |
List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
String title,
String version,
int start,
int end)
Returns a range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?. |
List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
String title,
String version,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?. |
List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
String title,
String version,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?. |
DLFileVersion |
findByMimeType_First(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?. |
DLFileVersion |
findByMimeType_Last(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where mimeType = ?. |
DLFileVersion[] |
findByMimeType_PrevAndNext(long fileVersionId,
String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?. |
List<DLFileVersion> |
findByMimeType(String mimeType)
Returns all the document library file versions where mimeType = ?. |
List<DLFileVersion> |
findByMimeType(String mimeType,
int start,
int end)
Returns a range of all the document library file versions where mimeType = ?. |
List<DLFileVersion> |
findByMimeType(String mimeType,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where mimeType = ?. |
List<DLFileVersion> |
findByMimeType(String mimeType,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where mimeType = ?. |
DLFileVersion |
findByPrimaryKey(long fileVersionId)
Returns the document library file version with the primary key or throws a NoSuchFileVersionException if it could not be found. |
DLFileVersion |
findByPrimaryKey(Serializable primaryKey)
Returns the document library file version with the primary key or throws a NoSuchModelException if it could not be found. |
DLFileVersion |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where uuid = ? and companyId = ?. |
DLFileVersion |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where uuid = ? and companyId = ?. |
DLFileVersion[] |
findByUuid_C_PrevAndNext(long fileVersionId,
String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?. |
List<DLFileVersion> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file versions where uuid = ? and companyId = ?. |
List<DLFileVersion> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file versions where uuid = ? and companyId = ?. |
List<DLFileVersion> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?. |
List<DLFileVersion> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?. |
DLFileVersion |
findByUuid_First(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where uuid = ?. |
DLFileVersion |
findByUUID_G(String uuid,
long groupId)
Returns the document library file version where uuid = ? and groupId = ? or throws a NoSuchFileVersionException if it could not be found. |
DLFileVersion |
findByUuid_Last(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where uuid = ?. |
DLFileVersion[] |
findByUuid_PrevAndNext(long fileVersionId,
String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?. |
List<DLFileVersion> |
findByUuid(String uuid)
Returns all the document library file versions where uuid = ?. |
List<DLFileVersion> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file versions where uuid = ?. |
List<DLFileVersion> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions where uuid = ?. |
List<DLFileVersion> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected DLFileVersion |
getByC_NotS_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByCompanyId_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByF_S_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByFileEntryId_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByG_F_S_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByG_F_T_V_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByMimeType_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
String mimeType,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByUuid_C_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected DLFileVersion |
getByUuid_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
String uuid,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
DLFileVersion |
remove(long fileVersionId)
Removes the document library file version with the primary key from the database. |
DLFileVersion |
remove(Serializable primaryKey)
Removes the document library file version with the primary key from the database. |
void |
removeAll()
Removes all the document library file versions from the database. |
void |
removeByC_NotS(long companyId,
int status)
Removes all the document library file versions where companyId = ? and status ≠ ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the document library file versions where companyId = ? from the database. |
void |
removeByF_S(long fileEntryId,
int status)
Removes all the document library file versions where fileEntryId = ? and status = ? from the database. |
DLFileVersion |
removeByF_V(long fileEntryId,
String version)
Removes the document library file version where fileEntryId = ? and version = ? from the database. |
void |
removeByFileEntryId(long fileEntryId)
Removes all the document library file versions where fileEntryId = ? from the database. |
void |
removeByG_F_S(long groupId,
long folderId,
int status)
Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database. |
void |
removeByG_F_T_V(long groupId,
long folderId,
String title,
String version)
Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database. |
void |
removeByMimeType(String mimeType)
Removes all the document library file versions where mimeType = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file versions where uuid = ? and companyId = ? from the database. |
DLFileVersion |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file version where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the document library file versions where uuid = ? from the database. |
protected DLFileVersion |
removeImpl(DLFileVersion dlFileVersion)
Removes the model instance from the database. |
protected DLFileVersion |
toUnwrappedModel(DLFileVersion dlFileVersion)
|
DLFileVersion |
updateImpl(DLFileVersion dlFileVersion)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYID
public static final FinderPath FINDER_PATH_COUNT_BY_FILEENTRYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_MIMETYPE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MIMETYPE
public static final FinderPath FINDER_PATH_COUNT_BY_MIMETYPE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTS
public static final FinderPath FINDER_PATH_FETCH_BY_F_V
public static final FinderPath FINDER_PATH_COUNT_BY_F_V
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_F_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_F_S
public static final FinderPath FINDER_PATH_COUNT_BY_F_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_T_V
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_T_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_T_V
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public DLFileVersionPersistenceImpl()
| Method Detail |
|---|
public List<DLFileVersion> findByUuid(String uuid)
findByUuid in interface DLFileVersionPersistenceuuid - the uuid
public List<DLFileVersion> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileVersionPersistenceuuid - the uuidstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileVersionPersistenceuuid - the uuidstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileVersionPersistenceuuid - the uuidstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByUuid_First(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByUuid_First in interface DLFileVersionPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByUuid_First(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByUuid_First in interface DLFileVersionPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByUuid_Last(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByUuid_Last in interface DLFileVersionPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByUuid_Last(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByUuid_Last in interface DLFileVersionPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByUuid_PrevAndNext(long fileVersionId,
String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByUuid_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versionuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByUuid_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
String uuid,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface DLFileVersionPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface DLFileVersionPersistenceuuid - the uuid
public DLFileVersion findByUUID_G(String uuid,
long groupId)
throws NoSuchFileVersionException
NoSuchFileVersionException if it could not be found.
findByUUID_G in interface DLFileVersionPersistenceuuid - the uuidgroupId - the group ID
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface DLFileVersionPersistenceuuid - the uuidgroupId - the group ID
null if a matching document library file version could not be found
public DLFileVersion fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface DLFileVersionPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching document library file version could not be found
public DLFileVersion removeByUUID_G(String uuid,
long groupId)
throws NoSuchFileVersionException
removeByUUID_G in interface DLFileVersionPersistenceuuid - the uuidgroupId - the group ID
NoSuchFileVersionException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface DLFileVersionPersistenceuuid - the uuidgroupId - the group ID
public List<DLFileVersion> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company ID
public List<DLFileVersion> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByUuid_C_First in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByUuid_C_First in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByUuid_C_Last in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByUuid_C_Last in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByUuid_C_PrevAndNext(long fileVersionId,
String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByUuid_C_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versionuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByUuid_C_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
String uuid,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface DLFileVersionPersistenceuuid - the uuidcompanyId - the company ID
public List<DLFileVersion> findByCompanyId(long companyId)
findByCompanyId in interface DLFileVersionPersistencecompanyId - the company ID
public List<DLFileVersion> findByCompanyId(long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface DLFileVersionPersistencecompanyId - the company IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface DLFileVersionPersistencecompanyId - the company IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface DLFileVersionPersistencecompanyId - the company IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByCompanyId_First(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByCompanyId_First in interface DLFileVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByCompanyId_First(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByCompanyId_First in interface DLFileVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByCompanyId_Last(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByCompanyId_Last in interface DLFileVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByCompanyId_Last(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByCompanyId_Last in interface DLFileVersionPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByCompanyId_PrevAndNext(long fileVersionId,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByCompanyId_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versioncompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByCompanyId_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long companyId,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface DLFileVersionPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface DLFileVersionPersistencecompanyId - the company ID
public List<DLFileVersion> findByFileEntryId(long fileEntryId)
findByFileEntryId in interface DLFileVersionPersistencefileEntryId - the file entry ID
public List<DLFileVersion> findByFileEntryId(long fileEntryId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId in interface DLFileVersionPersistencefileEntryId - the file entry IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId in interface DLFileVersionPersistencefileEntryId - the file entry IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByFileEntryId in interface DLFileVersionPersistencefileEntryId - the file entry IDstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByFileEntryId_First in interface DLFileVersionPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByFileEntryId_First in interface DLFileVersionPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByFileEntryId_Last in interface DLFileVersionPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByFileEntryId_Last in interface DLFileVersionPersistencefileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByFileEntryId_PrevAndNext(long fileVersionId,
long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByFileEntryId_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versionfileEntryId - the file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByFileEntryId_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByFileEntryId(long fileEntryId)
removeByFileEntryId in interface DLFileVersionPersistencefileEntryId - the file entry IDpublic int countByFileEntryId(long fileEntryId)
countByFileEntryId in interface DLFileVersionPersistencefileEntryId - the file entry ID
public List<DLFileVersion> findByMimeType(String mimeType)
findByMimeType in interface DLFileVersionPersistencemimeType - the mime type
public List<DLFileVersion> findByMimeType(String mimeType,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByMimeType in interface DLFileVersionPersistencemimeType - the mime typestart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByMimeType(String mimeType,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByMimeType in interface DLFileVersionPersistencemimeType - the mime typestart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByMimeType(String mimeType,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByMimeType in interface DLFileVersionPersistencemimeType - the mime typestart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByMimeType_First(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByMimeType_First in interface DLFileVersionPersistencemimeType - the mime typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByMimeType_First(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByMimeType_First in interface DLFileVersionPersistencemimeType - the mime typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByMimeType_Last(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByMimeType_Last in interface DLFileVersionPersistencemimeType - the mime typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByMimeType_Last(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByMimeType_Last in interface DLFileVersionPersistencemimeType - the mime typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId,
String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByMimeType_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versionmimeType - the mime typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByMimeType_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
String mimeType,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByMimeType(String mimeType)
removeByMimeType in interface DLFileVersionPersistencemimeType - the mime typepublic int countByMimeType(String mimeType)
countByMimeType in interface DLFileVersionPersistencemimeType - the mime type
public List<DLFileVersion> findByC_NotS(long companyId,
int status)
findByC_NotS in interface DLFileVersionPersistencecompanyId - the company IDstatus - the status
public List<DLFileVersion> findByC_NotS(long companyId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_NotS in interface DLFileVersionPersistencecompanyId - the company IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_NotS in interface DLFileVersionPersistencecompanyId - the company IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_NotS in interface DLFileVersionPersistencecompanyId - the company IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByC_NotS_First(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByC_NotS_First in interface DLFileVersionPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByC_NotS_First(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByC_NotS_First in interface DLFileVersionPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByC_NotS_Last(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByC_NotS_Last in interface DLFileVersionPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByC_NotS_Last(long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByC_NotS_Last in interface DLFileVersionPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByC_NotS_PrevAndNext(long fileVersionId,
long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByC_NotS_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versioncompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByC_NotS_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long companyId,
int status,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByC_NotS(long companyId,
int status)
removeByC_NotS in interface DLFileVersionPersistencecompanyId - the company IDstatus - the status
public int countByC_NotS(long companyId,
int status)
countByC_NotS in interface DLFileVersionPersistencecompanyId - the company IDstatus - the status
public DLFileVersion findByF_V(long fileEntryId,
String version)
throws NoSuchFileVersionException
NoSuchFileVersionException if it could not be found.
findByF_V in interface DLFileVersionPersistencefileEntryId - the file entry IDversion - the version
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByF_V(long fileEntryId,
String version)
null if it could not be found. Uses the finder cache.
fetchByF_V in interface DLFileVersionPersistencefileEntryId - the file entry IDversion - the version
null if a matching document library file version could not be found
public DLFileVersion fetchByF_V(long fileEntryId,
String version,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByF_V in interface DLFileVersionPersistencefileEntryId - the file entry IDversion - the versionretrieveFromCache - whether to retrieve from the finder cache
null if a matching document library file version could not be found
public DLFileVersion removeByF_V(long fileEntryId,
String version)
throws NoSuchFileVersionException
removeByF_V in interface DLFileVersionPersistencefileEntryId - the file entry IDversion - the version
NoSuchFileVersionException
public int countByF_V(long fileEntryId,
String version)
countByF_V in interface DLFileVersionPersistencefileEntryId - the file entry IDversion - the version
public List<DLFileVersion> findByF_S(long fileEntryId,
int status)
findByF_S in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the status
public List<DLFileVersion> findByF_S(long fileEntryId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByF_S in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByF_S(long fileEntryId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByF_S in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByF_S(long fileEntryId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByF_S in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByF_S_First(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByF_S_First in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByF_S_First(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByF_S_First in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByF_S_Last(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByF_S_Last in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByF_S_Last(long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByF_S_Last in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByF_S_PrevAndNext(long fileVersionId,
long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByF_S_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versionfileEntryId - the file entry IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByF_S_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long fileEntryId,
int status,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByF_S(long fileEntryId,
int status)
removeByF_S in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the status
public int countByF_S(long fileEntryId,
int status)
countByF_S in interface DLFileVersionPersistencefileEntryId - the file entry IDstatus - the status
public List<DLFileVersion> findByG_F_S(long groupId,
long folderId,
int status)
findByG_F_S in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
public List<DLFileVersion> findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_S in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_S in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_S in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByG_F_S_First in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByG_F_S_First in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByG_F_S_Last in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByG_F_S_Last in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByG_F_S_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByG_F_S_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versiongroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByG_F_S_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
int status,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByG_F_S(long groupId,
long folderId,
int status)
removeByG_F_S in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
public int countByG_F_S(long groupId,
long folderId,
int status)
countByG_F_S in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
public List<DLFileVersion> findByG_F_T_V(long groupId,
long folderId,
String title,
String version)
findByG_F_T_V in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the version
public List<DLFileVersion> findByG_F_T_V(long groupId,
long folderId,
String title,
String version,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_T_V in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findByG_F_T_V(long groupId,
long folderId,
String title,
String version,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_T_V in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findByG_F_T_V(long groupId,
long folderId,
String title,
String version,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_T_V in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionstart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public DLFileVersion findByG_F_T_V_First(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByG_F_T_V_First in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByG_F_T_V_First(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByG_F_T_V_First in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion findByG_F_T_V_Last(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByG_F_T_V_Last in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a matching document library file version could not be found
public DLFileVersion fetchByG_F_T_V_Last(long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
fetchByG_F_T_V_Last in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file version could not be found
public DLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId,
long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator)
throws NoSuchFileVersionException
findByG_F_T_V_PrevAndNext in interface DLFileVersionPersistencefileVersionId - the primary key of the current document library file versiongroupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileVersionException - if a document library file version with the primary key could not be found
protected DLFileVersion getByG_F_T_V_PrevAndNext(Session session,
DLFileVersion dlFileVersion,
long groupId,
long folderId,
String title,
String version,
OrderByComparator<DLFileVersion> orderByComparator,
boolean previous)
public void removeByG_F_T_V(long groupId,
long folderId,
String title,
String version)
removeByG_F_T_V in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the version
public int countByG_F_T_V(long groupId,
long folderId,
String title,
String version)
countByG_F_T_V in interface DLFileVersionPersistencegroupId - the group IDfolderId - the folder IDtitle - the titleversion - the version
public void cacheResult(DLFileVersion dlFileVersion)
cacheResult in interface DLFileVersionPersistencedlFileVersion - the document library file versionpublic void cacheResult(List<DLFileVersion> dlFileVersions)
cacheResult in interface DLFileVersionPersistencedlFileVersions - the document library file versionspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileVersion>clearCache in class BasePersistenceImpl<DLFileVersion>public void clearCache(DLFileVersion dlFileVersion)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileVersion>clearCache in class BasePersistenceImpl<DLFileVersion>dlFileVersion - the instance of this model to clear the cache forpublic void clearCache(List<DLFileVersion> dlFileVersions)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DLFileVersion>clearCache in class BasePersistenceImpl<DLFileVersion>dlFileVersions - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(DLFileVersionModelImpl dlFileVersionModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(DLFileVersionModelImpl dlFileVersionModelImpl)
public DLFileVersion create(long fileVersionId)
create in interface DLFileVersionPersistencefileVersionId - the primary key for the new document library file version
public DLFileVersion remove(long fileVersionId)
throws NoSuchFileVersionException
remove in interface DLFileVersionPersistencefileVersionId - the primary key of the document library file version
NoSuchFileVersionException - if a document library file version with the primary key could not be found
public DLFileVersion remove(Serializable primaryKey)
throws NoSuchFileVersionException
remove in interface BasePersistence<DLFileVersion>remove in class BasePersistenceImpl<DLFileVersion>primaryKey - the primary key of the document library file version
NoSuchFileVersionException - if a document library file version with the primary key could not be foundprotected DLFileVersion removeImpl(DLFileVersion dlFileVersion)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DLFileVersion>dlFileVersion - the model instance to remove
public DLFileVersion updateImpl(DLFileVersion dlFileVersion)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DLFileVersionPersistenceupdateImpl in class BasePersistenceImpl<DLFileVersion>dlFileVersion - the model instance to update
protected DLFileVersion toUnwrappedModel(DLFileVersion dlFileVersion)
public DLFileVersion findByPrimaryKey(Serializable primaryKey)
throws NoSuchFileVersionException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DLFileVersion>findByPrimaryKey in class BasePersistenceImpl<DLFileVersion>primaryKey - the primary key of the document library file version
NoSuchFileVersionException - if a document library file version with the primary key could not be found
public DLFileVersion findByPrimaryKey(long fileVersionId)
throws NoSuchFileVersionException
NoSuchFileVersionException if it could not be found.
findByPrimaryKey in interface DLFileVersionPersistencefileVersionId - the primary key of the document library file version
NoSuchFileVersionException - if a document library file version with the primary key could not be foundpublic DLFileVersion fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DLFileVersion>fetchByPrimaryKey in class BasePersistenceImpl<DLFileVersion>primaryKey - the primary key of the document library file version
null if a document library file version with the primary key could not be foundpublic DLFileVersion fetchByPrimaryKey(long fileVersionId)
null if it could not be found.
fetchByPrimaryKey in interface DLFileVersionPersistencefileVersionId - the primary key of the document library file version
null if a document library file version with the primary key could not be foundpublic Map<Serializable,DLFileVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<DLFileVersion>fetchByPrimaryKeys in interface DLFileVersionPersistencefetchByPrimaryKeys in class BasePersistenceImpl<DLFileVersion>public List<DLFileVersion> findAll()
findAll in interface DLFileVersionPersistence
public List<DLFileVersion> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileVersionPersistencestart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)
public List<DLFileVersion> findAll(int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileVersionPersistencestart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<DLFileVersion> findAll(int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileVersionPersistencestart - the lower bound of the range of document library file versionsend - the upper bound of the range of document library file versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface DLFileVersionPersistencepublic int countAll()
countAll in interface DLFileVersionPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<DLFileVersion>getBadColumnNames in interface DLFileVersionPersistencegetBadColumnNames in class BasePersistenceImpl<DLFileVersion>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<DLFileVersion>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||