@ProviderType public interface DDMStructureVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStructureVersion>
Caching information and settings can be found in portal.properties
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStructureVersionPersistenceImpl,
DDMStructureVersionUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(DDMStructureVersion ddmStructureVersion)
Caches the d d m structure version in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMStructureVersion> ddmStructureVersions)
Caches the d d m structure versions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of d d m structure versions.
|
int |
countByS_S(long structureId,
int status)
Returns the number of d d m structure versions where structureId = ? and status = ?.
|
int |
countByS_V(long structureId,
java.lang.String version)
Returns the number of d d m structure versions where structureId = ? and version = ?.
|
int |
countByStructureId(long structureId)
Returns the number of d d m structure versions where structureId = ?.
|
DDMStructureVersion |
create(long structureVersionId)
Creates a new d d m structure version with the primary key.
|
DDMStructureVersion |
fetchByPrimaryKey(long structureVersionId)
Returns the d d m structure version with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,DDMStructureVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
DDMStructureVersion |
fetchByS_S_First(long structureId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the first d d m structure version in the ordered set where structureId = ? and status = ?.
|
DDMStructureVersion |
fetchByS_S_Last(long structureId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the last d d m structure version in the ordered set where structureId = ? and status = ?.
|
DDMStructureVersion |
fetchByS_V(long structureId,
java.lang.String version)
Returns the d d m structure version where structureId = ? and version = ? or returns
null if it could not be found. |
DDMStructureVersion |
fetchByS_V(long structureId,
java.lang.String version,
boolean retrieveFromCache)
Returns the d d m structure version where structureId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMStructureVersion |
fetchByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the first d d m structure version in the ordered set where structureId = ?.
|
DDMStructureVersion |
fetchByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the last d d m structure version in the ordered set where structureId = ?.
|
java.util.List<DDMStructureVersion> |
findAll()
Returns all the d d m structure versions.
|
java.util.List<DDMStructureVersion> |
findAll(int start,
int end)
Returns a range of all the d d m structure versions.
|
java.util.List<DDMStructureVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns an ordered range of all the d d m structure versions.
|
java.util.List<DDMStructureVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d m structure versions.
|
DDMStructureVersion |
findByPrimaryKey(long structureVersionId)
Returns the d d m structure version with the primary key or throws a
NoSuchStructureVersionException if it could not be found. |
DDMStructureVersion |
findByS_S_First(long structureId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the first d d m structure version in the ordered set where structureId = ? and status = ?.
|
DDMStructureVersion |
findByS_S_Last(long structureId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the last d d m structure version in the ordered set where structureId = ? and status = ?.
|
DDMStructureVersion[] |
findByS_S_PrevAndNext(long structureVersionId,
long structureId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the d d m structure versions before and after the current d d m structure version in the ordered set where structureId = ? and status = ?.
|
java.util.List<DDMStructureVersion> |
findByS_S(long structureId,
int status)
Returns all the d d m structure versions where structureId = ? and status = ?.
|
java.util.List<DDMStructureVersion> |
findByS_S(long structureId,
int status,
int start,
int end)
Returns a range of all the d d m structure versions where structureId = ? and status = ?.
|
java.util.List<DDMStructureVersion> |
findByS_S(long structureId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns an ordered range of all the d d m structure versions where structureId = ? and status = ?.
|
java.util.List<DDMStructureVersion> |
findByS_S(long structureId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d m structure versions where structureId = ? and status = ?.
|
DDMStructureVersion |
findByS_V(long structureId,
java.lang.String version)
Returns the d d m structure version where structureId = ? and version = ? or throws a
NoSuchStructureVersionException if it could not be found. |
DDMStructureVersion |
findByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the first d d m structure version in the ordered set where structureId = ?.
|
DDMStructureVersion |
findByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the last d d m structure version in the ordered set where structureId = ?.
|
DDMStructureVersion[] |
findByStructureId_PrevAndNext(long structureVersionId,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns the d d m structure versions before and after the current d d m structure version in the ordered set where structureId = ?.
|
java.util.List<DDMStructureVersion> |
findByStructureId(long structureId)
Returns all the d d m structure versions where structureId = ?.
|
java.util.List<DDMStructureVersion> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the d d m structure versions where structureId = ?.
|
java.util.List<DDMStructureVersion> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
Returns an ordered range of all the d d m structure versions where structureId = ?.
|
java.util.List<DDMStructureVersion> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d m structure versions where structureId = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
DDMStructureVersion |
remove(long structureVersionId)
Removes the d d m structure version with the primary key from the database.
|
void |
removeAll()
Removes all the d d m structure versions from the database.
|
void |
removeByS_S(long structureId,
int status)
Removes all the d d m structure versions where structureId = ? and status = ? from the database.
|
DDMStructureVersion |
removeByS_V(long structureId,
java.lang.String version)
Removes the d d m structure version where structureId = ? and version = ? from the database.
|
void |
removeByStructureId(long structureId)
Removes all the d d m structure versions where structureId = ? from the database.
|
DDMStructureVersion |
updateImpl(DDMStructureVersion ddmStructureVersion) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<DDMStructureVersion> findByStructureId(long structureId)
structureId - the structure IDjava.util.List<DDMStructureVersion> findByStructureId(long structureId, 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 DDMStructureVersionModelImpl. 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.
structureId - the structure IDstart - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)java.util.List<DDMStructureVersion> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> 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 DDMStructureVersionModelImpl. 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.
structureId - the structure IDstart - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDMStructureVersion> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> 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 DDMStructureVersionModelImpl. 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.
structureId - the structure IDstart - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheDDMStructureVersion findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureVersionException - if a matching d d m structure version could not be foundDDMStructureVersion fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure version could not be foundDDMStructureVersion findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureVersionException - if a matching d d m structure version could not be foundDDMStructureVersion fetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure version could not be foundDDMStructureVersion[] findByStructureId_PrevAndNext(long structureVersionId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
structureVersionId - the primary key of the current d d m structure versionstructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureVersionException - if a d d m structure version with the primary key could not be foundvoid removeByStructureId(long structureId)
structureId - the structure IDint countByStructureId(long structureId)
structureId - the structure IDDDMStructureVersion findByS_V(long structureId, java.lang.String version) throws NoSuchStructureVersionException
NoSuchStructureVersionException if it could not be found.structureId - the structure IDversion - the versionNoSuchStructureVersionException - if a matching d d m structure version could not be foundDDMStructureVersion fetchByS_V(long structureId, java.lang.String version)
null if it could not be found. Uses the finder cache.structureId - the structure IDversion - the versionnull if a matching d d m structure version could not be foundDDMStructureVersion fetchByS_V(long structureId, java.lang.String version, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.structureId - the structure IDversion - the versionretrieveFromCache - whether to retrieve from the finder cachenull if a matching d d m structure version could not be foundDDMStructureVersion removeByS_V(long structureId, java.lang.String version) throws NoSuchStructureVersionException
structureId - the structure IDversion - the versionNoSuchStructureVersionExceptionint countByS_V(long structureId,
java.lang.String version)
structureId - the structure IDversion - the versionjava.util.List<DDMStructureVersion> findByS_S(long structureId, int status)
structureId - the structure IDstatus - the statusjava.util.List<DDMStructureVersion> findByS_S(long structureId, 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 DDMStructureVersionModelImpl. 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.
structureId - the structure IDstatus - the statusstart - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)java.util.List<DDMStructureVersion> findByS_S(long structureId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> 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 DDMStructureVersionModelImpl. 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.
structureId - the structure IDstatus - the statusstart - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDMStructureVersion> findByS_S(long structureId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> 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 DDMStructureVersionModelImpl. 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.
structureId - the structure IDstatus - the statusstart - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheDDMStructureVersion findByS_S_First(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
structureId - the structure IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureVersionException - if a matching d d m structure version could not be foundDDMStructureVersion fetchByS_S_First(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
structureId - the structure IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure version could not be foundDDMStructureVersion findByS_S_Last(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
structureId - the structure IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureVersionException - if a matching d d m structure version could not be foundDDMStructureVersion fetchByS_S_Last(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
structureId - the structure IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure version could not be foundDDMStructureVersion[] findByS_S_PrevAndNext(long structureVersionId, long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
structureVersionId - the primary key of the current d d m structure versionstructureId - the structure IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureVersionException - if a d d m structure version with the primary key could not be foundvoid removeByS_S(long structureId,
int status)
structureId - the structure IDstatus - the statusint countByS_S(long structureId,
int status)
structureId - the structure IDstatus - the statusvoid cacheResult(DDMStructureVersion ddmStructureVersion)
ddmStructureVersion - the d d m structure versionvoid cacheResult(java.util.List<DDMStructureVersion> ddmStructureVersions)
ddmStructureVersions - the d d m structure versionsDDMStructureVersion create(long structureVersionId)
structureVersionId - the primary key for the new d d m structure versionDDMStructureVersion remove(long structureVersionId) throws NoSuchStructureVersionException
structureVersionId - the primary key of the d d m structure versionNoSuchStructureVersionException - if a d d m structure version with the primary key could not be foundDDMStructureVersion updateImpl(DDMStructureVersion ddmStructureVersion)
DDMStructureVersion findByPrimaryKey(long structureVersionId) throws NoSuchStructureVersionException
NoSuchStructureVersionException if it could not be found.structureVersionId - the primary key of the d d m structure versionNoSuchStructureVersionException - if a d d m structure version with the primary key could not be foundDDMStructureVersion fetchByPrimaryKey(long structureVersionId)
null if it could not be found.structureVersionId - the primary key of the d d m structure versionnull if a d d m structure version with the primary key could not be foundjava.util.Map<java.io.Serializable,DDMStructureVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStructureVersion>java.util.List<DDMStructureVersion> findAll()
java.util.List<DDMStructureVersion> 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 DDMStructureVersionModelImpl. 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.
start - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)java.util.List<DDMStructureVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> 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 DDMStructureVersionModelImpl. 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.
start - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDMStructureVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> 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 DDMStructureVersionModelImpl. 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.
start - the lower bound of the range of d d m structure versionsend - the upper bound of the range of d d m structure versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStructureVersion>