public class ObjectEntryServiceUtil
extends java.lang.Object
com.liferay.object.service.impl.ObjectEntryServiceImpl
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.ObjectEntryService
Constructor and Description |
---|
ObjectEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static ObjectEntry |
addObjectEntry(long groupId,
long objectDefinitionId,
java.util.Map<java.lang.String,java.io.Serializable> values,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectEntry |
addOrUpdateObjectEntry(java.lang.String externalReferenceCode,
long groupId,
long objectDefinitionId,
java.util.Map<java.lang.String,java.io.Serializable> values,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectEntry |
deleteObjectEntry(long objectEntryId) |
static ObjectEntry |
deleteObjectEntry(java.lang.String externalReferenceCode,
long companyId,
long groupId) |
static ObjectEntry |
fetchObjectEntry(long objectEntryId) |
static ObjectEntry |
getObjectEntry(long objectEntryId) |
static ObjectEntry |
getObjectEntry(java.lang.String externalReferenceCode,
long companyId,
long groupId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ObjectEntryService |
getService() |
static ObjectEntry |
updateObjectEntry(long objectEntryId,
java.util.Map<java.lang.String,java.io.Serializable> values,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static ObjectEntry addObjectEntry(long groupId, long objectDefinitionId, java.util.Map<java.lang.String,java.io.Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectEntry addOrUpdateObjectEntry(java.lang.String externalReferenceCode, long groupId, long objectDefinitionId, java.util.Map<java.lang.String,java.io.Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectEntry deleteObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectEntry deleteObjectEntry(java.lang.String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectEntry fetchObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectEntry getObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectEntry getObjectEntry(java.lang.String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static ObjectEntry updateObjectEntry(long objectEntryId, java.util.Map<java.lang.String,java.io.Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectEntryService getService()