public class ObjectRelationshipLocalServiceWrapper extends java.lang.Object implements ObjectRelationshipLocalService, com.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
ObjectRelationshipLocalService.ObjectRelationshipLocalService| Constructor and Description |
|---|
ObjectRelationshipLocalServiceWrapper() |
ObjectRelationshipLocalServiceWrapper(ObjectRelationshipLocalService objectRelationshipLocalService) |
| Modifier and Type | Method and Description |
|---|---|
ObjectRelationship |
addObjectRelationship(long userId,
long objectDefinitionId1,
long objectDefinitionId2,
long parameterObjectFieldId,
java.lang.String deletionType,
java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.lang.String name,
java.lang.String type) |
ObjectRelationship |
addObjectRelationship(ObjectRelationship objectRelationship)
Adds the object relationship to the database.
|
void |
addObjectRelationshipMappingTableValues(long userId,
long objectRelationshipId,
long primaryKey1,
long primaryKey2,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
ObjectRelationship |
createObjectRelationship(long objectRelationshipId)
Creates a new object relationship with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
ObjectRelationship |
deleteObjectRelationship(long objectRelationshipId)
Deletes the object relationship with the primary key from the database.
|
ObjectRelationship |
deleteObjectRelationship(ObjectRelationship objectRelationship)
Deletes the object relationship from the database.
|
void |
deleteObjectRelationshipMappingTableValues(long objectRelationshipId,
long primaryKey1) |
void |
deleteObjectRelationshipMappingTableValues(long objectRelationshipId,
long primaryKey1,
long primaryKey2) |
void |
deleteObjectRelationships(long objectDefinitionId1) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
ObjectRelationship |
fetchObjectRelationship(long objectRelationshipId) |
ObjectRelationship |
fetchObjectRelationshipByObjectFieldId2(long objectFieldId2) |
ObjectRelationship |
fetchObjectRelationshipByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the object relationship with the matching UUID and company.
|
ObjectRelationship |
fetchReverseObjectRelationship(ObjectRelationship objectRelationship,
boolean reverse) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
ObjectRelationship |
getObjectRelationship(long objectRelationshipId)
Returns the object relationship with the primary key.
|
ObjectRelationship |
getObjectRelationship(long objectDefinitionId1,
java.lang.String name) |
ObjectRelationship |
getObjectRelationshipByObjectDefinitionId(long objectDefinitionId,
java.lang.String objectRelationshipName) |
ObjectRelationship |
getObjectRelationshipByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the object relationship with the matching UUID and company.
|
java.util.List<ObjectRelationship> |
getObjectRelationships(int start,
int end)
Returns a range of all the object relationships.
|
java.util.List<ObjectRelationship> |
getObjectRelationships(long objectDefinitionId1) |
java.util.List<ObjectRelationship> |
getObjectRelationships(long objectDefinitionId1,
int start,
int end) |
java.util.List<ObjectRelationship> |
getObjectRelationships(long objectDefinitionId1,
long objectDefinition2,
java.lang.String type) |
java.util.List<ObjectRelationship> |
getObjectRelationships(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse) |
int |
getObjectRelationshipsCount()
Returns the number of object relationships.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
ObjectRelationshipLocalService |
getWrappedService() |
void |
setWrappedService(ObjectRelationshipLocalService objectRelationshipLocalService) |
ObjectRelationship |
updateObjectRelationship(long objectRelationshipId,
long parameterObjectFieldId,
java.lang.String deletionType,
java.util.Map<java.util.Locale,java.lang.String> labelMap) |
ObjectRelationship |
updateObjectRelationship(ObjectRelationship objectRelationship)
Updates the object relationship in the database or adds it if it does not yet exist.
|
public ObjectRelationshipLocalServiceWrapper()
public ObjectRelationshipLocalServiceWrapper(ObjectRelationshipLocalService objectRelationshipLocalService)
public ObjectRelationship addObjectRelationship(long userId, long objectDefinitionId1, long objectDefinitionId2, long parameterObjectFieldId, java.lang.String deletionType, java.util.Map<java.util.Locale,java.lang.String> labelMap, java.lang.String name, java.lang.String type) throws com.liferay.portal.kernel.exception.PortalException
addObjectRelationship in interface ObjectRelationshipLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic ObjectRelationship addObjectRelationship(ObjectRelationship objectRelationship)
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.
addObjectRelationship in interface ObjectRelationshipLocalServiceobjectRelationship - the object relationshippublic void addObjectRelationshipMappingTableValues(long userId,
long objectRelationshipId,
long primaryKey1,
long primaryKey2,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
addObjectRelationshipMappingTableValues in interface ObjectRelationshipLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic ObjectRelationship createObjectRelationship(long objectRelationshipId)
createObjectRelationship in interface ObjectRelationshipLocalServiceobjectRelationshipId - the primary key for the new object relationshippublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface ObjectRelationshipLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic ObjectRelationship deleteObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteObjectRelationship in interface ObjectRelationshipLocalServiceobjectRelationshipId - the primary key of the object relationshipPortalException - if a object relationship with the primary key could not be foundpublic ObjectRelationship deleteObjectRelationship(ObjectRelationship objectRelationship) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteObjectRelationship in interface ObjectRelationshipLocalServiceobjectRelationship - the object relationshipPortalExceptionpublic void deleteObjectRelationshipMappingTableValues(long objectRelationshipId,
long primaryKey1)
throws com.liferay.portal.kernel.exception.PortalException
deleteObjectRelationshipMappingTableValues in interface ObjectRelationshipLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteObjectRelationshipMappingTableValues(long objectRelationshipId,
long primaryKey1,
long primaryKey2)
throws com.liferay.portal.kernel.exception.PortalException
deleteObjectRelationshipMappingTableValues in interface ObjectRelationshipLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteObjectRelationships(long objectDefinitionId1)
throws com.liferay.portal.kernel.exception.PortalException
deleteObjectRelationships in interface ObjectRelationshipLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface ObjectRelationshipLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface ObjectRelationshipLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface ObjectRelationshipLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface ObjectRelationshipLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface ObjectRelationshipLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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.object.model.impl.ObjectRelationshipModelImpl.
dynamicQuery in interface ObjectRelationshipLocalServicedynamicQuery - 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.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.object.model.impl.ObjectRelationshipModelImpl.
dynamicQuery in interface ObjectRelationshipLocalServicedynamicQuery - 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface ObjectRelationshipLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface ObjectRelationshipLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic ObjectRelationship fetchObjectRelationship(long objectRelationshipId)
fetchObjectRelationship in interface ObjectRelationshipLocalServicepublic ObjectRelationship fetchObjectRelationshipByObjectFieldId2(long objectFieldId2)
fetchObjectRelationshipByObjectFieldId2 in interface ObjectRelationshipLocalServicepublic ObjectRelationship fetchObjectRelationshipByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchObjectRelationshipByUuidAndCompanyId in interface ObjectRelationshipLocalServiceuuid - the object relationship's UUIDcompanyId - the primary key of the companynull if a matching object relationship could not be foundpublic ObjectRelationship fetchReverseObjectRelationship(ObjectRelationship objectRelationship, boolean reverse)
fetchReverseObjectRelationship in interface ObjectRelationshipLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ObjectRelationshipLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface ObjectRelationshipLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface ObjectRelationshipLocalServicepublic ObjectRelationship getObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
getObjectRelationship in interface ObjectRelationshipLocalServiceobjectRelationshipId - the primary key of the object relationshipPortalException - if a object relationship with the primary key could not be foundpublic ObjectRelationship getObjectRelationship(long objectDefinitionId1, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
getObjectRelationship in interface ObjectRelationshipLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic ObjectRelationship getObjectRelationshipByObjectDefinitionId(long objectDefinitionId, java.lang.String objectRelationshipName) throws java.lang.Exception
getObjectRelationshipByObjectDefinitionId in interface ObjectRelationshipLocalServicejava.lang.Exceptionpublic ObjectRelationship getObjectRelationshipByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getObjectRelationshipByUuidAndCompanyId in interface ObjectRelationshipLocalServiceuuid - the object relationship's UUIDcompanyId - the primary key of the companyPortalException - if a matching object relationship could not be foundpublic java.util.List<ObjectRelationship> getObjectRelationships(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.object.model.impl.ObjectRelationshipModelImpl.
getObjectRelationships in interface ObjectRelationshipLocalServicestart - the lower bound of the range of object relationshipsend - the upper bound of the range of object relationships (not inclusive)public java.util.List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1)
getObjectRelationships in interface ObjectRelationshipLocalServicepublic java.util.List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, int start, int end)
getObjectRelationships in interface ObjectRelationshipLocalServicepublic java.util.List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, long objectDefinition2, java.lang.String type)
getObjectRelationships in interface ObjectRelationshipLocalServicepublic java.util.List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, java.lang.String deletionType, boolean reverse)
getObjectRelationships in interface ObjectRelationshipLocalServicepublic int getObjectRelationshipsCount()
getObjectRelationshipsCount in interface ObjectRelationshipLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface ObjectRelationshipLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface ObjectRelationshipLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic ObjectRelationship updateObjectRelationship(long objectRelationshipId, long parameterObjectFieldId, java.lang.String deletionType, java.util.Map<java.util.Locale,java.lang.String> labelMap) throws com.liferay.portal.kernel.exception.PortalException
updateObjectRelationship in interface ObjectRelationshipLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic ObjectRelationship updateObjectRelationship(ObjectRelationship objectRelationship)
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.
updateObjectRelationship in interface ObjectRelationshipLocalServiceobjectRelationship - the object relationshippublic ObjectRelationshipLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>public void setWrappedService(ObjectRelationshipLocalService objectRelationshipLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>