Interface ObjectRelationshipService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
ObjectRelationshipServiceWrapper

@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface ObjectRelationshipService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for ObjectRelationship. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addObjectRelationship

      ObjectRelationship addObjectRelationship(String externalReferenceCode, 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addObjectRelationshipMappingTableValues

      void addObjectRelationshipMappingTableValues(long objectRelationshipId, long primaryKey1, long primaryKey2, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteObjectRelationship

      ObjectRelationship deleteObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchObjectRelationshipByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) ObjectRelationship fetchObjectRelationshipByExternalReferenceCode(String externalReferenceCode, long companyId, long objectDefinitionId1) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectRelationship

      @Transactional(propagation=SUPPORTS, readOnly=true) ObjectRelationship getObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectRelationship

      @Transactional(propagation=SUPPORTS, readOnly=true) ObjectRelationship getObjectRelationship(long objectDefinitionId1, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectRelationships

      @Transactional(propagation=SUPPORTS, readOnly=true) List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • updateObjectRelationship

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException