Class KaleoLogLocalServiceWrapper

java.lang.Object
com.liferay.portal.workflow.kaleo.service.KaleoLogLocalServiceWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<KaleoLog>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<KaleoLogLocalService>, KaleoLogLocalService

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

    • KaleoLogLocalServiceWrapper

      public KaleoLogLocalServiceWrapper()
    • KaleoLogLocalServiceWrapper

      public KaleoLogLocalServiceWrapper(KaleoLogLocalService kaleoLogLocalService)
  • Method Details

    • addActionExecutionKaleoLog

      public KaleoLog addActionExecutionKaleoLog(KaleoInstanceToken kaleoInstanceToken, KaleoAction kaleoAction, long startTime, long endTime, String comment, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addActionExecutionKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addKaleoLog

      public KaleoLog addKaleoLog(KaleoLog kaleoLog)
      Adds the kaleo log to the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoLogLocalServiceImpl 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:
      addKaleoLog in interface KaleoLogLocalService
      Parameters:
      kaleoLog - the kaleo log
      Returns:
      the kaleo log that was added
    • addNodeEntryKaleoLog

      public KaleoLog addNodeEntryKaleoLog(KaleoInstanceToken kaleoInstanceToken, KaleoNode sourceKaleoNode, KaleoNode targetKaleoNode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addNodeEntryKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addNodeExitKaleoLog

      public KaleoLog addNodeExitKaleoLog(KaleoInstanceToken kaleoInstanceToken, KaleoNode departingKaleoNode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addNodeExitKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addTaskAssignmentKaleoLog

      public KaleoLog addTaskAssignmentKaleoLog(List<KaleoTaskAssignmentInstance> previousKaleoTaskAssignmentInstances, KaleoTaskAssignmentInstance kaleoTaskAssignmentInstance, KaleoTaskInstanceToken kaleoTaskInstanceToken, String comment, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addTaskAssignmentKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addTaskAssignmentKaleoLog

      @Deprecated public KaleoLog addTaskAssignmentKaleoLog(List<KaleoTaskAssignmentInstance> previousKaleoTaskAssignmentInstances, KaleoTaskInstanceToken kaleoTaskInstanceToken, String comment, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addTaskAssignmentKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addTaskAssignmentKaleoLogs

      public List<KaleoLog> addTaskAssignmentKaleoLogs(List<KaleoTaskAssignmentInstance> previousTaskAssignmentInstances, KaleoTaskInstanceToken kaleoTaskInstanceToken, String comment, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addTaskAssignmentKaleoLogs in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addTaskCompletionKaleoLog

      public KaleoLog addTaskCompletionKaleoLog(KaleoTaskInstanceToken kaleoTaskInstanceToken, String comment, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addTaskCompletionKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addTaskUpdateKaleoLog

      public KaleoLog addTaskUpdateKaleoLog(KaleoTaskInstanceToken kaleoTaskInstanceToken, String comment, Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addTaskUpdateKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addWorkflowInstanceEndKaleoLog

      public KaleoLog addWorkflowInstanceEndKaleoLog(KaleoInstanceToken kaleoInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addWorkflowInstanceEndKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addWorkflowInstanceStartKaleoLog

      public KaleoLog addWorkflowInstanceStartKaleoLog(KaleoInstanceToken kaleoInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addWorkflowInstanceStartKaleoLog in interface KaleoLogLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createKaleoLog

      public KaleoLog createKaleoLog(long kaleoLogId)
      Creates a new kaleo log with the primary key. Does not add the kaleo log to the database.
      Specified by:
      createKaleoLog in interface KaleoLogLocalService
      Parameters:
      kaleoLogId - the primary key for the new kaleo log
      Returns:
      the new kaleo log
    • createPersistedModel

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

      public void deleteCompanyKaleoLogs(long companyId)
      Specified by:
      deleteCompanyKaleoLogs in interface KaleoLogLocalService
    • deleteKaleoDefinitionVersionKaleoLogs

      public void deleteKaleoDefinitionVersionKaleoLogs(long kaleoDefinitionVersionId)
      Specified by:
      deleteKaleoDefinitionVersionKaleoLogs in interface KaleoLogLocalService
    • deleteKaleoInstanceKaleoLogs

      public void deleteKaleoInstanceKaleoLogs(long kaleoInstanceId)
      Specified by:
      deleteKaleoInstanceKaleoLogs in interface KaleoLogLocalService
    • deleteKaleoLog

      public KaleoLog deleteKaleoLog(KaleoLog kaleoLog)
      Deletes the kaleo log from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoLogLocalServiceImpl 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:
      deleteKaleoLog in interface KaleoLogLocalService
      Parameters:
      kaleoLog - the kaleo log
      Returns:
      the kaleo log that was removed
    • deleteKaleoLog

      public KaleoLog deleteKaleoLog(long kaleoLogId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect KaleoLogLocalServiceImpl 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:
      deleteKaleoLog in interface KaleoLogLocalService
      Parameters:
      kaleoLogId - the primary key of the kaleo log
      Returns:
      the kaleo log that was removed
      Throws:
      PortalException - if a kaleo log with the primary key could not be found
      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 KaleoLogLocalService
      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 KaleoLogLocalService
      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 KaleoLogLocalService
      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 KaleoLogLocalService
    • 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 KaleoLogLocalService
      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.portal.workflow.kaleo.model.impl.KaleoLogModelImpl.

      Specified by:
      dynamicQuery in interface KaleoLogLocalService
      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.portal.workflow.kaleo.model.impl.KaleoLogModelImpl.

      Specified by:
      dynamicQuery in interface KaleoLogLocalService
      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 KaleoLogLocalService
      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 KaleoLogLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchKaleoLog

      public KaleoLog fetchKaleoLog(long kaleoLogId)
      Specified by:
      fetchKaleoLog in interface KaleoLogLocalService
    • getActionableDynamicQuery

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

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

      public List<KaleoLog> getKaleoInstanceKaleoLogs(long companyId, long kaleoInstanceId, List<Integer> logTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoLog> orderByComparator)
      Specified by:
      getKaleoInstanceKaleoLogs in interface KaleoLogLocalService
    • getKaleoInstanceKaleoLogsCount

      public int getKaleoInstanceKaleoLogsCount(long companyId, long kaleoInstanceId, List<Integer> logTypes)
      Specified by:
      getKaleoInstanceKaleoLogsCount in interface KaleoLogLocalService
    • getKaleoLog

      public KaleoLog getKaleoLog(long kaleoLogId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the kaleo log with the primary key.
      Specified by:
      getKaleoLog in interface KaleoLogLocalService
      Parameters:
      kaleoLogId - the primary key of the kaleo log
      Returns:
      the kaleo log
      Throws:
      PortalException - if a kaleo log with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getKaleoLogs

      public List<KaleoLog> getKaleoLogs(int start, int end)
      Returns a range of all the kaleo logs.

      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.portal.workflow.kaleo.model.impl.KaleoLogModelImpl.

      Specified by:
      getKaleoLogs in interface KaleoLogLocalService
      Parameters:
      start - the lower bound of the range of kaleo logs
      end - the upper bound of the range of kaleo logs (not inclusive)
      Returns:
      the range of kaleo logs
    • getKaleoLogsCount

      public int getKaleoLogsCount()
      Returns the number of kaleo logs.
      Specified by:
      getKaleoLogsCount in interface KaleoLogLocalService
      Returns:
      the number of kaleo logs
    • getKaleoTaskInstanceTokenKaleoLogs

      public List<KaleoLog> getKaleoTaskInstanceTokenKaleoLogs(long companyId, long kaleoTaskInstanceTokenId, List<Integer> logTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoLog> orderByComparator)
      Specified by:
      getKaleoTaskInstanceTokenKaleoLogs in interface KaleoLogLocalService
    • getKaleoTaskInstanceTokenKaleoLogsCount

      public int getKaleoTaskInstanceTokenKaleoLogsCount(long companyId, long kaleoTaskInstanceTokenId, List<Integer> logTypes)
      Specified by:
      getKaleoTaskInstanceTokenKaleoLogsCount in interface KaleoLogLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface KaleoLogLocalService
      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 KaleoLogLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateKaleoLog

      public KaleoLog updateKaleoLog(KaleoLog kaleoLog)
      Updates the kaleo log in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect KaleoLogLocalServiceImpl 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:
      updateKaleoLog in interface KaleoLogLocalService
      Parameters:
      kaleoLog - the kaleo log
      Returns:
      the kaleo log that was updated
    • 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<KaleoLog> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<KaleoLog>
      Specified by:
      getCTPersistence in interface KaleoLogLocalService
    • getModelClass

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

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

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

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