@ProviderType public class DDMFormInstanceRecordLocalServiceWrapper extends java.lang.Object implements DDMFormInstanceRecordLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
DDMFormInstanceRecordLocalService
.DDMFormInstanceRecordLocalService
Constructor and Description |
---|
DDMFormInstanceRecordLocalServiceWrapper(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService) |
Modifier and Type | Method and Description |
---|---|
DDMFormInstanceRecord |
addDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
Adds the ddm form instance record to the database.
|
DDMFormInstanceRecord |
addFormInstanceRecord(long userId,
long groupId,
long ddmFormInstanceId,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMFormInstanceRecord |
createDDMFormInstanceRecord(long formInstanceRecordId)
Creates a new ddm form instance record with the primary key.
|
DDMFormInstanceRecord |
deleteDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
Deletes the ddm form instance record from the database.
|
DDMFormInstanceRecord |
deleteDDMFormInstanceRecord(long formInstanceRecordId)
Deletes the ddm form instance record with the primary key from the database.
|
DDMFormInstanceRecord |
deleteFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) |
DDMFormInstanceRecord |
deleteFormInstanceRecord(long ddmFormInstanceRecordId) |
void |
deleteFormInstanceRecords(long ddmFormInstanceId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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.
|
DDMFormInstanceRecord |
fetchDDMFormInstanceRecord(long formInstanceRecordId) |
DDMFormInstanceRecord |
fetchDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm form instance record matching the UUID and group.
|
DDMFormInstanceRecord |
fetchFormInstanceRecord(long ddmFormInstanceRecordId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
DDMFormInstanceRecord |
getDDMFormInstanceRecord(long formInstanceRecordId)
Returns the ddm form instance record with the primary key.
|
DDMFormInstanceRecord |
getDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm form instance record matching the UUID and group.
|
java.util.List<DDMFormInstanceRecord> |
getDDMFormInstanceRecords(int start,
int end)
Returns a range of all the ddm form instance records.
|
java.util.List<DDMFormInstanceRecord> |
getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the ddm form instance records matching the UUID and company.
|
java.util.List<DDMFormInstanceRecord> |
getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
Returns a range of ddm form instance records matching the UUID and company.
|
int |
getDDMFormInstanceRecordsCount()
Returns the number of ddm form instance records.
|
DDMFormValues |
getDDMFormValues(long ddmStorageId) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
DDMFormInstanceRecord |
getFormInstanceRecord(long ddmFormInstanceRecordId) |
java.util.List<DDMFormInstanceRecord> |
getFormInstanceRecords(long ddmFormInstanceId) |
java.util.List<DDMFormInstanceRecord> |
getFormInstanceRecords(long ddmFormInstanceId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) |
java.util.List<DDMFormInstanceRecord> |
getFormInstanceRecords(long ddmFormInstanceId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) |
int |
getFormInstanceRecordsCount(long ddmFormInstanceId) |
int |
getFormInstanceRecordsCount(long ddmFormInstanceId,
int status) |
int |
getFormInstanceRecordsCount(long ddmFormInstanceId,
long userId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DDMFormInstanceRecordLocalService |
getWrappedService() |
void |
revertFormInstanceRecord(long userId,
long ddmFormInstanceRecordId,
java.lang.String version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> |
searchFormInstanceRecords(com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
setWrappedService(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService) |
DDMFormInstanceRecord |
updateDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
Updates the ddm form instance record in the database or adds it if it does not yet exist.
|
DDMFormInstanceRecord |
updateFormInstanceRecord(long userId,
long ddmFormInstanceRecordId,
boolean majorVersion,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMFormInstanceRecord |
updateStatus(long userId,
long recordVersionId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public DDMFormInstanceRecordLocalServiceWrapper(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService)
public DDMFormInstanceRecord addDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
addDDMFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
ddmFormInstanceRecord
- the ddm form instance recordpublic DDMFormInstanceRecord addFormInstanceRecord(long userId, long groupId, long ddmFormInstanceId, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMFormInstanceRecord createDDMFormInstanceRecord(long formInstanceRecordId)
createDDMFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
formInstanceRecordId
- the primary key for the new ddm form instance recordpublic DDMFormInstanceRecord deleteDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
deleteDDMFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
ddmFormInstanceRecord
- the ddm form instance recordpublic DDMFormInstanceRecord deleteDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
deleteDDMFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
formInstanceRecordId
- the primary key of the ddm form instance recordPortalException
- if a ddm form instance record with the primary key could not be foundpublic DDMFormInstanceRecord deleteFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) throws com.liferay.portal.kernel.exception.PortalException
deleteFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMFormInstanceRecord deleteFormInstanceRecord(long ddmFormInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
deleteFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteFormInstanceRecords(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException
deleteFormInstanceRecords
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface DDMFormInstanceRecordLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMFormInstanceRecordLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface DDMFormInstanceRecordLocalService
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 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 com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
. 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.
dynamicQuery
in interface DDMFormInstanceRecordLocalService
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 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 com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
. 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.
dynamicQuery
in interface DDMFormInstanceRecordLocalService
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 DDMFormInstanceRecordLocalService
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 DDMFormInstanceRecordLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic DDMFormInstanceRecord fetchDDMFormInstanceRecord(long formInstanceRecordId)
fetchDDMFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
public DDMFormInstanceRecord fetchDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchDDMFormInstanceRecordByUuidAndGroupId
in interface DDMFormInstanceRecordLocalService
uuid
- the ddm form instance record's UUIDgroupId
- the primary key of the groupnull
if a matching ddm form instance record could not be foundpublic DDMFormInstanceRecord fetchFormInstanceRecord(long ddmFormInstanceRecordId)
fetchFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DDMFormInstanceRecordLocalService
public DDMFormInstanceRecord getDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
getDDMFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
formInstanceRecordId
- the primary key of the ddm form instance recordPortalException
- if a ddm form instance record with the primary key could not be foundpublic DDMFormInstanceRecord getDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getDDMFormInstanceRecordByUuidAndGroupId
in interface DDMFormInstanceRecordLocalService
uuid
- the ddm form instance record's UUIDgroupId
- the primary key of the groupPortalException
- if a matching ddm form instance record could not be foundpublic java.util.List<DDMFormInstanceRecord> getDDMFormInstanceRecords(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 com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
. 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.
getDDMFormInstanceRecords
in interface DDMFormInstanceRecordLocalService
start
- the lower bound of the range of ddm form instance recordsend
- the upper bound of the range of ddm form instance records (not inclusive)public java.util.List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getDDMFormInstanceRecordsByUuidAndCompanyId
in interface DDMFormInstanceRecordLocalService
uuid
- the UUID of the ddm form instance recordscompanyId
- the primary key of the companypublic java.util.List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
getDDMFormInstanceRecordsByUuidAndCompanyId
in interface DDMFormInstanceRecordLocalService
uuid
- the UUID of the ddm form instance recordscompanyId
- the primary key of the companystart
- the lower bound of the range of ddm form instance recordsend
- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getDDMFormInstanceRecordsCount()
getDDMFormInstanceRecordsCount
in interface DDMFormInstanceRecordLocalService
public DDMFormValues getDDMFormValues(long ddmStorageId) throws StorageException
getDDMFormValues
in interface DDMFormInstanceRecordLocalService
StorageException
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface DDMFormInstanceRecordLocalService
public DDMFormInstanceRecord getFormInstanceRecord(long ddmFormInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
getFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId)
getFormInstanceRecords
in interface DDMFormInstanceRecordLocalService
public java.util.List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
getFormInstanceRecords
in interface DDMFormInstanceRecordLocalService
public java.util.List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
getFormInstanceRecords
in interface DDMFormInstanceRecordLocalService
public int getFormInstanceRecordsCount(long ddmFormInstanceId)
getFormInstanceRecordsCount
in interface DDMFormInstanceRecordLocalService
public int getFormInstanceRecordsCount(long ddmFormInstanceId, int status)
getFormInstanceRecordsCount
in interface DDMFormInstanceRecordLocalService
public int getFormInstanceRecordsCount(long ddmFormInstanceId, long userId)
getFormInstanceRecordsCount
in interface DDMFormInstanceRecordLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DDMFormInstanceRecordLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DDMFormInstanceRecordLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface DDMFormInstanceRecordLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public void revertFormInstanceRecord(long userId, long ddmFormInstanceRecordId, java.lang.String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
revertFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> searchFormInstanceRecords(com.liferay.portal.kernel.search.SearchContext searchContext)
searchFormInstanceRecords
in interface DDMFormInstanceRecordLocalService
public DDMFormInstanceRecord updateDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
updateDDMFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
ddmFormInstanceRecord
- the ddm form instance recordpublic DDMFormInstanceRecord updateFormInstanceRecord(long userId, long ddmFormInstanceRecordId, boolean majorVersion, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFormInstanceRecord
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMFormInstanceRecord updateStatus(long userId, long recordVersionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface DDMFormInstanceRecordLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMFormInstanceRecordLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
public void setWrappedService(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>