com.liferay.expando.kernel.service.ExpandoRowLocalServiceWrapper Maven / Gradle / Ivy
/**
* 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.expando.kernel.service;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.service.ServiceWrapper;
/**
* Provides a wrapper for {@link ExpandoRowLocalService}.
*
* @author Brian Wing Shun Chan
* @see ExpandoRowLocalService
* @generated
*/
@ProviderType
public class ExpandoRowLocalServiceWrapper
implements ExpandoRowLocalService, ServiceWrapper {
public ExpandoRowLocalServiceWrapper(
ExpandoRowLocalService expandoRowLocalService) {
_expandoRowLocalService = expandoRowLocalService;
}
/**
* Adds the expando row to the database. Also notifies the appropriate model listeners.
*
* @param expandoRow the expando row
* @return the expando row that was added
*/
@Override
public com.liferay.expando.kernel.model.ExpandoRow addExpandoRow(
com.liferay.expando.kernel.model.ExpandoRow expandoRow) {
return _expandoRowLocalService.addExpandoRow(expandoRow);
}
@Override
public com.liferay.expando.kernel.model.ExpandoRow addRow(
long tableId, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _expandoRowLocalService.addRow(tableId, classPK);
}
/**
* Creates a new expando row with the primary key. Does not add the expando row to the database.
*
* @param rowId the primary key for the new expando row
* @return the new expando row
*/
@Override
public com.liferay.expando.kernel.model.ExpandoRow createExpandoRow(
long rowId) {
return _expandoRowLocalService.createExpandoRow(rowId);
}
/**
* Deletes the expando row from the database. Also notifies the appropriate model listeners.
*
* @param expandoRow the expando row
* @return the expando row that was removed
*/
@Override
public com.liferay.expando.kernel.model.ExpandoRow deleteExpandoRow(
com.liferay.expando.kernel.model.ExpandoRow expandoRow) {
return _expandoRowLocalService.deleteExpandoRow(expandoRow);
}
/**
* Deletes the expando row with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param rowId the primary key of the expando row
* @return the expando row that was removed
* @throws PortalException if a expando row with the primary key could not be found
*/
@Override
public com.liferay.expando.kernel.model.ExpandoRow deleteExpandoRow(
long rowId)
throws com.liferay.portal.kernel.exception.PortalException {
return _expandoRowLocalService.deleteExpandoRow(rowId);
}
/**
* @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 _expandoRowLocalService.deletePersistedModel(persistedModel);
}
@Override
public void deleteRow(com.liferay.expando.kernel.model.ExpandoRow row) {
_expandoRowLocalService.deleteRow(row);
}
@Override
public void deleteRow(long rowId)
throws com.liferay.portal.kernel.exception.PortalException {
_expandoRowLocalService.deleteRow(rowId);
}
@Override
public void deleteRow(long tableId, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
_expandoRowLocalService.deleteRow(tableId, classPK);
}
@Override
public void deleteRow(
long companyId, long classNameId, String tableName, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
_expandoRowLocalService.deleteRow(
companyId, classNameId, tableName, classPK);
}
@Override
public void deleteRow(
long companyId, String className, String tableName, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
_expandoRowLocalService.deleteRow(
companyId, className, tableName, classPK);
}
@Override
public void deleteRows(long classPK) {
_expandoRowLocalService.deleteRows(classPK);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _expandoRowLocalService.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 _expandoRowLocalService.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.portlet.expando.model.impl.ExpandoRowModelImpl
. 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 _expandoRowLocalService.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.portlet.expando.model.impl.ExpandoRowModelImpl
. 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 _expandoRowLocalService.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 _expandoRowLocalService.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 _expandoRowLocalService.dynamicQueryCount(
dynamicQuery, projection);
}
@Override
public com.liferay.expando.kernel.model.ExpandoRow fetchExpandoRow(
long rowId) {
return _expandoRowLocalService.fetchExpandoRow(rowId);
}
@Override
public com.liferay.expando.kernel.model.ExpandoRow fetchRow(
long tableId, long classPK) {
return _expandoRowLocalService.fetchRow(tableId, classPK);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _expandoRowLocalService.getActionableDynamicQuery();
}
@Override
public java.util.List
getDefaultTableRows(
long companyId, long classNameId, int start, int end) {
return _expandoRowLocalService.getDefaultTableRows(
companyId, classNameId, start, end);
}
@Override
public java.util.List
getDefaultTableRows(
long companyId, String className, int start, int end) {
return _expandoRowLocalService.getDefaultTableRows(
companyId, className, start, end);
}
@Override
public int getDefaultTableRowsCount(long companyId, long classNameId) {
return _expandoRowLocalService.getDefaultTableRowsCount(
companyId, classNameId);
}
@Override
public int getDefaultTableRowsCount(long companyId, String className) {
return _expandoRowLocalService.getDefaultTableRowsCount(
companyId, className);
}
/**
* Returns the expando row with the primary key.
*
* @param rowId the primary key of the expando row
* @return the expando row
* @throws PortalException if a expando row with the primary key could not be found
*/
@Override
public com.liferay.expando.kernel.model.ExpandoRow getExpandoRow(long rowId)
throws com.liferay.portal.kernel.exception.PortalException {
return _expandoRowLocalService.getExpandoRow(rowId);
}
/**
* Returns a range of all the expando 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.portlet.expando.model.impl.ExpandoRowModelImpl
. 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 expando rows
* @param end the upper bound of the range of expando rows (not inclusive)
* @return the range of expando rows
*/
@Override
public java.util.List
getExpandoRows(int start, int end) {
return _expandoRowLocalService.getExpandoRows(start, end);
}
/**
* Returns the number of expando rows.
*
* @return the number of expando rows
*/
@Override
public int getExpandoRowsCount() {
return _expandoRowLocalService.getExpandoRowsCount();
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _expandoRowLocalService.getIndexableActionableDynamicQuery();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _expandoRowLocalService.getOSGiServiceIdentifier();
}
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _expandoRowLocalService.getPersistedModel(primaryKeyObj);
}
@Override
public com.liferay.expando.kernel.model.ExpandoRow getRow(long rowId)
throws com.liferay.portal.kernel.exception.PortalException {
return _expandoRowLocalService.getRow(rowId);
}
@Override
public com.liferay.expando.kernel.model.ExpandoRow getRow(
long tableId, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _expandoRowLocalService.getRow(tableId, classPK);
}
@Override
public com.liferay.expando.kernel.model.ExpandoRow getRow(
long companyId, long classNameId, String tableName, long classPK) {
return _expandoRowLocalService.getRow(
companyId, classNameId, tableName, classPK);
}
@Override
public com.liferay.expando.kernel.model.ExpandoRow getRow(
long companyId, String className, String tableName, long classPK) {
return _expandoRowLocalService.getRow(
companyId, className, tableName, classPK);
}
@Override
public java.util.List getRows(
long tableId, int start, int end) {
return _expandoRowLocalService.getRows(tableId, start, end);
}
@Override
public java.util.List getRows(
long companyId, long classNameId, String tableName, int start,
int end) {
return _expandoRowLocalService.getRows(
companyId, classNameId, tableName, start, end);
}
@Override
public java.util.List getRows(
long companyId, String className, String tableName, int start,
int end) {
return _expandoRowLocalService.getRows(
companyId, className, tableName, start, end);
}
@Override
public int getRowsCount(long tableId) {
return _expandoRowLocalService.getRowsCount(tableId);
}
@Override
public int getRowsCount(
long companyId, long classNameId, String tableName) {
return _expandoRowLocalService.getRowsCount(
companyId, classNameId, tableName);
}
@Override
public int getRowsCount(
long companyId, String className, String tableName) {
return _expandoRowLocalService.getRowsCount(
companyId, className, tableName);
}
/**
* Updates the expando row in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param expandoRow the expando row
* @return the expando row that was updated
*/
@Override
public com.liferay.expando.kernel.model.ExpandoRow updateExpandoRow(
com.liferay.expando.kernel.model.ExpandoRow expandoRow) {
return _expandoRowLocalService.updateExpandoRow(expandoRow);
}
@Override
public ExpandoRowLocalService getWrappedService() {
return _expandoRowLocalService;
}
@Override
public void setWrappedService(
ExpandoRowLocalService expandoRowLocalService) {
_expandoRowLocalService = expandoRowLocalService;
}
private ExpandoRowLocalService _expandoRowLocalService;
}