![JAR search and dependency download from the Maven repository](/logo.png)
com.liferay.object.service.ObjectRelationshipLocalServiceWrapper Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.object.service;
import com.liferay.portal.kernel.service.ServiceWrapper;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
/**
* Provides a wrapper for {@link ObjectRelationshipLocalService}.
*
* @author Marco Leo
* @see ObjectRelationshipLocalService
* @generated
*/
public class ObjectRelationshipLocalServiceWrapper
implements ObjectRelationshipLocalService,
ServiceWrapper {
public ObjectRelationshipLocalServiceWrapper() {
this(null);
}
public ObjectRelationshipLocalServiceWrapper(
ObjectRelationshipLocalService objectRelationshipLocalService) {
_objectRelationshipLocalService = objectRelationshipLocalService;
}
/**
* Adds the object relationship to the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect ObjectRelationshipLocalServiceImpl 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.
*
*
* @param objectRelationship the object relationship
* @return the object relationship that was added
*/
@Override
public com.liferay.object.model.ObjectRelationship addObjectRelationship(
com.liferay.object.model.ObjectRelationship objectRelationship) {
return _objectRelationshipLocalService.addObjectRelationship(
objectRelationship);
}
@Override
public com.liferay.object.model.ObjectRelationship addObjectRelationship(
String externalReferenceCode, long userId, long objectDefinitionId1,
long objectDefinitionId2, long parameterObjectFieldId,
String deletionType,
java.util.Map labelMap, String name,
boolean system, String type,
com.liferay.object.model.ObjectField objectField)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.addObjectRelationship(
externalReferenceCode, userId, objectDefinitionId1,
objectDefinitionId2, parameterObjectFieldId, deletionType, labelMap,
name, system, type, objectField);
}
@Override
public com.liferay.object.model.ObjectRelationship addObjectRelationship(
String externalReferenceCode, long userId, long objectDefinitionId1,
long objectDefinitionId2,
com.liferay.object.model.ObjectField objectField)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.addObjectRelationship(
externalReferenceCode, userId, objectDefinitionId1,
objectDefinitionId2, objectField);
}
@Override
public void addObjectRelationshipMappingTableValues(
long userId, long objectRelationshipId, long primaryKey1,
long primaryKey2,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
_objectRelationshipLocalService.addObjectRelationshipMappingTableValues(
userId, objectRelationshipId, primaryKey1, primaryKey2,
serviceContext);
}
@Override
public com.liferay.object.model.ObjectRelationship
createManyToManyObjectRelationshipTable(
long userId,
com.liferay.object.model.ObjectRelationship objectRelationship)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.
createManyToManyObjectRelationshipTable(userId, objectRelationship);
}
/**
* Creates a new object relationship with the primary key. Does not add the object relationship to the database.
*
* @param objectRelationshipId the primary key for the new object relationship
* @return the new object relationship
*/
@Override
public com.liferay.object.model.ObjectRelationship createObjectRelationship(
long objectRelationshipId) {
return _objectRelationshipLocalService.createObjectRelationship(
objectRelationshipId);
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.createPersistedModel(
primaryKeyObj);
}
/**
* Deletes the object relationship with the primary key from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect ObjectRelationshipLocalServiceImpl 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.
*
*
* @param objectRelationshipId the primary key of the object relationship
* @return the object relationship that was removed
* @throws PortalException if a object relationship with the primary key could not be found
*/
@Override
public com.liferay.object.model.ObjectRelationship deleteObjectRelationship(
long objectRelationshipId)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.deleteObjectRelationship(
objectRelationshipId);
}
/**
* Deletes the object relationship from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect ObjectRelationshipLocalServiceImpl 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.
*
*
* @param objectRelationship the object relationship
* @return the object relationship that was removed
* @throws PortalException
*/
@Override
public com.liferay.object.model.ObjectRelationship deleteObjectRelationship(
com.liferay.object.model.ObjectRelationship objectRelationship)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.deleteObjectRelationship(
objectRelationship);
}
@Override
public void deleteObjectRelationshipMappingTableValues(
long objectRelationshipId, long primaryKey1)
throws com.liferay.portal.kernel.exception.PortalException {
_objectRelationshipLocalService.
deleteObjectRelationshipMappingTableValues(
objectRelationshipId, primaryKey1);
}
@Override
public void deleteObjectRelationshipMappingTableValues(
long objectRelationshipId, long primaryKey1, long primaryKey2)
throws com.liferay.portal.kernel.exception.PortalException {
_objectRelationshipLocalService.
deleteObjectRelationshipMappingTableValues(
objectRelationshipId, primaryKey1, primaryKey2);
}
@Override
public void deleteObjectRelationships(long objectDefinitionId1)
throws com.liferay.portal.kernel.exception.PortalException {
_objectRelationshipLocalService.deleteObjectRelationships(
objectDefinitionId1);
}
@Override
public void deleteObjectRelationships(
long objectDefinitionId1, boolean reverse)
throws com.liferay.portal.kernel.exception.PortalException {
_objectRelationshipLocalService.deleteObjectRelationships(
objectDefinitionId1, reverse);
}
/**
* @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 _objectRelationshipLocalService.deletePersistedModel(
persistedModel);
}
@Override
public void disableEdge(long objectDefinitionId2)
throws com.liferay.portal.kernel.exception.PortalException {
_objectRelationshipLocalService.disableEdge(objectDefinitionId2);
}
@Override
public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _objectRelationshipLocalService.dslQuery(dslQuery);
}
@Override
public int dslQueryCount(
com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _objectRelationshipLocalService.dslQueryCount(dslQuery);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _objectRelationshipLocalService.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 _objectRelationshipLocalService.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, then the query will include the default ORDER BY logic from com.liferay.object.model.impl.ObjectRelationshipModelImpl
.
*
*
* @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 _objectRelationshipLocalService.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, then the query will include the default ORDER BY logic from com.liferay.object.model.impl.ObjectRelationshipModelImpl
.
*
*
* @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 _objectRelationshipLocalService.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 _objectRelationshipLocalService.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 _objectRelationshipLocalService.dynamicQueryCount(
dynamicQuery, projection);
}
@Override
public com.liferay.object.model.ObjectRelationship enableEdge(
long objectRelationshipId, boolean edge)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.enableEdge(
objectRelationshipId, edge);
}
@Override
public com.liferay.object.model.ObjectRelationship fetchObjectRelationship(
long objectRelationshipId) {
return _objectRelationshipLocalService.fetchObjectRelationship(
objectRelationshipId);
}
@Override
public com.liferay.object.model.ObjectRelationship
fetchObjectRelationshipByExternalReferenceCode(
String externalReferenceCode, long objectDefinitionId1) {
return _objectRelationshipLocalService.
fetchObjectRelationshipByExternalReferenceCode(
externalReferenceCode, objectDefinitionId1);
}
@Override
public com.liferay.object.model.ObjectRelationship
fetchObjectRelationshipByExternalReferenceCode(
String externalReferenceCode, long companyId,
long objectDefinitionId1) {
return _objectRelationshipLocalService.
fetchObjectRelationshipByExternalReferenceCode(
externalReferenceCode, companyId, objectDefinitionId1);
}
@Override
public com.liferay.object.model.ObjectRelationship
fetchObjectRelationshipByObjectDefinitionId(
long objectDefinitionId, String name) {
return _objectRelationshipLocalService.
fetchObjectRelationshipByObjectDefinitionId(
objectDefinitionId, name);
}
@Override
public com.liferay.object.model.ObjectRelationship
fetchObjectRelationshipByObjectDefinitionId1(
long objectDefinitionId1, String name) {
return _objectRelationshipLocalService.
fetchObjectRelationshipByObjectDefinitionId1(
objectDefinitionId1, name);
}
@Override
public com.liferay.object.model.ObjectRelationship
fetchObjectRelationshipByObjectFieldId2(long objectFieldId2) {
return _objectRelationshipLocalService.
fetchObjectRelationshipByObjectFieldId2(objectFieldId2);
}
/**
* Returns the object relationship with the matching UUID and company.
*
* @param uuid the object relationship's UUID
* @param companyId the primary key of the company
* @return the matching object relationship, or null
if a matching object relationship could not be found
*/
@Override
public com.liferay.object.model.ObjectRelationship
fetchObjectRelationshipByUuidAndCompanyId(String uuid, long companyId) {
return _objectRelationshipLocalService.
fetchObjectRelationshipByUuidAndCompanyId(uuid, companyId);
}
@Override
public com.liferay.object.model.ObjectRelationship
fetchReverseObjectRelationship(
com.liferay.object.model.ObjectRelationship objectRelationship,
boolean reverse) {
return _objectRelationshipLocalService.fetchReverseObjectRelationship(
objectRelationship, reverse);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _objectRelationshipLocalService.getActionableDynamicQuery();
}
@Override
public java.util.List
getAllObjectRelationships(long objectDefinitionId) {
return _objectRelationshipLocalService.getAllObjectRelationships(
objectDefinitionId);
}
@Override
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery(
com.liferay.exportimport.kernel.lar.PortletDataContext
portletDataContext) {
return _objectRelationshipLocalService.getExportActionableDynamicQuery(
portletDataContext);
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _objectRelationshipLocalService.
getIndexableActionableDynamicQuery();
}
/**
* Returns the object relationship with the primary key.
*
* @param objectRelationshipId the primary key of the object relationship
* @return the object relationship
* @throws PortalException if a object relationship with the primary key could not be found
*/
@Override
public com.liferay.object.model.ObjectRelationship getObjectRelationship(
long objectRelationshipId)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.getObjectRelationship(
objectRelationshipId);
}
@Override
public com.liferay.object.model.ObjectRelationship getObjectRelationship(
long objectDefinitionId1, String name)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.getObjectRelationship(
objectDefinitionId1, name);
}
@Override
public com.liferay.object.model.ObjectRelationship
getObjectRelationshipByExternalReferenceCode(
String externalReferenceCode, long companyId,
long objectDefinitionId1)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.
getObjectRelationshipByExternalReferenceCode(
externalReferenceCode, companyId, objectDefinitionId1);
}
@Override
public com.liferay.object.model.ObjectRelationship
getObjectRelationshipByObjectDefinitionId(
long objectDefinitionId, String name)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.
getObjectRelationshipByObjectDefinitionId(objectDefinitionId, name);
}
/**
* Returns the object relationship with the matching UUID and company.
*
* @param uuid the object relationship's UUID
* @param companyId the primary key of the company
* @return the matching object relationship
* @throws PortalException if a matching object relationship could not be found
*/
@Override
public com.liferay.object.model.ObjectRelationship
getObjectRelationshipByUuidAndCompanyId(String uuid, long companyId)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.
getObjectRelationshipByUuidAndCompanyId(uuid, companyId);
}
/**
* Returns a range of all the object relationships.
*
*
* 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.object.model.impl.ObjectRelationshipModelImpl
.
*
*
* @param start the lower bound of the range of object relationships
* @param end the upper bound of the range of object relationships (not inclusive)
* @return the range of object relationships
*/
@Override
public java.util.List
getObjectRelationships(int start, int end) {
return _objectRelationshipLocalService.getObjectRelationships(
start, end);
}
@Override
public java.util.List
getObjectRelationships(long objectDefinitionId1) {
return _objectRelationshipLocalService.getObjectRelationships(
objectDefinitionId1);
}
@Override
public java.util.List
getObjectRelationships(long objectDefinitionId1, boolean edge) {
return _objectRelationshipLocalService.getObjectRelationships(
objectDefinitionId1, edge);
}
@Override
public java.util.List
getObjectRelationships(long objectDefinitionId1, int start, int end) {
return _objectRelationshipLocalService.getObjectRelationships(
objectDefinitionId1, start, end);
}
@Override
public java.util.List
getObjectRelationships(
long objectDefinitionId1, long objectDefinition2, String type) {
return _objectRelationshipLocalService.getObjectRelationships(
objectDefinitionId1, objectDefinition2, type);
}
@Override
public java.util.List
getObjectRelationships(long objectDefinitionId, String type) {
return _objectRelationshipLocalService.getObjectRelationships(
objectDefinitionId, type);
}
@Override
public java.util.List
getObjectRelationships(
long objectDefinitionId1, String deletionType, boolean reverse) {
return _objectRelationshipLocalService.getObjectRelationships(
objectDefinitionId1, deletionType, reverse);
}
@Override
public java.util.List
getObjectRelationshipsByObjectDefinitionId2(long objectDefinitionId2) {
return _objectRelationshipLocalService.
getObjectRelationshipsByObjectDefinitionId2(objectDefinitionId2);
}
/**
* Returns the number of object relationships.
*
* @return the number of object relationships
*/
@Override
public int getObjectRelationshipsCount() {
return _objectRelationshipLocalService.getObjectRelationshipsCount();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _objectRelationshipLocalService.getOSGiServiceIdentifier();
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.getPersistedModel(primaryKeyObj);
}
@Override
public void registerObjectRelationshipsRelatedInfoCollectionProviders(
com.liferay.object.model.ObjectDefinition objectDefinition1,
ObjectDefinitionLocalService objectDefinitionLocalService) {
_objectRelationshipLocalService.
registerObjectRelationshipsRelatedInfoCollectionProviders(
objectDefinition1, objectDefinitionLocalService);
}
/**
* Updates the object relationship in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
*
* Important: Inspect ObjectRelationshipLocalServiceImpl 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.
*
*
* @param objectRelationship the object relationship
* @return the object relationship that was updated
*/
@Override
public com.liferay.object.model.ObjectRelationship updateObjectRelationship(
com.liferay.object.model.ObjectRelationship objectRelationship) {
return _objectRelationshipLocalService.updateObjectRelationship(
objectRelationship);
}
@Override
public com.liferay.object.model.ObjectRelationship updateObjectRelationship(
String externalReferenceCode, long objectRelationshipId,
long parameterObjectFieldId, String deletionType, boolean edge,
java.util.Map labelMap,
com.liferay.object.model.ObjectField objectField)
throws com.liferay.portal.kernel.exception.PortalException {
return _objectRelationshipLocalService.updateObjectRelationship(
externalReferenceCode, objectRelationshipId, parameterObjectFieldId,
deletionType, edge, labelMap, objectField);
}
@Override
public BasePersistence> getBasePersistence() {
return _objectRelationshipLocalService.getBasePersistence();
}
@Override
public ObjectRelationshipLocalService getWrappedService() {
return _objectRelationshipLocalService;
}
@Override
public void setWrappedService(
ObjectRelationshipLocalService objectRelationshipLocalService) {
_objectRelationshipLocalService = objectRelationshipLocalService;
}
private ObjectRelationshipLocalService _objectRelationshipLocalService;
}