Class WorkflowMetricsSLADefinitionLocalServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>,WorkflowMetricsSLADefinitionLocalService
WorkflowMetricsSLADefinitionLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowMetricsSLADefinitionLocalServiceWrapper(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) Adds the workflow metrics sla definition to the database.addWorkflowMetricsSLADefinition(String calendarKey, String description, long duration, String name, String[] pauseNodeKeys, long processId, String[] startNodeKeys, String[] stopNodeKeys, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) createWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) Creates a new workflow metrics sla definition with the primary key.voiddeactivateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) deleteWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) Deletes the workflow metrics sla definition with the primary key from the database.deleteWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) Deletes the workflow metrics sla definition from the database.<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<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.<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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) fetchWorkflowMetricsSLADefinitionByUuidAndGroupId(String uuid, long groupId) Returns the workflow metrics sla definition matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) Returns the workflow metrics sla definition with the primary key.getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, boolean active) getWorkflowMetricsSLADefinitionByUuidAndGroupId(String uuid, long groupId) Returns the workflow metrics sla definition matching the UUID and group.getWorkflowMetricsSLADefinitions(int start, int end) Returns a range of all the workflow metrics sla definitions.getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, String processVersion, int status) getWorkflowMetricsSLADefinitions(long companyId, int status) getWorkflowMetricsSLADefinitions(long companyId, String name, long processId) getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(String uuid, long companyId) Returns all the workflow metrics sla definitions matching the UUID and company.getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns a range of workflow metrics sla definitions matching the UUID and company.intReturns the number of workflow metrics sla definitions.intgetWorkflowMetricsSLADefinitionsCount(long companyId, boolean active, long processId) intgetWorkflowMetricsSLADefinitionsCount(long companyId, boolean active, long processId, int status) voidsetWrappedService(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService) updateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, String calendarKey, String description, long duration, String name, String[] pauseNodeKeys, String[] startNodeKeys, String[] stopNodeKeys, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) Updates the workflow metrics sla definition 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, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
WorkflowMetricsSLADefinitionLocalServiceWrapper
public WorkflowMetricsSLADefinitionLocalServiceWrapper() -
WorkflowMetricsSLADefinitionLocalServiceWrapper
public WorkflowMetricsSLADefinitionLocalServiceWrapper(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService)
-
-
Method Details
-
addWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition addWorkflowMetricsSLADefinition(String calendarKey, String description, long duration, String name, String[] pauseNodeKeys, long processId, String[] startNodeKeys, String[] stopNodeKeys, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition addWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) Adds the workflow metrics sla definition to the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
addWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
workflowMetricsSLADefinition- the workflow metrics sla definition- Returns:
- the workflow metrics sla definition that was added
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
createPersistedModelin interfaceWorkflowMetricsSLADefinitionLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
createWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition createWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) Creates a new workflow metrics sla definition with the primary key. Does not add the workflow metrics sla definition to the database.- Specified by:
createWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
workflowMetricsSLADefinitionId- the primary key for the new workflow metrics sla definition- Returns:
- the new workflow metrics sla definition
-
deactivateWorkflowMetricsSLADefinition
public void deactivateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deactivateWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- 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:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
deletePersistedModelin interfaceWorkflowMetricsSLADefinitionLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition deleteWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) throws com.liferay.portal.kernel.exception.PortalException Deletes the workflow metrics sla definition with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
deleteWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
workflowMetricsSLADefinitionId- the primary key of the workflow metrics sla definition- Returns:
- the workflow metrics sla definition that was removed
- Throws:
PortalException- if a workflow metrics sla definition with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition deleteWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) Deletes the workflow metrics sla definition from the database. Also notifies the appropriate model listeners.Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
deleteWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
workflowMetricsSLADefinition- the workflow metrics sla definition- Returns:
- the workflow metrics sla definition that was removed
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryin interfaceWorkflowMetricsSLADefinitionLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryCountin interfaceWorkflowMetricsSLADefinitionLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceWorkflowMetricsSLADefinitionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceWorkflowMetricsSLADefinitionLocalService- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.- Specified by:
dynamicQueryin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.- Specified by:
dynamicQueryin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
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 (optionallynull)- 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:
dynamicQueryCountin interfaceWorkflowMetricsSLADefinitionLocalService- 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:
dynamicQueryCountin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition fetchWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) - Specified by:
fetchWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService
-
fetchWorkflowMetricsSLADefinitionByUuidAndGroupId
public WorkflowMetricsSLADefinition fetchWorkflowMetricsSLADefinitionByUuidAndGroupId(String uuid, long groupId) Returns the workflow metrics sla definition matching the UUID and group.- Specified by:
fetchWorkflowMetricsSLADefinitionByUuidAndGroupIdin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
uuid- the workflow metrics sla definition's UUIDgroupId- the primary key of the group- Returns:
- the matching workflow metrics sla definition, or
nullif a matching workflow metrics sla definition could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceWorkflowMetricsSLADefinitionLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceWorkflowMetricsSLADefinitionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceWorkflowMetricsSLADefinitionLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceWorkflowMetricsSLADefinitionLocalService- 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:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
getPersistedModelin interfaceWorkflowMetricsSLADefinitionLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the workflow metrics sla definition with the primary key.- Specified by:
getWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
workflowMetricsSLADefinitionId- the primary key of the workflow metrics sla definition- Returns:
- the workflow metrics sla definition
- Throws:
PortalException- if a workflow metrics sla definition with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWorkflowMetricsSLADefinitionByUuidAndGroupId
public WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinitionByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the workflow metrics sla definition matching the UUID and group.- Specified by:
getWorkflowMetricsSLADefinitionByUuidAndGroupIdin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
uuid- the workflow metrics sla definition's UUIDgroupId- the primary key of the group- Returns:
- the matching workflow metrics sla definition
- Throws:
PortalException- if a matching workflow metrics sla definition could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getWorkflowMetricsSLADefinitions
Returns a range of all the workflow metrics sla definitions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.- Specified by:
getWorkflowMetricsSLADefinitionsin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
start- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)- Returns:
- the range of workflow metrics sla definitions
-
getWorkflowMetricsSLADefinitions
public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) - Specified by:
getWorkflowMetricsSLADefinitionsin interfaceWorkflowMetricsSLADefinitionLocalService
-
getWorkflowMetricsSLADefinitions
public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, String processVersion, int status) - Specified by:
getWorkflowMetricsSLADefinitionsin interfaceWorkflowMetricsSLADefinitionLocalService
-
getWorkflowMetricsSLADefinitions
public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, int status) - Specified by:
getWorkflowMetricsSLADefinitionsin interfaceWorkflowMetricsSLADefinitionLocalService
-
getWorkflowMetricsSLADefinitions
public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, String name, long processId) - Specified by:
getWorkflowMetricsSLADefinitionsin interfaceWorkflowMetricsSLADefinitionLocalService
-
getWorkflowMetricsSLADefinitionsByUuidAndCompanyId
public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(String uuid, long companyId) Returns all the workflow metrics sla definitions matching the UUID and company.- Specified by:
getWorkflowMetricsSLADefinitionsByUuidAndCompanyIdin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
uuid- the UUID of the workflow metrics sla definitionscompanyId- the primary key of the company- Returns:
- the matching workflow metrics sla definitions, or an empty list if no matches were found
-
getWorkflowMetricsSLADefinitionsByUuidAndCompanyId
public List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) Returns a range of workflow metrics sla definitions matching the UUID and company.- Specified by:
getWorkflowMetricsSLADefinitionsByUuidAndCompanyIdin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
uuid- the UUID of the workflow metrics sla definitionscompanyId- the primary key of the companystart- the lower bound of the range of workflow metrics sla definitionsend- the upper bound of the range of workflow metrics sla definitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching workflow metrics sla definitions, or an empty list if no matches were found
-
getWorkflowMetricsSLADefinitionsCount
public int getWorkflowMetricsSLADefinitionsCount()Returns the number of workflow metrics sla definitions.- Specified by:
getWorkflowMetricsSLADefinitionsCountin interfaceWorkflowMetricsSLADefinitionLocalService- Returns:
- the number of workflow metrics sla definitions
-
getWorkflowMetricsSLADefinitionsCount
public int getWorkflowMetricsSLADefinitionsCount(long companyId, boolean active, long processId) - Specified by:
getWorkflowMetricsSLADefinitionsCountin interfaceWorkflowMetricsSLADefinitionLocalService
-
getWorkflowMetricsSLADefinitionsCount
public int getWorkflowMetricsSLADefinitionsCount(long companyId, boolean active, long processId, int status) - Specified by:
getWorkflowMetricsSLADefinitionsCountin interfaceWorkflowMetricsSLADefinitionLocalService
-
updateWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition updateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, String calendarKey, String description, long duration, String name, String[] pauseNodeKeys, String[] startNodeKeys, String[] stopNodeKeys, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateWorkflowMetricsSLADefinition
public WorkflowMetricsSLADefinition updateWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition) Updates the workflow metrics sla definition in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect WorkflowMetricsSLADefinitionLocalServiceImpl 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:
updateWorkflowMetricsSLADefinitionin interfaceWorkflowMetricsSLADefinitionLocalService- Parameters:
workflowMetricsSLADefinition- the workflow metrics sla definition- Returns:
- the workflow metrics sla definition that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>
-
setWrappedService
public void setWrappedService(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>
-