Class ObjectRelationshipLocalServiceWrapper
- All Implemented Interfaces:
ObjectRelationshipLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
ObjectRelationshipLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectRelationshipLocalServiceWrapper
(ObjectRelationshipLocalService objectRelationshipLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddObjectRelationship
(ObjectRelationship objectRelationship) Adds the object relationship to the database.addObjectRelationship
(String externalReferenceCode, long userId, long objectDefinitionId1, long objectDefinitionId2, long parameterObjectFieldId, String deletionType, boolean edge, Map<Locale, String> labelMap, String name, boolean system, String type, ObjectField objectField) addObjectRelationship
(String externalReferenceCode, long userId, long objectDefinitionId1, long objectDefinitionId2, ObjectField objectField) void
addObjectRelationshipMappingTableValues
(long userId, long objectRelationshipId, long primaryKey1, long primaryKey2, com.liferay.portal.kernel.service.ServiceContext serviceContext) createManyToManyObjectRelationshipTable
(long userId, ObjectRelationship objectRelationship) createObjectRelationship
(long objectRelationshipId) Creates a new object relationship with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteObjectRelationship
(long objectRelationshipId) Deletes the object relationship with the primary key from the database.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) void
deleteObjectRelationships
(long objectDefinitionId1, boolean reverse) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) void
disableEdge
(long objectDefinitionId2) <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
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> 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> 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.fetchObjectRelationship
(long objectRelationshipId) fetchObjectRelationshipByExternalReferenceCode
(String externalReferenceCode, long objectDefinitionId1) fetchObjectRelationshipByExternalReferenceCode
(String externalReferenceCode, long companyId, long objectDefinitionId1) fetchObjectRelationshipByObjectDefinitionId
(long objectDefinitionId, String name) fetchObjectRelationshipByObjectDefinitionId1
(long objectDefinitionId1, String name) fetchObjectRelationshipByObjectFieldId2
(long objectFieldId2) fetchObjectRelationshipByUuidAndCompanyId
(String uuid, long companyId) Returns the object relationship with the matching UUID and company.fetchReverseObjectRelationship
(ObjectRelationship objectRelationship, boolean reverse) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getAllObjectRelationships
(long objectDefinitionId) com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getObjectRelationship
(long objectRelationshipId) Returns the object relationship with the primary key.getObjectRelationship
(long objectDefinitionId1, String name) getObjectRelationshipByExternalReferenceCode
(String externalReferenceCode, long companyId, long objectDefinitionId1) getObjectRelationshipByObjectDefinitionId
(long objectDefinitionId, String name) getObjectRelationshipByUuidAndCompanyId
(String uuid, long companyId) Returns the object relationship with the matching UUID and company.getObjectRelationships
(int start, int end) Returns a range of all the object relationships.getObjectRelationships
(long objectDefinitionId1) getObjectRelationships
(long objectDefinitionId1, boolean edge) getObjectRelationships
(long objectDefinitionId1, int start, int end) getObjectRelationships
(long objectDefinitionId1, long objectDefinition2, String type) getObjectRelationships
(long objectDefinitionId, String type) getObjectRelationships
(long objectDefinitionId1, String deletionType, boolean reverse) getObjectRelationshipsByObjectDefinitionId2
(long objectDefinitionId2) int
Returns the number of object relationships.getObjectRelationshipsMap
(long companyId) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
registerObjectRelationshipsRelatedInfoCollectionProviders
(ObjectDefinition objectDefinition1, ObjectDefinitionLocalService objectDefinitionLocalService, List<ObjectRelationship> objectRelationships) void
setWrappedService
(ObjectRelationshipLocalService objectRelationshipLocalService) updateObjectRelationship
(ObjectRelationship objectRelationship) Updates the object relationship in the database or adds it if it does not yet exist.updateObjectRelationship
(String externalReferenceCode, long objectRelationshipId, long parameterObjectFieldId, String deletionType, boolean edge, Map<Locale, String> labelMap, ObjectField objectField) void
updateUserId
(long companyId, long oldUserId, long newUserId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ObjectRelationshipLocalServiceWrapper
public ObjectRelationshipLocalServiceWrapper() -
ObjectRelationshipLocalServiceWrapper
public ObjectRelationshipLocalServiceWrapper(ObjectRelationshipLocalService objectRelationshipLocalService)
-
-
Method Details
-
addObjectRelationship
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.
- Specified by:
addObjectRelationship
in interfaceObjectRelationshipLocalService
- Parameters:
objectRelationship
- the object relationship- Returns:
- the object relationship that was added
-
addObjectRelationship
public ObjectRelationship addObjectRelationship(String externalReferenceCode, long userId, long objectDefinitionId1, long objectDefinitionId2, long parameterObjectFieldId, String deletionType, boolean edge, Map<Locale, String> labelMap, String name, boolean system, String type, ObjectField objectField) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addObjectRelationship
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addObjectRelationship
public ObjectRelationship addObjectRelationship(String externalReferenceCode, long userId, long objectDefinitionId1, long objectDefinitionId2, ObjectField objectField) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addObjectRelationship
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addObjectRelationshipMappingTableValues
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 - Specified by:
addObjectRelationshipMappingTableValues
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createManyToManyObjectRelationshipTable
public ObjectRelationship createManyToManyObjectRelationshipTable(long userId, ObjectRelationship objectRelationship) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createManyToManyObjectRelationshipTable
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createObjectRelationship
Creates a new object relationship with the primary key. Does not add the object relationship to the database.- Specified by:
createObjectRelationship
in interfaceObjectRelationshipLocalService
- Parameters:
objectRelationshipId
- the primary key for the new object relationship- Returns:
- the new object relationship
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceObjectRelationshipLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationship
public ObjectRelationship deleteObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException 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.
- Specified by:
deleteObjectRelationship
in interfaceObjectRelationshipLocalService
- Parameters:
objectRelationshipId
- the primary key of the object relationship- Returns:
- the object relationship that was removed
- Throws:
PortalException
- if a object relationship with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationship
public ObjectRelationship deleteObjectRelationship(ObjectRelationship objectRelationship) throws com.liferay.portal.kernel.exception.PortalException 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.
- Specified by:
deleteObjectRelationship
in interfaceObjectRelationshipLocalService
- Parameters:
objectRelationship
- the object relationship- Returns:
- the object relationship that was removed
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationshipMappingTableValues
public void deleteObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteObjectRelationshipMappingTableValues
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationshipMappingTableValues
public void deleteObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1, long primaryKey2) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteObjectRelationshipMappingTableValues
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationships
public void deleteObjectRelationships(long objectDefinitionId1) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteObjectRelationships
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationships
public void deleteObjectRelationships(long objectDefinitionId1, boolean reverse) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteObjectRelationships
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceObjectRelationshipLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
disableEdge
public void disableEdge(long objectDefinitionId2) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
disableEdge
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceObjectRelationshipLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceObjectRelationshipLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceObjectRelationshipLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceObjectRelationshipLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectRelationshipModelImpl
.- Specified by:
dynamicQuery
in interfaceObjectRelationshipLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectRelationshipModelImpl
.- Specified by:
dynamicQuery
in interfaceObjectRelationshipLocalService
- Parameters:
dynamicQuery
- 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 (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceObjectRelationshipLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCount
in interfaceObjectRelationshipLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchObjectRelationship
- Specified by:
fetchObjectRelationship
in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByExternalReferenceCode
public ObjectRelationship fetchObjectRelationshipByExternalReferenceCode(String externalReferenceCode, long objectDefinitionId1) - Specified by:
fetchObjectRelationshipByExternalReferenceCode
in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByExternalReferenceCode
public ObjectRelationship fetchObjectRelationshipByExternalReferenceCode(String externalReferenceCode, long companyId, long objectDefinitionId1) - Specified by:
fetchObjectRelationshipByExternalReferenceCode
in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByObjectDefinitionId
public ObjectRelationship fetchObjectRelationshipByObjectDefinitionId(long objectDefinitionId, String name) - Specified by:
fetchObjectRelationshipByObjectDefinitionId
in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByObjectDefinitionId1
public ObjectRelationship fetchObjectRelationshipByObjectDefinitionId1(long objectDefinitionId1, String name) - Specified by:
fetchObjectRelationshipByObjectDefinitionId1
in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByObjectFieldId2
- Specified by:
fetchObjectRelationshipByObjectFieldId2
in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByUuidAndCompanyId
Returns the object relationship with the matching UUID and company.- Specified by:
fetchObjectRelationshipByUuidAndCompanyId
in interfaceObjectRelationshipLocalService
- Parameters:
uuid
- the object relationship's UUIDcompanyId
- the primary key of the company- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
fetchReverseObjectRelationship
public ObjectRelationship fetchReverseObjectRelationship(ObjectRelationship objectRelationship, boolean reverse) - Specified by:
fetchReverseObjectRelationship
in interfaceObjectRelationshipLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceObjectRelationshipLocalService
-
getAllObjectRelationships
- Specified by:
getAllObjectRelationships
in interfaceObjectRelationshipLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceObjectRelationshipLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceObjectRelationshipLocalService
-
getObjectRelationship
public ObjectRelationship getObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException Returns the object relationship with the primary key.- Specified by:
getObjectRelationship
in interfaceObjectRelationshipLocalService
- Parameters:
objectRelationshipId
- the primary key of the object relationship- Returns:
- the object relationship
- Throws:
PortalException
- if a object relationship with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getObjectRelationship
public ObjectRelationship getObjectRelationship(long objectDefinitionId1, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectRelationship
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectRelationshipByExternalReferenceCode
public ObjectRelationship getObjectRelationshipByExternalReferenceCode(String externalReferenceCode, long companyId, long objectDefinitionId1) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectRelationshipByExternalReferenceCode
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectRelationshipByObjectDefinitionId
public ObjectRelationship getObjectRelationshipByObjectDefinitionId(long objectDefinitionId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectRelationshipByObjectDefinitionId
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectRelationshipByUuidAndCompanyId
public ObjectRelationship getObjectRelationshipByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the object relationship with the matching UUID and company.- Specified by:
getObjectRelationshipByUuidAndCompanyId
in interfaceObjectRelationshipLocalService
- Parameters:
uuid
- the object relationship's UUIDcompanyId
- the primary key of the company- Returns:
- the matching object relationship
- Throws:
PortalException
- if a matching object relationship could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getObjectRelationships
Returns a range of all the object relationships.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectRelationshipModelImpl
.- Specified by:
getObjectRelationships
in interfaceObjectRelationshipLocalService
- Parameters:
start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of object relationships
-
getObjectRelationships
- Specified by:
getObjectRelationships
in interfaceObjectRelationshipLocalService
-
getObjectRelationships
- Specified by:
getObjectRelationships
in interfaceObjectRelationshipLocalService
-
getObjectRelationships
public List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, int start, int end) - Specified by:
getObjectRelationships
in interfaceObjectRelationshipLocalService
-
getObjectRelationships
public List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, long objectDefinition2, String type) - Specified by:
getObjectRelationships
in interfaceObjectRelationshipLocalService
-
getObjectRelationships
- Specified by:
getObjectRelationships
in interfaceObjectRelationshipLocalService
-
getObjectRelationships
public List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, String deletionType, boolean reverse) - Specified by:
getObjectRelationships
in interfaceObjectRelationshipLocalService
-
getObjectRelationshipsByObjectDefinitionId2
public List<ObjectRelationship> getObjectRelationshipsByObjectDefinitionId2(long objectDefinitionId2) - Specified by:
getObjectRelationshipsByObjectDefinitionId2
in interfaceObjectRelationshipLocalService
-
getObjectRelationshipsCount
public int getObjectRelationshipsCount()Returns the number of object relationships.- Specified by:
getObjectRelationshipsCount
in interfaceObjectRelationshipLocalService
- Returns:
- the number of object relationships
-
getObjectRelationshipsMap
- Specified by:
getObjectRelationshipsMap
in interfaceObjectRelationshipLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceObjectRelationshipLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceObjectRelationshipLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
registerObjectRelationshipsRelatedInfoCollectionProviders
public void registerObjectRelationshipsRelatedInfoCollectionProviders(ObjectDefinition objectDefinition1, ObjectDefinitionLocalService objectDefinitionLocalService, List<ObjectRelationship> objectRelationships) - Specified by:
registerObjectRelationshipsRelatedInfoCollectionProviders
in interfaceObjectRelationshipLocalService
-
updateObjectRelationship
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.
- Specified by:
updateObjectRelationship
in interfaceObjectRelationshipLocalService
- Parameters:
objectRelationship
- the object relationship- Returns:
- the object relationship that was updated
-
updateObjectRelationship
public ObjectRelationship updateObjectRelationship(String externalReferenceCode, long objectRelationshipId, long parameterObjectFieldId, String deletionType, boolean edge, Map<Locale, String> labelMap, ObjectField objectField) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateObjectRelationship
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUserId
public void updateUserId(long companyId, long oldUserId, long newUserId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateUserId
in interfaceObjectRelationshipLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
-