Class DDMFormInstanceRecordLocalServiceWrapper

java.lang.Object
com.liferay.dynamic.data.mapping.service.DDMFormInstanceRecordLocalServiceWrapper
All Implemented Interfaces:
DDMFormInstanceRecordLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>

public class DDMFormInstanceRecordLocalServiceWrapper extends Object implements DDMFormInstanceRecordLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
Provides a wrapper for DDMFormInstanceRecordLocalService.
See Also:
Generated:
  • Constructor Details

    • DDMFormInstanceRecordLocalServiceWrapper

      public DDMFormInstanceRecordLocalServiceWrapper()
    • DDMFormInstanceRecordLocalServiceWrapper

      public DDMFormInstanceRecordLocalServiceWrapper(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService)
  • Method Details

    • addDDMFormInstanceRecord

      public DDMFormInstanceRecord addDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
      Adds the ddm form instance record to the database. Also notifies the appropriate model listeners.

      Important: Inspect DDMFormInstanceRecordLocalServiceImpl 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.

      Specified by:
      addDDMFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Parameters:
      ddmFormInstanceRecord - the ddm form instance record
      Returns:
      the ddm form instance record that was added
    • addFormInstanceRecord

      public DDMFormInstanceRecord addFormInstanceRecord(long userId, long groupId, long ddmFormInstanceId, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createDDMFormInstanceRecord

      public DDMFormInstanceRecord createDDMFormInstanceRecord(long formInstanceRecordId)
      Creates a new ddm form instance record with the primary key. Does not add the ddm form instance record to the database.
      Specified by:
      createDDMFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Parameters:
      formInstanceRecordId - the primary key for the new ddm form instance record
      Returns:
      the new ddm form instance record
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface DDMFormInstanceRecordLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteDDMFormInstanceRecord

      public DDMFormInstanceRecord deleteDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
      Deletes the ddm form instance record from the database. Also notifies the appropriate model listeners.

      Important: Inspect DDMFormInstanceRecordLocalServiceImpl 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.

      Specified by:
      deleteDDMFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Parameters:
      ddmFormInstanceRecord - the ddm form instance record
      Returns:
      the ddm form instance record that was removed
    • deleteDDMFormInstanceRecord

      public DDMFormInstanceRecord deleteDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the ddm form instance record with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect DDMFormInstanceRecordLocalServiceImpl 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.

      Specified by:
      deleteDDMFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Parameters:
      formInstanceRecordId - the primary key of the ddm form instance record
      Returns:
      the ddm form instance record that was removed
      Throws:
      PortalException - if a ddm form instance record with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteFormInstanceRecord

      public DDMFormInstanceRecord deleteFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFormInstanceRecord

      public DDMFormInstanceRecord deleteFormInstanceRecord(long ddmFormInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFormInstanceRecords

      public void deleteFormInstanceRecords(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFormInstanceRecords in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface DDMFormInstanceRecordLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface DDMFormInstanceRecordLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface DDMFormInstanceRecordLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface DDMFormInstanceRecordLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface DDMFormInstanceRecordLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> 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.

      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.mapping.model.impl.DDMFormInstanceRecordModelImpl.

      Specified by:
      dynamicQuery in interface DDMFormInstanceRecordLocalService
      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(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.

      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.mapping.model.impl.DDMFormInstanceRecordModelImpl.

      Specified by:
      dynamicQuery in interface DDMFormInstanceRecordLocalService
      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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface DDMFormInstanceRecordLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public 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.
      Specified by:
      dynamicQueryCount in interface DDMFormInstanceRecordLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchDDMFormInstanceRecord

      public DDMFormInstanceRecord fetchDDMFormInstanceRecord(long formInstanceRecordId)
      Specified by:
      fetchDDMFormInstanceRecord in interface DDMFormInstanceRecordLocalService
    • fetchDDMFormInstanceRecordByUuidAndGroupId

      public DDMFormInstanceRecord fetchDDMFormInstanceRecordByUuidAndGroupId(String uuid, long groupId)
      Returns the ddm form instance record matching the UUID and group.
      Specified by:
      fetchDDMFormInstanceRecordByUuidAndGroupId in interface DDMFormInstanceRecordLocalService
      Parameters:
      uuid - the ddm form instance record's UUID
      groupId - the primary key of the group
      Returns:
      the matching ddm form instance record, or null if a matching ddm form instance record could not be found
    • fetchFormInstanceRecord

      public DDMFormInstanceRecord fetchFormInstanceRecord(long ddmFormInstanceRecordId)
      Specified by:
      fetchFormInstanceRecord in interface DDMFormInstanceRecordLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface DDMFormInstanceRecordLocalService
    • getDDMFormInstanceRecord

      public DDMFormInstanceRecord getDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the ddm form instance record with the primary key.
      Specified by:
      getDDMFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Parameters:
      formInstanceRecordId - the primary key of the ddm form instance record
      Returns:
      the ddm form instance record
      Throws:
      PortalException - if a ddm form instance record with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormInstanceRecordByUuidAndGroupId

      public DDMFormInstanceRecord getDDMFormInstanceRecordByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the ddm form instance record matching the UUID and group.
      Specified by:
      getDDMFormInstanceRecordByUuidAndGroupId in interface DDMFormInstanceRecordLocalService
      Parameters:
      uuid - the ddm form instance record's UUID
      groupId - the primary key of the group
      Returns:
      the matching ddm form instance record
      Throws:
      PortalException - if a matching ddm form instance record could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormInstanceRecords

      public List<DDMFormInstanceRecord> getDDMFormInstanceRecords(int start, int end)
      Returns a range of all the ddm form instance records.

      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.mapping.model.impl.DDMFormInstanceRecordModelImpl.

      Specified by:
      getDDMFormInstanceRecords in interface DDMFormInstanceRecordLocalService
      Parameters:
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      Returns:
      the range of ddm form instance records
    • getDDMFormInstanceRecordsByUuidAndCompanyId

      public List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(String uuid, long companyId)
      Returns all the ddm form instance records matching the UUID and company.
      Specified by:
      getDDMFormInstanceRecordsByUuidAndCompanyId in interface DDMFormInstanceRecordLocalService
      Parameters:
      uuid - the UUID of the ddm form instance records
      companyId - the primary key of the company
      Returns:
      the matching ddm form instance records, or an empty list if no matches were found
    • getDDMFormInstanceRecordsByUuidAndCompanyId

      public List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(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.
      Specified by:
      getDDMFormInstanceRecordsByUuidAndCompanyId in interface DDMFormInstanceRecordLocalService
      Parameters:
      uuid - the UUID of the ddm form instance records
      companyId - the primary key of the company
      start - the lower bound of the range of ddm form instance records
      end - the upper bound of the range of ddm form instance records (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching ddm form instance records, or an empty list if no matches were found
    • getDDMFormInstanceRecordsCount

      public int getDDMFormInstanceRecordsCount()
      Returns the number of ddm form instance records.
      Specified by:
      getDDMFormInstanceRecordsCount in interface DDMFormInstanceRecordLocalService
      Returns:
      the number of ddm form instance records
    • getDDMFormValues

      public DDMFormValues getDDMFormValues(DDMForm ddmForm, long storageId, String storageType) throws StorageException
      Specified by:
      getDDMFormValues in interface DDMFormInstanceRecordLocalService
      Throws:
      StorageException
    • getDDMFormValues

      @Deprecated public DDMFormValues getDDMFormValues(long storageId, DDMForm ddmForm) throws StorageException
      Deprecated.
      As of Athanasius (7.3.x), replaced by getDDMFormValues(DDMForm, long, String)
      Specified by:
      getDDMFormValues in interface DDMFormInstanceRecordLocalService
      Throws:
      StorageException
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface DDMFormInstanceRecordLocalService
    • getFormInstanceRecord

      public DDMFormInstanceRecord getFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFormInstanceRecords

      public List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId)
      Specified by:
      getFormInstanceRecords in interface DDMFormInstanceRecordLocalService
    • getFormInstanceRecords

      public List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Specified by:
      getFormInstanceRecords in interface DDMFormInstanceRecordLocalService
    • getFormInstanceRecords

      public List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
      Specified by:
      getFormInstanceRecords in interface DDMFormInstanceRecordLocalService
    • getFormInstanceRecordsCount

      public int getFormInstanceRecordsCount(long ddmFormInstanceId)
      Specified by:
      getFormInstanceRecordsCount in interface DDMFormInstanceRecordLocalService
    • getFormInstanceRecordsCount

      public int getFormInstanceRecordsCount(long ddmFormInstanceId, int status)
      Specified by:
      getFormInstanceRecordsCount in interface DDMFormInstanceRecordLocalService
    • getFormInstanceRecordsCount

      public int getFormInstanceRecordsCount(long ddmFormInstanceId, long userId)
      Specified by:
      getFormInstanceRecordsCount in interface DDMFormInstanceRecordLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface DDMFormInstanceRecordLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface DDMFormInstanceRecordLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface DDMFormInstanceRecordLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • revertFormInstanceRecord

      public void revertFormInstanceRecord(long userId, long ddmFormInstanceRecordId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      revertFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchFormInstanceRecords

      public com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> searchFormInstanceRecords(long formInstanceId, String[] notEmptyFields, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchFormInstanceRecords in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchFormInstanceRecords

      public com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> searchFormInstanceRecords(com.liferay.portal.kernel.search.SearchContext searchContext)
      Specified by:
      searchFormInstanceRecords in interface DDMFormInstanceRecordLocalService
    • updateDDMFormInstanceRecord

      public DDMFormInstanceRecord updateDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
      Updates the ddm form instance record in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect DDMFormInstanceRecordLocalServiceImpl 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.

      Specified by:
      updateDDMFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Parameters:
      ddmFormInstanceRecord - the ddm form instance record
      Returns:
      the ddm form instance record that was updated
    • updateFormInstanceRecord

      public DDMFormInstanceRecord updateFormInstanceRecord(long userId, long ddmFormInstanceRecordId, boolean majorVersion, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFormInstanceRecord in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      public DDMFormInstanceRecord updateStatus(long userId, long recordVersionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateStatus in interface DDMFormInstanceRecordLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getCTPersistence

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
      Specified by:
      getCTPersistence in interface DDMFormInstanceRecordLocalService
    • getModelClass

      public Class<DDMFormInstanceRecord> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
      Specified by:
      getModelClass in interface DDMFormInstanceRecordLocalService
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
      Specified by:
      updateWithUnsafeFunction in interface DDMFormInstanceRecordLocalService
      Throws:
      E extends Throwable
    • getWrappedService

      public DDMFormInstanceRecordLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
    • setWrappedService

      public void setWrappedService(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>