public class DDLRecordSetVersionLocalServiceWrapper extends java.lang.Object implements DDLRecordSetVersionLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDLRecordSetVersionLocalService>
DDLRecordSetVersionLocalService
.DDLRecordSetVersionLocalService
Constructor and Description |
---|
DDLRecordSetVersionLocalServiceWrapper() |
DDLRecordSetVersionLocalServiceWrapper(DDLRecordSetVersionLocalService ddlRecordSetVersionLocalService) |
Modifier and Type | Method and Description |
---|---|
DDLRecordSetVersion |
addDDLRecordSetVersion(DDLRecordSetVersion ddlRecordSetVersion)
Adds the ddl record set version to the database.
|
DDLRecordSetVersion |
createDDLRecordSetVersion(long recordSetVersionId)
Creates a new ddl record set version with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteByRecordSetId(long recordSetId) |
DDLRecordSetVersion |
deleteDDLRecordSetVersion(DDLRecordSetVersion ddlRecordSetVersion)
Deletes the ddl record set version from the database.
|
DDLRecordSetVersion |
deleteDDLRecordSetVersion(long recordSetVersionId)
Deletes the ddl record set version with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
DDLRecordSetVersion |
fetchDDLRecordSetVersion(long recordSetVersionId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordSetVersion> |
getCTPersistence() |
DDLRecordSetVersion |
getDDLRecordSetVersion(long recordSetVersionId)
Returns the ddl record set version with the primary key.
|
java.util.List<DDLRecordSetVersion> |
getDDLRecordSetVersions(int start,
int end)
Returns a range of all the ddl record set versions.
|
int |
getDDLRecordSetVersionsCount()
Returns the number of ddl record set versions.
|
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
DDLRecordSetVersion |
getLatestRecordSetVersion(long recordSetId) |
java.lang.Class<DDLRecordSetVersion> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DDLRecordSetVersion |
getRecordSetVersion(long recordSetVersionId) |
DDLRecordSetVersion |
getRecordSetVersion(long recordSetId,
java.lang.String version) |
java.util.List<DDLRecordSetVersion> |
getRecordSetVersions(long recordSetId) |
java.util.List<DDLRecordSetVersion> |
getRecordSetVersions(long recordSetId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) |
int |
getRecordSetVersionsCount(long recordSetId) |
DDLRecordSetVersionLocalService |
getWrappedService() |
void |
setWrappedService(DDLRecordSetVersionLocalService ddlRecordSetVersionLocalService) |
DDLRecordSetVersion |
updateDDLRecordSetVersion(DDLRecordSetVersion ddlRecordSetVersion)
Updates the ddl record set version in the database or adds it if it does not yet exist.
|
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordSetVersion>,R,E> updateUnsafeFunction) |
public DDLRecordSetVersionLocalServiceWrapper()
public DDLRecordSetVersionLocalServiceWrapper(DDLRecordSetVersionLocalService ddlRecordSetVersionLocalService)
public DDLRecordSetVersion addDDLRecordSetVersion(DDLRecordSetVersion ddlRecordSetVersion)
Important: Inspect DDLRecordSetVersionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addDDLRecordSetVersion
in interface DDLRecordSetVersionLocalService
ddlRecordSetVersion
- the ddl record set versionpublic DDLRecordSetVersion createDDLRecordSetVersion(long recordSetVersionId)
createDDLRecordSetVersion
in interface DDLRecordSetVersionLocalService
recordSetVersionId
- the primary key for the new ddl record set versionpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface DDLRecordSetVersionLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public void deleteByRecordSetId(long recordSetId)
deleteByRecordSetId
in interface DDLRecordSetVersionLocalService
public DDLRecordSetVersion deleteDDLRecordSetVersion(DDLRecordSetVersion ddlRecordSetVersion)
Important: Inspect DDLRecordSetVersionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteDDLRecordSetVersion
in interface DDLRecordSetVersionLocalService
ddlRecordSetVersion
- the ddl record set versionpublic DDLRecordSetVersion deleteDDLRecordSetVersion(long recordSetVersionId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect DDLRecordSetVersionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteDDLRecordSetVersion
in interface DDLRecordSetVersionLocalService
recordSetVersionId
- the primary key of the ddl record set versionPortalException
- if a ddl record set version with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface DDLRecordSetVersionLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface DDLRecordSetVersionLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface DDLRecordSetVersionLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface DDLRecordSetVersionLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface DDLRecordSetVersionLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.lists.model.impl.DDLRecordSetVersionModelImpl
.
dynamicQuery
in interface DDLRecordSetVersionLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.lists.model.impl.DDLRecordSetVersionModelImpl
.
dynamicQuery
in interface DDLRecordSetVersionLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface DDLRecordSetVersionLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface DDLRecordSetVersionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic DDLRecordSetVersion fetchDDLRecordSetVersion(long recordSetVersionId)
fetchDDLRecordSetVersion
in interface DDLRecordSetVersionLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DDLRecordSetVersionLocalService
public DDLRecordSetVersion getDDLRecordSetVersion(long recordSetVersionId) throws com.liferay.portal.kernel.exception.PortalException
getDDLRecordSetVersion
in interface DDLRecordSetVersionLocalService
recordSetVersionId
- the primary key of the ddl record set versionPortalException
- if a ddl record set version with the primary key could not be foundpublic java.util.List<DDLRecordSetVersion> getDDLRecordSetVersions(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.lists.model.impl.DDLRecordSetVersionModelImpl
.
getDDLRecordSetVersions
in interface DDLRecordSetVersionLocalService
start
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)public int getDDLRecordSetVersionsCount()
getDDLRecordSetVersionsCount
in interface DDLRecordSetVersionLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DDLRecordSetVersionLocalService
public DDLRecordSetVersion getLatestRecordSetVersion(long recordSetId) throws com.liferay.portal.kernel.exception.PortalException
getLatestRecordSetVersion
in interface DDLRecordSetVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DDLRecordSetVersionLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface DDLRecordSetVersionLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public DDLRecordSetVersion getRecordSetVersion(long recordSetVersionId) throws com.liferay.portal.kernel.exception.PortalException
getRecordSetVersion
in interface DDLRecordSetVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public DDLRecordSetVersion getRecordSetVersion(long recordSetId, java.lang.String version) throws com.liferay.portal.kernel.exception.PortalException
getRecordSetVersion
in interface DDLRecordSetVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<DDLRecordSetVersion> getRecordSetVersions(long recordSetId)
getRecordSetVersions
in interface DDLRecordSetVersionLocalService
public java.util.List<DDLRecordSetVersion> getRecordSetVersions(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator)
getRecordSetVersions
in interface DDLRecordSetVersionLocalService
public int getRecordSetVersionsCount(long recordSetId)
getRecordSetVersionsCount
in interface DDLRecordSetVersionLocalService
public DDLRecordSetVersion updateDDLRecordSetVersion(DDLRecordSetVersion ddlRecordSetVersion)
Important: Inspect DDLRecordSetVersionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateDDLRecordSetVersion
in interface DDLRecordSetVersionLocalService
ddlRecordSetVersion
- the ddl record set versionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordSetVersion> getCTPersistence()
getCTPersistence
in interface DDLRecordSetVersionLocalService
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDLRecordSetVersion>
public java.lang.Class<DDLRecordSetVersion> getModelClass()
getModelClass
in interface DDLRecordSetVersionLocalService
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDLRecordSetVersion>
public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordSetVersion>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction
in interface DDLRecordSetVersionLocalService
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDLRecordSetVersion>
E extends java.lang.Throwable
public DDLRecordSetVersionLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDLRecordSetVersionLocalService>
public void setWrappedService(DDLRecordSetVersionLocalService ddlRecordSetVersionLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDLRecordSetVersionLocalService>