public class ObjectRelationshipServiceUtil
extends java.lang.Object
com.liferay.object.service.impl.ObjectRelationshipServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.ObjectRelationshipService
Constructor and Description |
---|
ObjectRelationshipServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static ObjectRelationship |
addObjectRelationship(long objectDefinitionId1,
long objectDefinitionId2,
java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.lang.String name,
java.lang.String type) |
static ObjectRelationship |
deleteObjectRelationship(long objectRelationshipId) |
static ObjectRelationship |
getObjectRelationship(long objectRelationshipId) |
static java.util.List<ObjectRelationship> |
getObjectRelationships(long objectDefinitionId1,
int start,
int end) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ObjectRelationshipService |
getService() |
static ObjectRelationship |
updateObjectRelationship(long objectRelationshipId,
java.lang.String deletionType,
java.util.Map<java.util.Locale,java.lang.String> labelMap) |
public static ObjectRelationship addObjectRelationship(long objectDefinitionId1, long objectDefinitionId2, 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
com.liferay.portal.kernel.exception.PortalException
public static ObjectRelationship deleteObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectRelationship getObjectRelationship(long objectRelationshipId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<ObjectRelationship> getObjectRelationships(long objectDefinitionId1, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static ObjectRelationship updateObjectRelationship(long objectRelationshipId, java.lang.String deletionType, java.util.Map<java.util.Locale,java.lang.String> labelMap) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectRelationshipService getService()