com.liferay.portlet.dynamicdatalists.service.persistence
Class DDLRecordVersionPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
      extended by com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>, com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence

public class DDLRecordVersionPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
implements com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence

The persistence implementation for the d d l record version service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
DDLRecordVersionPersistence, DDLRecordVersionUtil
Generated:

Field Summary
protected  com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordPersistence ddlRecordPersistence
           
protected  com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordSetPersistence ddlRecordSetPersistence
           
protected  com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence ddlRecordVersionPersistence
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_R_S
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_R_V
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_RECORDID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_R_V
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_S
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_RECORDID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_S
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RECORDID
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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
DDLRecordVersionPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the d d l record version persistence.
 void cacheResult(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
          Caches the d d l record version in the entity cache if it is enabled.
 void cacheResult(java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> ddlRecordVersions)
          Caches the d d l record versions in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all d d l record versions.
 void clearCache(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
          Clears the cache for the d d l record version.
 void clearCache(java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> ddlRecordVersions)
           
protected  void clearUniqueFindersCache(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
           
 int countAll()
          Returns the number of d d l record versions.
 int countByR_S(long recordId, int status)
          Returns the number of d d l record versions where recordId = ? and status = ?.
 int countByR_V(long recordId, java.lang.String version)
          Returns the number of d d l record versions where recordId = ? and version = ?.
 int countByRecordId(long recordId)
          Returns the number of d d l record versions where recordId = ?.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion create(long recordVersionId)
          Creates a new d d l record version with the primary key.
 void destroy()
           
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByPrimaryKey(long recordVersionId)
          Returns the d d l record version with the primary key or returns null if it could not be found.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the d d l record version with the primary key or returns null if it could not be found.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByR_V(long recordId, java.lang.String version)
          Returns the d d l record version where recordId = ? and version = ? or returns null if it could not be found.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByR_V(long recordId, java.lang.String version, boolean retrieveFromCache)
          Returns the d d l record version where recordId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findAll()
          Returns all the d d l record versions.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findAll(int start, int end)
          Returns a range of all the d d l record versions.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d l record versions.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByPrimaryKey(long recordVersionId)
          Returns the d d l record version with the primary key or throws a NoSuchRecordVersionException if it could not be found.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the d d l record version with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByR_S_First(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d l record version in the ordered set where recordId = ? and status = ?.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByR_S_Last(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d l record version in the ordered set where recordId = ? and status = ?.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion[] findByR_S_PrevAndNext(long recordVersionId, long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d l record versions before and after the current d d l record version in the ordered set where recordId = ? and status = ?.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByR_S(long recordId, int status)
          Returns all the d d l record versions where recordId = ? and status = ?.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByR_S(long recordId, int status, int start, int end)
          Returns a range of all the d d l record versions where recordId = ? and status = ?.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByR_S(long recordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d l record versions where recordId = ? and status = ?.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByR_V(long recordId, java.lang.String version)
          Returns the d d l record version where recordId = ? and version = ? or throws a NoSuchRecordVersionException if it could not be found.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d l record version in the ordered set where recordId = ?.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d l record version in the ordered set where recordId = ?.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion[] findByRecordId_PrevAndNext(long recordVersionId, long recordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d l record versions before and after the current d d l record version in the ordered set where recordId = ?.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByRecordId(long recordId)
          Returns all the d d l record versions where recordId = ?.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByRecordId(long recordId, int start, int end)
          Returns a range of all the d d l record versions where recordId = ?.
 java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByRecordId(long recordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d l record versions where recordId = ?.
protected  com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getByR_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion, long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getByRecordId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion, long recordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion remove(long recordVersionId)
          Removes the d d l record version with the primary key from the database.
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion remove(java.io.Serializable primaryKey)
          Removes the d d l record version with the primary key from the database.
 void removeAll()
          Removes all the d d l record versions from the database.
 void removeByR_S(long recordId, int status)
          Removes all the d d l record versions where recordId = ? and status = ? from the database.
 void removeByR_V(long recordId, java.lang.String version)
          Removes the d d l record version where recordId = ? and version = ? from the database.
 void removeByRecordId(long recordId)
          Removes all the d d l record versions where recordId = ? from the database.
protected  com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion removeImpl(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
           
protected  com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion toUnwrappedModel(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
           
 com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion updateImpl(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_RECORDID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_RECORDID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RECORDID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RECORDID

FINDER_PATH_COUNT_BY_RECORDID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_RECORDID

FINDER_PATH_FETCH_BY_R_V

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_R_V

FINDER_PATH_COUNT_BY_R_V

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_R_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_S

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_S

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_S

FINDER_PATH_COUNT_BY_R_S

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_R_S

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

ddlRecordPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordPersistence.class)
protected com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordPersistence ddlRecordPersistence

ddlRecordSetPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordSetPersistence.class)
protected com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordSetPersistence ddlRecordSetPersistence

ddlRecordVersionPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence.class)
protected com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence ddlRecordVersionPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

DDLRecordVersionPersistenceImpl

public DDLRecordVersionPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
Caches the d d l record version in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
ddlRecordVersion - the d d l record version

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> ddlRecordVersions)
Caches the d d l record versions in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
ddlRecordVersions - the d d l record versions

clearCache

public void clearCache()
Clears the cache for all d d l record versions.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>

clearCache

public void clearCache(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
Clears the cache for the d d l record version.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> ddlRecordVersions)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)

create

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion create(long recordVersionId)
Creates a new d d l record version with the primary key. Does not add the d d l record version to the database.

Specified by:
create in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordVersionId - the primary key for the new d d l record version
Returns:
the new d d l record version

remove

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion remove(long recordVersionId)
                                                                   throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Removes the d d l record version with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordVersionId - the primary key of the d d l record version
Returns:
the d d l record version that was removed
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a d d l record version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion remove(java.io.Serializable primaryKey)
                                                                   throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Removes the d d l record version with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Parameters:
primaryKey - the primary key of the d d l record version
Returns:
the d d l record version that was removed
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a d d l record version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion removeImpl(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion updateImpl(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion,
                                                                              boolean merge)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion toUnwrappedModel(com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion)

findByPrimaryKey

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByPrimaryKey(java.io.Serializable primaryKey)
                                                                             throws com.liferay.portal.NoSuchModelException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the d d l record version with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Parameters:
primaryKey - the primary key of the d d l record version
Returns:
the d d l record version
Throws:
com.liferay.portal.NoSuchModelException - if a d d l record version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByPrimaryKey(long recordVersionId)
                                                                             throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the d d l record version with the primary key or throws a NoSuchRecordVersionException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordVersionId - the primary key of the d d l record version
Returns:
the d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a d d l record version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the d d l record version with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion>
Parameters:
primaryKey - the primary key of the d d l record version
Returns:
the d d l record version, or null if a d d l record version with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByPrimaryKey(long recordVersionId)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the d d l record version with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordVersionId - the primary key of the d d l record version
Returns:
the d d l record version, or null if a d d l record version with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByRecordId

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByRecordId(long recordId)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d l record versions where recordId = ?.

Specified by:
findByRecordId in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
Returns:
the matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByRecordId

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByRecordId(long recordId,
                                                                                                  int start,
                                                                                                  int end)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d l record versions where recordId = ?.

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.

Specified by:
findByRecordId in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
start - the lower bound of the range of d d l record versions
end - the upper bound of the range of d d l record versions (not inclusive)
Returns:
the range of matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByRecordId

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByRecordId(long recordId,
                                                                                                  int start,
                                                                                                  int end,
                                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d l record versions where recordId = ?.

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.

Specified by:
findByRecordId in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
start - the lower bound of the range of d d l record versions
end - the upper bound of the range of d d l record versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByRecordId_First

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByRecordId_First(long recordId,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                 throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                                        com.liferay.portal.kernel.exception.SystemException
Returns the first d d l record version in the ordered set where recordId = ?.

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.

Specified by:
findByRecordId_First in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a matching d d l record version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByRecordId_Last

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByRecordId_Last(long recordId,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                                       com.liferay.portal.kernel.exception.SystemException
Returns the last d d l record version in the ordered set where recordId = ?.

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.

Specified by:
findByRecordId_Last in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a matching d d l record version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByRecordId_PrevAndNext

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion[] findByRecordId_PrevAndNext(long recordVersionId,
                                                                                                long recordId,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                         throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the d d l record versions before and after the current d d l record version in the ordered set where recordId = ?.

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.

Specified by:
findByRecordId_PrevAndNext in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordVersionId - the primary key of the current d d l record version
recordId - the record ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a d d l record version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByRecordId_PrevAndNext

protected com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getByRecordId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                                com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion,
                                                                                                long recordId,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                                boolean previous)

findByR_V

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByR_V(long recordId,
                                                                             java.lang.String version)
                                                                      throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                             com.liferay.portal.kernel.exception.SystemException
Returns the d d l record version where recordId = ? and version = ? or throws a NoSuchRecordVersionException if it could not be found.

Specified by:
findByR_V in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
version - the version
Returns:
the matching d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a matching d d l record version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByR_V

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByR_V(long recordId,
                                                                              java.lang.String version)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns the d d l record version where recordId = ? and version = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByR_V in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
version - the version
Returns:
the matching d d l record version, or null if a matching d d l record version could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByR_V

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion fetchByR_V(long recordId,
                                                                              java.lang.String version,
                                                                              boolean retrieveFromCache)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns the d d l record version where recordId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByR_V in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
version - the version
retrieveFromCache - whether to use the finder cache
Returns:
the matching d d l record version, or null if a matching d d l record version could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByR_S

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByR_S(long recordId,
                                                                                             int status)
                                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d l record versions where recordId = ? and status = ?.

Specified by:
findByR_S in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
status - the status
Returns:
the matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByR_S

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByR_S(long recordId,
                                                                                             int status,
                                                                                             int start,
                                                                                             int end)
                                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d l record versions where recordId = ? and status = ?.

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.

Specified by:
findByR_S in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
status - the status
start - the lower bound of the range of d d l record versions
end - the upper bound of the range of d d l record versions (not inclusive)
Returns:
the range of matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByR_S

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findByR_S(long recordId,
                                                                                             int status,
                                                                                             int start,
                                                                                             int end,
                                                                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d l record versions where recordId = ? and status = ?.

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.

Specified by:
findByR_S in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
status - the status
start - the lower bound of the range of d d l record versions
end - the upper bound of the range of d d l record versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByR_S_First

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByR_S_First(long recordId,
                                                                                   int status,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the first d d l record version in the ordered set where recordId = ? and status = ?.

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.

Specified by:
findByR_S_First in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a matching d d l record version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByR_S_Last

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion findByR_S_Last(long recordId,
                                                                                  int status,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                           throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the last d d l record version in the ordered set where recordId = ? and status = ?.

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.

Specified by:
findByR_S_Last in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a matching d d l record version could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByR_S_PrevAndNext

public com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion[] findByR_S_PrevAndNext(long recordVersionId,
                                                                                           long recordId,
                                                                                           int status,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                    throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                                                                                           com.liferay.portal.kernel.exception.SystemException
Returns the d d l record versions before and after the current d d l record version in the ordered set where recordId = ? and status = ?.

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.

Specified by:
findByR_S_PrevAndNext in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordVersionId - the primary key of the current d d l record version
recordId - the record ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d l record version
Throws:
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException - if a d d l record version with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByR_S_PrevAndNext

protected com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getByR_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                           com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion ddlRecordVersion,
                                                                                           long recordId,
                                                                                           int status,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                           boolean previous)

findAll

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findAll()
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d l record versions.

Specified by:
findAll in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Returns:
the d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findAll(int start,
                                                                                           int end)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d l record versions.

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.

Specified by:
findAll in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
start - the lower bound of the range of d d l record versions
end - the upper bound of the range of d d l record versions (not inclusive)
Returns:
the range of d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> findAll(int start,
                                                                                           int end,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d l record versions.

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.

Specified by:
findAll in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
start - the lower bound of the range of d d l record versions
end - the upper bound of the range of d d l record versions (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByRecordId

public void removeByRecordId(long recordId)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d l record versions where recordId = ? from the database.

Specified by:
removeByRecordId in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByR_V

public void removeByR_V(long recordId,
                        java.lang.String version)
                 throws com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException,
                        com.liferay.portal.kernel.exception.SystemException
Removes the d d l record version where recordId = ? and version = ? from the database.

Specified by:
removeByR_V in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
version - the version
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.dynamicdatalists.NoSuchRecordVersionException

removeByR_S

public void removeByR_S(long recordId,
                        int status)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d l record versions where recordId = ? and status = ? from the database.

Specified by:
removeByR_S in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
status - the status
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d l record versions from the database.

Specified by:
removeAll in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByRecordId

public int countByRecordId(long recordId)
                    throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d l record versions where recordId = ?.

Specified by:
countByRecordId in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
Returns:
the number of matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByR_V

public int countByR_V(long recordId,
                      java.lang.String version)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d l record versions where recordId = ? and version = ?.

Specified by:
countByR_V in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
version - the version
Returns:
the number of matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByR_S

public int countByR_S(long recordId,
                      int status)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d l record versions where recordId = ? and status = ?.

Specified by:
countByR_S in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Parameters:
recordId - the record ID
status - the status
Returns:
the number of matching d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d l record versions.

Specified by:
countAll in interface com.liferay.portlet.dynamicdatalists.service.persistence.DDLRecordVersionPersistence
Returns:
the number of d d l record versions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the d d l record version persistence.


destroy

public void destroy()