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) voidaddObjectRelationshipMappingTableValues(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.PersistedModelcreatePersistedModel(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.voiddeleteObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1) voiddeleteObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1, long primaryKey2) voiddeleteObjectRelationships(long objectDefinitionId1) voiddeleteObjectRelationships(long objectDefinitionId1, boolean reverse) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) voiddisableEdge(long objectDefinitionId2) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerygetAllObjectRelationships(long objectDefinitionId) com.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetObjectRelationship(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) intReturns the number of object relationships.getObjectRelationshipsMap(long companyId) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidregisterObjectRelationshipsRelatedInfoCollectionProviders(ObjectDefinition objectDefinition1, ObjectDefinitionLocalService objectDefinitionLocalService, List<ObjectRelationship> objectRelationships) voidsetWrappedService(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) voidupdateUserId(long companyId, long oldUserId, long newUserId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
addObjectRelationshipin 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:
addObjectRelationshipin 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:
addObjectRelationshipin 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:
addObjectRelationshipMappingTableValuesin 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:
createManyToManyObjectRelationshipTablein 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:
createObjectRelationshipin 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:
createPersistedModelin interfaceObjectRelationshipLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteObjectRelationshipin 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:
deleteObjectRelationshipin interfaceObjectRelationshipLocalService- Parameters:
objectRelationship- the object relationship- Returns:
- the object relationship that was removed
- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationshipMappingTableValues
public void deleteObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteObjectRelationshipMappingTableValuesin 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:
deleteObjectRelationshipMappingTableValuesin interfaceObjectRelationshipLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectRelationships
public void deleteObjectRelationships(long objectDefinitionId1) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteObjectRelationshipsin 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:
deleteObjectRelationshipsin 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:
deletePersistedModelin interfaceObjectRelationshipLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
disableEdge
public void disableEdge(long objectDefinitionId2) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
disableEdgein interfaceObjectRelationshipLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceObjectRelationshipLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceObjectRelationshipLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceObjectRelationshipLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectRelationshipModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectRelationshipModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchObjectRelationshipin interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByExternalReferenceCode
public ObjectRelationship fetchObjectRelationshipByExternalReferenceCode(String externalReferenceCode, long objectDefinitionId1) - Specified by:
fetchObjectRelationshipByExternalReferenceCodein interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByExternalReferenceCode
public ObjectRelationship fetchObjectRelationshipByExternalReferenceCode(String externalReferenceCode, long companyId, long objectDefinitionId1) - Specified by:
fetchObjectRelationshipByExternalReferenceCodein interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByObjectDefinitionId
public ObjectRelationship fetchObjectRelationshipByObjectDefinitionId(long objectDefinitionId, String name) - Specified by:
fetchObjectRelationshipByObjectDefinitionIdin interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByObjectDefinitionId1
public ObjectRelationship fetchObjectRelationshipByObjectDefinitionId1(long objectDefinitionId1, String name) - Specified by:
fetchObjectRelationshipByObjectDefinitionId1in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByObjectFieldId2
- Specified by:
fetchObjectRelationshipByObjectFieldId2in interfaceObjectRelationshipLocalService
-
fetchObjectRelationshipByUuidAndCompanyId
Returns the object relationship with the matching UUID and company.- Specified by:
fetchObjectRelationshipByUuidAndCompanyIdin interfaceObjectRelationshipLocalService- Parameters:
uuid- the object relationship's UUIDcompanyId- the primary key of the company- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
fetchReverseObjectRelationship
public ObjectRelationship fetchReverseObjectRelationship(ObjectRelationship objectRelationship, boolean reverse) - Specified by:
fetchReverseObjectRelationshipin interfaceObjectRelationshipLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceObjectRelationshipLocalService
-
getAllObjectRelationships
- Specified by:
getAllObjectRelationshipsin interfaceObjectRelationshipLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceObjectRelationshipLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceObjectRelationshipLocalService
-
getObjectRelationship
public ObjectRelationship getObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException Returns the object relationship with the primary key.- Specified by:
getObjectRelationshipin 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:
getObjectRelationshipin 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:
getObjectRelationshipByExternalReferenceCodein 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:
getObjectRelationshipByObjectDefinitionIdin 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:
getObjectRelationshipByUuidAndCompanyIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectRelationshipModelImpl.- Specified by:
getObjectRelationshipsin 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:
getObjectRelationshipsin interfaceObjectRelationshipLocalService
-
getObjectRelationships
- Specified by:
getObjectRelationshipsin interfaceObjectRelationshipLocalService
-
getObjectRelationships
public List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, int start, int end) - Specified by:
getObjectRelationshipsin interfaceObjectRelationshipLocalService
-
getObjectRelationships
public List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, long objectDefinition2, String type) - Specified by:
getObjectRelationshipsin interfaceObjectRelationshipLocalService
-
getObjectRelationships
- Specified by:
getObjectRelationshipsin interfaceObjectRelationshipLocalService
-
getObjectRelationships
public List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, String deletionType, boolean reverse) - Specified by:
getObjectRelationshipsin interfaceObjectRelationshipLocalService
-
getObjectRelationshipsByObjectDefinitionId2
public List<ObjectRelationship> getObjectRelationshipsByObjectDefinitionId2(long objectDefinitionId2) - Specified by:
getObjectRelationshipsByObjectDefinitionId2in interfaceObjectRelationshipLocalService
-
getObjectRelationshipsCount
public int getObjectRelationshipsCount()Returns the number of object relationships.- Specified by:
getObjectRelationshipsCountin interfaceObjectRelationshipLocalService- Returns:
- the number of object relationships
-
getObjectRelationshipsMap
- Specified by:
getObjectRelationshipsMapin interfaceObjectRelationshipLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceObjectRelationshipLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
registerObjectRelationshipsRelatedInfoCollectionProviders
public void registerObjectRelationshipsRelatedInfoCollectionProviders(ObjectDefinition objectDefinition1, ObjectDefinitionLocalService objectDefinitionLocalService, List<ObjectRelationship> objectRelationships) - Specified by:
registerObjectRelationshipsRelatedInfoCollectionProvidersin 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:
updateObjectRelationshipin 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:
updateObjectRelationshipin 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:
updateUserIdin interfaceObjectRelationshipLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectRelationshipLocalService>
-