public class WorkflowMetricsSLADefinitionLocalServiceWrapper extends java.lang.Object implements ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>, WorkflowMetricsSLADefinitionLocalService
WorkflowMetricsSLADefinitionLocalService.WorkflowMetricsSLADefinitionLocalService| Constructor and Description |
|---|
WorkflowMetricsSLADefinitionLocalServiceWrapper(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
WorkflowMetricsSLADefinition |
addWorkflowMetricsSLADefinition(java.lang.String calendarKey,
java.lang.String description,
long duration,
java.lang.String name,
java.lang.String[] pauseNodeKeys,
long processId,
java.lang.String[] startNodeKeys,
java.lang.String[] stopNodeKeys,
ServiceContext serviceContext) |
WorkflowMetricsSLADefinition |
addWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
Adds the workflow metrics sla definition to the database.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
WorkflowMetricsSLADefinition |
createWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId)
Creates a new workflow metrics sla definition with the primary key.
|
void |
deactivateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId,
ServiceContext serviceContext) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
WorkflowMetricsSLADefinition |
deleteWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId)
Deletes the workflow metrics sla definition with the primary key from the database.
|
WorkflowMetricsSLADefinition |
deleteWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
Deletes the workflow metrics sla definition from the database.
|
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
WorkflowMetricsSLADefinition |
fetchWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) |
WorkflowMetricsSLADefinition |
fetchWorkflowMetricsSLADefinitionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the workflow metrics sla definition matching the UUID and group.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
WorkflowMetricsSLADefinition |
getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId)
Returns the workflow metrics sla definition with the primary key.
|
WorkflowMetricsSLADefinition |
getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId,
boolean active) |
WorkflowMetricsSLADefinition |
getWorkflowMetricsSLADefinitionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the workflow metrics sla definition matching the UUID and group.
|
java.util.List<WorkflowMetricsSLADefinition> |
getWorkflowMetricsSLADefinitions(int start,
int end)
Returns a range of all the workflow metrics sla definitions.
|
java.util.List<WorkflowMetricsSLADefinition> |
getWorkflowMetricsSLADefinitions(long companyId,
boolean active,
long processId,
int status,
int start,
int end,
OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator) |
java.util.List<WorkflowMetricsSLADefinition> |
getWorkflowMetricsSLADefinitions(long companyId,
boolean active,
long processId,
java.lang.String processVersion,
int status) |
java.util.List<WorkflowMetricsSLADefinition> |
getWorkflowMetricsSLADefinitions(long companyId,
int status) |
java.util.List<WorkflowMetricsSLADefinition> |
getWorkflowMetricsSLADefinitions(long companyId,
java.lang.String name,
long processId) |
java.util.List<WorkflowMetricsSLADefinition> |
getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the workflow metrics sla definitions matching the UUID and company.
|
java.util.List<WorkflowMetricsSLADefinition> |
getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
Returns a range of workflow metrics sla definitions matching the UUID and company.
|
int |
getWorkflowMetricsSLADefinitionsCount()
Returns the number of workflow metrics sla definitions.
|
int |
getWorkflowMetricsSLADefinitionsCount(long companyId,
boolean active,
long processId) |
int |
getWorkflowMetricsSLADefinitionsCount(long companyId,
boolean active,
long processId,
int status) |
WorkflowMetricsSLADefinitionLocalService |
getWrappedService() |
void |
setWrappedService(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService) |
WorkflowMetricsSLADefinition |
updateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId,
java.lang.String calendarKey,
java.lang.String description,
long duration,
java.lang.String name,
java.lang.String[] pauseNodeKeys,
java.lang.String[] startNodeKeys,
java.lang.String[] stopNodeKeys,
int status,
ServiceContext serviceContext) |
WorkflowMetricsSLADefinition |
updateWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
Updates the workflow metrics sla definition in the database or adds it if it does not yet exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic WorkflowMetricsSLADefinitionLocalServiceWrapper(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService)
public WorkflowMetricsSLADefinition addWorkflowMetricsSLADefinition(java.lang.String calendarKey, java.lang.String description, long duration, java.lang.String name, java.lang.String[] pauseNodeKeys, long processId, java.lang.String[] startNodeKeys, java.lang.String[] stopNodeKeys, ServiceContext serviceContext) throws PortalException
addWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServicePortalExceptionpublic WorkflowMetricsSLADefinition addWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
addWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServiceworkflowMetricsSLADefinition - the workflow metrics sla definitionpublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface WorkflowMetricsSLADefinitionLocalServicePortalExceptionpublic WorkflowMetricsSLADefinition createWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId)
createWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServiceworkflowMetricsSLADefinitionId - the primary key for the new workflow metrics sla definitionpublic void deactivateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId,
ServiceContext serviceContext)
throws PortalException
deactivateWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface WorkflowMetricsSLADefinitionLocalServicePortalExceptionpublic WorkflowMetricsSLADefinition deleteWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) throws PortalException
deleteWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServiceworkflowMetricsSLADefinitionId - the primary key of the workflow metrics sla definitionPortalException - if a workflow metrics sla definition with the primary key could not be foundpublic WorkflowMetricsSLADefinition deleteWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
deleteWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServiceworkflowMetricsSLADefinition - the workflow metrics sla definitionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface WorkflowMetricsSLADefinitionLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface WorkflowMetricsSLADefinitionLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface WorkflowMetricsSLADefinitionLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.
dynamicQuery in interface WorkflowMetricsSLADefinitionLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.
dynamicQuery in interface WorkflowMetricsSLADefinitionLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface WorkflowMetricsSLADefinitionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface WorkflowMetricsSLADefinitionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic WorkflowMetricsSLADefinition fetchWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId)
fetchWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServicepublic WorkflowMetricsSLADefinition fetchWorkflowMetricsSLADefinitionByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchWorkflowMetricsSLADefinitionByUuidAndGroupId in interface WorkflowMetricsSLADefinitionLocalServiceuuid - the workflow metrics sla definition's UUIDgroupId - the primary key of the groupnull if a matching workflow metrics sla definition could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface WorkflowMetricsSLADefinitionLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface WorkflowMetricsSLADefinitionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface WorkflowMetricsSLADefinitionLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface WorkflowMetricsSLADefinitionLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface WorkflowMetricsSLADefinitionLocalServicePortalExceptionpublic WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId) throws PortalException
getWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServiceworkflowMetricsSLADefinitionId - the primary key of the workflow metrics sla definitionPortalException - if a workflow metrics sla definition with the primary key could not be foundpublic WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, boolean active) throws PortalException
getWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServicePortalExceptionpublic WorkflowMetricsSLADefinition getWorkflowMetricsSLADefinitionByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException
getWorkflowMetricsSLADefinitionByUuidAndGroupId in interface WorkflowMetricsSLADefinitionLocalServiceuuid - the workflow metrics sla definition's UUIDgroupId - the primary key of the groupPortalException - if a matching workflow metrics sla definition could not be foundpublic java.util.List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.portal.workflow.metrics.model.impl.WorkflowMetricsSLADefinitionModelImpl.
getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalServicestart - the lower bound of the range of workflow metrics sla definitionsend - the upper bound of the range of workflow metrics sla definitions (not inclusive)public java.util.List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, int status, int start, int end, OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalServicepublic java.util.List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, boolean active, long processId, java.lang.String processVersion, int status)
getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalServicepublic java.util.List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, int status)
getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalServicepublic java.util.List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitions(long companyId, java.lang.String name, long processId)
getWorkflowMetricsSLADefinitions in interface WorkflowMetricsSLADefinitionLocalServicepublic java.util.List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getWorkflowMetricsSLADefinitionsByUuidAndCompanyId in interface WorkflowMetricsSLADefinitionLocalServiceuuid - the UUID of the workflow metrics sla definitionscompanyId - the primary key of the companypublic java.util.List<WorkflowMetricsSLADefinition> getWorkflowMetricsSLADefinitionsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, OrderByComparator<WorkflowMetricsSLADefinition> orderByComparator)
getWorkflowMetricsSLADefinitionsByUuidAndCompanyId in interface WorkflowMetricsSLADefinitionLocalServiceuuid - 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 (optionally null)public int getWorkflowMetricsSLADefinitionsCount()
getWorkflowMetricsSLADefinitionsCount in interface WorkflowMetricsSLADefinitionLocalServicepublic int getWorkflowMetricsSLADefinitionsCount(long companyId,
boolean active,
long processId)
getWorkflowMetricsSLADefinitionsCount in interface WorkflowMetricsSLADefinitionLocalServicepublic int getWorkflowMetricsSLADefinitionsCount(long companyId,
boolean active,
long processId,
int status)
getWorkflowMetricsSLADefinitionsCount in interface WorkflowMetricsSLADefinitionLocalServicepublic WorkflowMetricsSLADefinition updateWorkflowMetricsSLADefinition(long workflowMetricsSLADefinitionId, java.lang.String calendarKey, java.lang.String description, long duration, java.lang.String name, java.lang.String[] pauseNodeKeys, java.lang.String[] startNodeKeys, java.lang.String[] stopNodeKeys, int status, ServiceContext serviceContext) throws PortalException
updateWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServicePortalExceptionpublic WorkflowMetricsSLADefinition updateWorkflowMetricsSLADefinition(WorkflowMetricsSLADefinition workflowMetricsSLADefinition)
updateWorkflowMetricsSLADefinition in interface WorkflowMetricsSLADefinitionLocalServiceworkflowMetricsSLADefinition - the workflow metrics sla definitionpublic WorkflowMetricsSLADefinitionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>public void setWrappedService(WorkflowMetricsSLADefinitionLocalService workflowMetricsSLADefinitionLocalService)
setWrappedService in interface ServiceWrapper<WorkflowMetricsSLADefinitionLocalService>