All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portal.workflow.kaleo.service.KaleoLogLocalServiceWrapper Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.workflow.kaleo.service;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.kernel.service.ServiceWrapper;

/**
 * Provides a wrapper for {@link KaleoLogLocalService}.
 *
 * @author Brian Wing Shun Chan
 * @see KaleoLogLocalService
 * @generated
 */
@ProviderType
public class KaleoLogLocalServiceWrapper
	implements KaleoLogLocalService, ServiceWrapper {

	public KaleoLogLocalServiceWrapper(
		KaleoLogLocalService kaleoLogLocalService) {

		_kaleoLogLocalService = kaleoLogLocalService;
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog
			addActionExecutionKaleoLog(
				com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken
					kaleoInstanceToken,
				com.liferay.portal.workflow.kaleo.model.KaleoAction kaleoAction,
				long startTime, long endTime, String comment,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addActionExecutionKaleoLog(
			kaleoInstanceToken, kaleoAction, startTime, endTime, comment,
			serviceContext);
	}

	/**
	 * Adds the kaleo log to the database. Also notifies the appropriate model listeners.
	 *
	 * @param kaleoLog the kaleo log
	 * @return the kaleo log that was added
	 */
	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog addKaleoLog(
		com.liferay.portal.workflow.kaleo.model.KaleoLog kaleoLog) {

		return _kaleoLogLocalService.addKaleoLog(kaleoLog);
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog
			addNodeEntryKaleoLog(
				com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken
					kaleoInstanceToken,
				com.liferay.portal.workflow.kaleo.model.KaleoNode
					sourceKaleoNode,
				com.liferay.portal.workflow.kaleo.model.KaleoNode
					targetKaleoNode,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addNodeEntryKaleoLog(
			kaleoInstanceToken, sourceKaleoNode, targetKaleoNode,
			serviceContext);
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog addNodeExitKaleoLog(
			com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken
				kaleoInstanceToken,
			com.liferay.portal.workflow.kaleo.model.KaleoNode
				departingKaleoNode,
			com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addNodeExitKaleoLog(
			kaleoInstanceToken, departingKaleoNode, serviceContext);
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog
			addTaskAssignmentKaleoLog(
				java.util.List
					
							previousKaleoTaskAssignmentInstances,
				com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken
					kaleoTaskInstanceToken,
				String comment,
				java.util.Map workflowContext,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addTaskAssignmentKaleoLog(
			previousKaleoTaskAssignmentInstances, kaleoTaskInstanceToken,
			comment, workflowContext, serviceContext);
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog
			addTaskCompletionKaleoLog(
				com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken
					kaleoTaskInstanceToken,
				String comment,
				java.util.Map workflowContext,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addTaskCompletionKaleoLog(
			kaleoTaskInstanceToken, comment, workflowContext, serviceContext);
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog
			addTaskUpdateKaleoLog(
				com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken
					kaleoTaskInstanceToken,
				String comment,
				java.util.Map workflowContext,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addTaskUpdateKaleoLog(
			kaleoTaskInstanceToken, comment, workflowContext, serviceContext);
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog
			addWorkflowInstanceEndKaleoLog(
				com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken
					kaleoInstanceToken,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addWorkflowInstanceEndKaleoLog(
			kaleoInstanceToken, serviceContext);
	}

	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog
			addWorkflowInstanceStartKaleoLog(
				com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken
					kaleoInstanceToken,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.addWorkflowInstanceStartKaleoLog(
			kaleoInstanceToken, serviceContext);
	}

	/**
	 * Creates a new kaleo log with the primary key. Does not add the kaleo log to the database.
	 *
	 * @param kaleoLogId the primary key for the new kaleo log
	 * @return the new kaleo log
	 */
	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog createKaleoLog(
		long kaleoLogId) {

		return _kaleoLogLocalService.createKaleoLog(kaleoLogId);
	}

	@Override
	public void deleteCompanyKaleoLogs(long companyId) {
		_kaleoLogLocalService.deleteCompanyKaleoLogs(companyId);
	}

	@Override
	public void deleteKaleoDefinitionVersionKaleoLogs(
		long kaleoDefinitionVersionId) {

		_kaleoLogLocalService.deleteKaleoDefinitionVersionKaleoLogs(
			kaleoDefinitionVersionId);
	}

	@Override
	public void deleteKaleoInstanceKaleoLogs(long kaleoInstanceId) {
		_kaleoLogLocalService.deleteKaleoInstanceKaleoLogs(kaleoInstanceId);
	}

	/**
	 * Deletes the kaleo log from the database. Also notifies the appropriate model listeners.
	 *
	 * @param kaleoLog the kaleo log
	 * @return the kaleo log that was removed
	 */
	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog deleteKaleoLog(
		com.liferay.portal.workflow.kaleo.model.KaleoLog kaleoLog) {

		return _kaleoLogLocalService.deleteKaleoLog(kaleoLog);
	}

	/**
	 * Deletes the kaleo log with the primary key from the database. Also notifies the appropriate model listeners.
	 *
	 * @param kaleoLogId the primary key of the kaleo log
	 * @return the kaleo log that was removed
	 * @throws PortalException if a kaleo log with the primary key could not be found
	 */
	@Override
	public com.liferay.portal.workflow.kaleo.model.KaleoLog deleteKaleoLog(
			long kaleoLogId)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.deleteKaleoLog(kaleoLogId);
	}

	/**
	 * @throws PortalException
	 */
	@Override
	public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
			com.liferay.portal.kernel.model.PersistedModel persistedModel)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _kaleoLogLocalService.deletePersistedModel(persistedModel);
	}

	@Override
	public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
		return _kaleoLogLocalService.dynamicQuery();
	}

	/**
	 * Performs a dynamic query on the database and returns the matching rows.
	 *
	 * @param dynamicQuery the dynamic query
	 * @return the matching rows
	 */
	@Override
	public  java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {

		return _kaleoLogLocalService.dynamicQuery(dynamicQuery);
	}

	/**
	 * 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 and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.model.impl.KaleoLogModelImpl. 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. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @return the range of matching rows */ @Override public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) { return _kaleoLogLocalService.dynamicQuery(dynamicQuery, start, end); } /** * 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 and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.model.impl.KaleoLogModelImpl. 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. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching rows */ @Override public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { return _kaleoLogLocalService.dynamicQuery( dynamicQuery, start, end, orderByComparator); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return _kaleoLogLocalService.dynamicQueryCount(dynamicQuery); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) { return _kaleoLogLocalService.dynamicQueryCount( dynamicQuery, projection); } @Override public com.liferay.portal.workflow.kaleo.model.KaleoLog fetchKaleoLog( long kaleoLogId) { return _kaleoLogLocalService.fetchKaleoLog(kaleoLogId); } @Override public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { return _kaleoLogLocalService.getActionableDynamicQuery(); } @Override public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { return _kaleoLogLocalService.getIndexableActionableDynamicQuery(); } @Override public java.util.List getKaleoInstanceKaleoLogs( long kaleoInstanceId, java.util.List logTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { return _kaleoLogLocalService.getKaleoInstanceKaleoLogs( kaleoInstanceId, logTypes, start, end, orderByComparator); } @Override public int getKaleoInstanceKaleoLogsCount( long kaleoInstanceId, java.util.List logTypes) { return _kaleoLogLocalService.getKaleoInstanceKaleoLogsCount( kaleoInstanceId, logTypes); } /** * Returns the kaleo log with the primary key. * * @param kaleoLogId the primary key of the kaleo log * @return the kaleo log * @throws PortalException if a kaleo log with the primary key could not be found */ @Override public com.liferay.portal.workflow.kaleo.model.KaleoLog getKaleoLog( long kaleoLogId) throws com.liferay.portal.kernel.exception.PortalException { return _kaleoLogLocalService.getKaleoLog(kaleoLogId); } /** * 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 and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.workflow.kaleo.model.impl.KaleoLogModelImpl. 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. *

* * @param start the lower bound of the range of kaleo logs * @param end the upper bound of the range of kaleo logs (not inclusive) * @return the range of kaleo logs */ @Override public java.util.List getKaleoLogs(int start, int end) { return _kaleoLogLocalService.getKaleoLogs(start, end); } /** * Returns the number of kaleo logs. * * @return the number of kaleo logs */ @Override public int getKaleoLogsCount() { return _kaleoLogLocalService.getKaleoLogsCount(); } @Override public java.util.List getKaleoTaskInstanceTokenKaleoLogs( long kaleoTaskInstanceTokenId, java.util.List logTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { return _kaleoLogLocalService.getKaleoTaskInstanceTokenKaleoLogs( kaleoTaskInstanceTokenId, logTypes, start, end, orderByComparator); } @Override public int getKaleoTaskInstanceTokenKaleoLogsCount( long kaleoTaskInstanceTokenId, java.util.List logTypes) { return _kaleoLogLocalService.getKaleoTaskInstanceTokenKaleoLogsCount( kaleoTaskInstanceTokenId, logTypes); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return _kaleoLogLocalService.getOSGiServiceIdentifier(); } @Override public com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _kaleoLogLocalService.getPersistedModel(primaryKeyObj); } /** * Updates the kaleo log in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param kaleoLog the kaleo log * @return the kaleo log that was updated */ @Override public com.liferay.portal.workflow.kaleo.model.KaleoLog updateKaleoLog( com.liferay.portal.workflow.kaleo.model.KaleoLog kaleoLog) { return _kaleoLogLocalService.updateKaleoLog(kaleoLog); } @Override public KaleoLogLocalService getWrappedService() { return _kaleoLogLocalService; } @Override public void setWrappedService(KaleoLogLocalService kaleoLogLocalService) { _kaleoLogLocalService = kaleoLogLocalService; } private KaleoLogLocalService _kaleoLogLocalService; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy