Package com.liferay.object.service
Class ObjectEntryServiceUtil
java.lang.Object
com.liferay.object.service.ObjectEntryServiceUtil
Provides the remote service utility for ObjectEntry. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectEntry
addObjectEntry
(long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectEntry
addOrUpdateObjectEntry
(String externalReferenceCode, long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
checkModelResourcePermission
(long objectDefinitionId, long objectEntryId, String actionId) static ObjectEntry
deleteObjectEntry
(long objectEntryId) static ObjectEntry
deleteObjectEntry
(String externalReferenceCode, long companyId, long groupId) static ObjectEntry
fetchManyToOneObjectEntry
(long groupId, long objectRelationshipId, long primaryKey) static ObjectEntry
fetchObjectEntry
(long objectEntryId) static List<ObjectEntry>
getManyToManyObjectEntries
(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search, int start, int end) static int
getManyToManyObjectEntriesCount
(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search) static com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<ObjectEntry>
getModelResourcePermission
(long objectDefinitionId) static ObjectEntry
getObjectEntry
(long objectEntryId) static ObjectEntry
getObjectEntry
(String externalReferenceCode, long companyId, long groupId) static List<ObjectEntry>
getOneToManyObjectEntries
(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search, int start, int end) static int
getOneToManyObjectEntriesCount
(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search) static String
Returns the OSGi service identifier.static ObjectEntryService
static boolean
hasModelResourcePermission
(long objectDefinitionId, long objectEntryId, String actionId) static boolean
hasModelResourcePermission
(ObjectEntry objectEntry, String actionId) static boolean
hasModelResourcePermission
(com.liferay.portal.kernel.model.User user, long objectEntryId, String actionId) static boolean
hasPortletResourcePermission
(long groupId, long objectDefinitionId, String actionId) static ObjectEntry
updateObjectEntry
(long objectEntryId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
ObjectEntryServiceUtil
public ObjectEntryServiceUtil()
-
-
Method Details
-
addObjectEntry
public static ObjectEntry addObjectEntry(long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateObjectEntry
public static ObjectEntry addOrUpdateObjectEntry(String externalReferenceCode, long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkModelResourcePermission
public static void checkModelResourcePermission(long objectDefinitionId, long objectEntryId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectEntry
public static ObjectEntry deleteObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectEntry
public static ObjectEntry deleteObjectEntry(String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchManyToOneObjectEntry
public static ObjectEntry fetchManyToOneObjectEntry(long groupId, long objectRelationshipId, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchObjectEntry
public static ObjectEntry fetchObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getManyToManyObjectEntries
public static List<ObjectEntry> getManyToManyObjectEntries(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getManyToManyObjectEntriesCount
public static int getManyToManyObjectEntriesCount(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getModelResourcePermission
public static com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<ObjectEntry> getModelResourcePermission(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntry
public static ObjectEntry getObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntry
public static ObjectEntry getObjectEntry(String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOneToManyObjectEntries
public static List<ObjectEntry> getOneToManyObjectEntries(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOneToManyObjectEntriesCount
public static int getOneToManyObjectEntriesCount(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
hasModelResourcePermission
public static boolean hasModelResourcePermission(long objectDefinitionId, long objectEntryId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasModelResourcePermission
public static boolean hasModelResourcePermission(ObjectEntry objectEntry, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasModelResourcePermission
public static boolean hasModelResourcePermission(com.liferay.portal.kernel.model.User user, long objectEntryId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasPortletResourcePermission
public static boolean hasPortletResourcePermission(long groupId, long objectDefinitionId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateObjectEntry
public static ObjectEntry updateObjectEntry(long objectEntryId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-