Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatalists.service
Class DDLRecordVersionLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatalists.service.DDLRecordVersionLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<DDLRecordVersionLocalService>, DDLRecordVersionLocalService

@ProviderType
public class DDLRecordVersionLocalServiceWrapper
extends Object
implements DDLRecordVersionLocalService, ServiceWrapper<DDLRecordVersionLocalService>

Provides a wrapper for DDLRecordVersionLocalService.

See Also:
DDLRecordVersionLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DDLRecordVersionLocalServiceWrapper(DDLRecordVersionLocalService ddlRecordVersionLocalService)
           
 
Method Summary
 DDLRecordVersion addDDLRecordVersion(DDLRecordVersion ddlRecordVersion)
          Adds the d d l record version to the database.
 DDLRecordVersion createDDLRecordVersion(long recordVersionId)
          Creates a new d d l record version with the primary key.
 DDLRecordVersion deleteDDLRecordVersion(DDLRecordVersion ddlRecordVersion)
          Deletes the d d l record version from the database.
 DDLRecordVersion deleteDDLRecordVersion(long recordVersionId)
          Deletes the d d l record version with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 DDLRecordVersion fetchDDLRecordVersion(long recordVersionId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDLRecordVersion getDDLRecordVersion(long recordVersionId)
          Returns the d d l record version with the primary key.
 List<DDLRecordVersion> getDDLRecordVersions(int start, int end)
          Returns a range of all the d d l record versions.
 int getDDLRecordVersionsCount()
          Returns the number of d d l record versions.
 DDLRecordVersion getLatestRecordVersion(long recordId)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DDLRecordVersion getRecordVersion(long recordVersionId)
           
 DDLRecordVersion getRecordVersion(long recordId, String version)
           
 List<DDLRecordVersion> getRecordVersions(long recordId, int start, int end, OrderByComparator<DDLRecordVersion> orderByComparator)
           
 int getRecordVersionsCount(long recordId)
           
 DDLRecordVersionLocalService getWrappedDDLRecordVersionLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 DDLRecordVersionLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDDLRecordVersionLocalService(DDLRecordVersionLocalService ddlRecordVersionLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.dynamicdatalists.service.DDLRecordVersionLocalService)
 void setWrappedService(DDLRecordVersionLocalService ddlRecordVersionLocalService)
           
 DDLRecordVersion updateDDLRecordVersion(DDLRecordVersion ddlRecordVersion)
          Updates the d d l record version in the database or adds it if it does not yet exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLRecordVersionLocalServiceWrapper

public DDLRecordVersionLocalServiceWrapper(DDLRecordVersionLocalService ddlRecordVersionLocalService)
Method Detail

addDDLRecordVersion

public DDLRecordVersion addDDLRecordVersion(DDLRecordVersion ddlRecordVersion)
Adds the d d l record version to the database. Also notifies the appropriate model listeners.

Specified by:
addDDLRecordVersion in interface DDLRecordVersionLocalService
Parameters:
ddlRecordVersion - the d d l record version
Returns:
the d d l record version that was added

createDDLRecordVersion

public DDLRecordVersion createDDLRecordVersion(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:
createDDLRecordVersion in interface DDLRecordVersionLocalService
Parameters:
recordVersionId - the primary key for the new d d l record version
Returns:
the new d d l record version

deleteDDLRecordVersion

public DDLRecordVersion deleteDDLRecordVersion(DDLRecordVersion ddlRecordVersion)
Deletes the d d l record version from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDLRecordVersion in interface DDLRecordVersionLocalService
Parameters:
ddlRecordVersion - the d d l record version
Returns:
the d d l record version that was removed

deleteDDLRecordVersion

public DDLRecordVersion deleteDDLRecordVersion(long recordVersionId)
                                        throws PortalException
Deletes the d d l record version with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDLRecordVersion in interface DDLRecordVersionLocalService
Parameters:
recordVersionId - the primary key of the d d l record version
Returns:
the d d l record version that was removed
Throws:
PortalException - if a d d l record version with the primary key could not be found

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface DDLRecordVersionLocalService
Throws:
PortalException

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface DDLRecordVersionLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DDLRecordVersionLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

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 DDLRecordVersionModelImpl. 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.

Specified by:
dynamicQuery in interface DDLRecordVersionLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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 DDLRecordVersionModelImpl. 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.

Specified by:
dynamicQuery in interface DDLRecordVersionLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DDLRecordVersionLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DDLRecordVersionLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchDDLRecordVersion

public DDLRecordVersion fetchDDLRecordVersion(long recordVersionId)
Specified by:
fetchDDLRecordVersion in interface DDLRecordVersionLocalService

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface DDLRecordVersionLocalService

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface DDLRecordVersionLocalService
Returns:
the Spring bean ID for this bean

getDDLRecordVersion

public DDLRecordVersion getDDLRecordVersion(long recordVersionId)
                                     throws PortalException
Returns the d d l record version with the primary key.

Specified by:
getDDLRecordVersion in interface DDLRecordVersionLocalService
Parameters:
recordVersionId - the primary key of the d d l record version
Returns:
the d d l record version
Throws:
PortalException - if a d d l record version with the primary key could not be found

getDDLRecordVersions

public List<DDLRecordVersion> getDDLRecordVersions(int start,
                                                   int end)
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. 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 DDLRecordVersionModelImpl. 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.

Specified by:
getDDLRecordVersions in interface DDLRecordVersionLocalService
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

getDDLRecordVersionsCount

public int getDDLRecordVersionsCount()
Returns the number of d d l record versions.

Specified by:
getDDLRecordVersionsCount in interface DDLRecordVersionLocalService
Returns:
the number of d d l record versions

getLatestRecordVersion

public DDLRecordVersion getLatestRecordVersion(long recordId)
                                        throws PortalException
Specified by:
getLatestRecordVersion in interface DDLRecordVersionLocalService
Throws:
PortalException

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface DDLRecordVersionLocalService
Throws:
PortalException

getRecordVersion

public DDLRecordVersion getRecordVersion(long recordId,
                                         String version)
                                  throws PortalException
Specified by:
getRecordVersion in interface DDLRecordVersionLocalService
Throws:
PortalException

getRecordVersion

public DDLRecordVersion getRecordVersion(long recordVersionId)
                                  throws PortalException
Specified by:
getRecordVersion in interface DDLRecordVersionLocalService
Throws:
PortalException

getRecordVersions

public List<DDLRecordVersion> getRecordVersions(long recordId,
                                                int start,
                                                int end,
                                                OrderByComparator<DDLRecordVersion> orderByComparator)
Specified by:
getRecordVersions in interface DDLRecordVersionLocalService

getRecordVersionsCount

public int getRecordVersionsCount(long recordId)
Specified by:
getRecordVersionsCount in interface DDLRecordVersionLocalService

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface DDLRecordVersionLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

updateDDLRecordVersion

public DDLRecordVersion updateDDLRecordVersion(DDLRecordVersion ddlRecordVersion)
Updates the d d l record version in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDDLRecordVersion in interface DDLRecordVersionLocalService
Parameters:
ddlRecordVersion - the d d l record version
Returns:
the d d l record version that was updated

getWrappedDDLRecordVersionLocalService

@Deprecated
public DDLRecordVersionLocalService getWrappedDDLRecordVersionLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedDDLRecordVersionLocalService

@Deprecated
public void setWrappedDDLRecordVersionLocalService(DDLRecordVersionLocalService ddlRecordVersionLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.dynamicdatalists.service.DDLRecordVersionLocalService)


getWrappedService

public DDLRecordVersionLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DDLRecordVersionLocalService>

setWrappedService

public void setWrappedService(DDLRecordVersionLocalService ddlRecordVersionLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DDLRecordVersionLocalService>

Liferay 7.0-ce-m3