com.liferay.portal.workflow.kaleo.service.KaleoNodeLocalServiceWrapper Maven / Gradle / Ivy
Show all versions of release.portal.api Show documentation
/**
* 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 KaleoNodeLocalService}.
*
* @author Brian Wing Shun Chan
* @see KaleoNodeLocalService
* @generated
*/
@ProviderType
public class KaleoNodeLocalServiceWrapper implements KaleoNodeLocalService,
ServiceWrapper {
public KaleoNodeLocalServiceWrapper(
KaleoNodeLocalService kaleoNodeLocalService) {
_kaleoNodeLocalService = kaleoNodeLocalService;
}
/**
* Adds the kaleo node to the database. Also notifies the appropriate model listeners.
*
* @param kaleoNode the kaleo node
* @return the kaleo node that was added
*/
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode addKaleoNode(
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode) {
return _kaleoNodeLocalService.addKaleoNode(kaleoNode);
}
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode addKaleoNode(
long kaleoDefinitionVersionId,
com.liferay.portal.workflow.kaleo.definition.Node node,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _kaleoNodeLocalService.addKaleoNode(kaleoDefinitionVersionId,
node, serviceContext);
}
/**
* Creates a new kaleo node with the primary key. Does not add the kaleo node to the database.
*
* @param kaleoNodeId the primary key for the new kaleo node
* @return the new kaleo node
*/
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode createKaleoNode(
long kaleoNodeId) {
return _kaleoNodeLocalService.createKaleoNode(kaleoNodeId);
}
@Override
public void deleteCompanyKaleoNodes(long companyId) {
_kaleoNodeLocalService.deleteCompanyKaleoNodes(companyId);
}
@Override
public void deleteKaleoDefinitionVersionKaleoNodes(
long kaleoDefinitionVersionId) {
_kaleoNodeLocalService.deleteKaleoDefinitionVersionKaleoNodes(kaleoDefinitionVersionId);
}
/**
* Deletes the kaleo node from the database. Also notifies the appropriate model listeners.
*
* @param kaleoNode the kaleo node
* @return the kaleo node that was removed
*/
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode deleteKaleoNode(
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode) {
return _kaleoNodeLocalService.deleteKaleoNode(kaleoNode);
}
/**
* Deletes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param kaleoNodeId the primary key of the kaleo node
* @return the kaleo node that was removed
* @throws PortalException if a kaleo node with the primary key could not be found
*/
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode deleteKaleoNode(
long kaleoNodeId)
throws com.liferay.portal.kernel.exception.PortalException {
return _kaleoNodeLocalService.deleteKaleoNode(kaleoNodeId);
}
/**
* @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 _kaleoNodeLocalService.deletePersistedModel(persistedModel);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _kaleoNodeLocalService.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 _kaleoNodeLocalService.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 {@link 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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl}. 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 _kaleoNodeLocalService.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 {@link 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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl}. 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 _kaleoNodeLocalService.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 _kaleoNodeLocalService.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 _kaleoNodeLocalService.dynamicQueryCount(dynamicQuery, projection);
}
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode fetchKaleoNode(
long kaleoNodeId) {
return _kaleoNodeLocalService.fetchKaleoNode(kaleoNodeId);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
return _kaleoNodeLocalService.getActionableDynamicQuery();
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
return _kaleoNodeLocalService.getIndexableActionableDynamicQuery();
}
@Override
public java.util.List getKaleoDefinitionVersionKaleoNodes(
long kaleoDefinitionVersionId) {
return _kaleoNodeLocalService.getKaleoDefinitionVersionKaleoNodes(kaleoDefinitionVersionId);
}
/**
* Returns the kaleo node with the primary key.
*
* @param kaleoNodeId the primary key of the kaleo node
* @return the kaleo node
* @throws PortalException if a kaleo node with the primary key could not be found
*/
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode getKaleoNode(
long kaleoNodeId)
throws com.liferay.portal.kernel.exception.PortalException {
return _kaleoNodeLocalService.getKaleoNode(kaleoNodeId);
}
/**
* Returns a range of all the kaleo nodes.
*
*
* 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 {@link 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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl}. 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 nodes
* @param end the upper bound of the range of kaleo nodes (not inclusive)
* @return the range of kaleo nodes
*/
@Override
public java.util.List getKaleoNodes(
int start, int end) {
return _kaleoNodeLocalService.getKaleoNodes(start, end);
}
/**
* Returns the number of kaleo nodes.
*
* @return the number of kaleo nodes
*/
@Override
public int getKaleoNodesCount() {
return _kaleoNodeLocalService.getKaleoNodesCount();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _kaleoNodeLocalService.getOSGiServiceIdentifier();
}
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _kaleoNodeLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Updates the kaleo node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param kaleoNode the kaleo node
* @return the kaleo node that was updated
*/
@Override
public com.liferay.portal.workflow.kaleo.model.KaleoNode updateKaleoNode(
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode) {
return _kaleoNodeLocalService.updateKaleoNode(kaleoNode);
}
@Override
public KaleoNodeLocalService getWrappedService() {
return _kaleoNodeLocalService;
}
@Override
public void setWrappedService(KaleoNodeLocalService kaleoNodeLocalService) {
_kaleoNodeLocalService = kaleoNodeLocalService;
}
private KaleoNodeLocalService _kaleoNodeLocalService;
}