Package com.liferay.object.service
Interface ObjectEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
ObjectEntryServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface ObjectEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for ObjectEntry. 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 Summary
Modifier and TypeMethodDescriptionaddObjectEntry
(long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateObjectEntry
(String externalReferenceCode, long groupId, long objectDefinitionId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
checkModelResourcePermission
(long objectDefinitionId, long objectEntryId, String actionId) deleteObjectEntry
(long objectEntryId) deleteObjectEntry
(String externalReferenceCode, long companyId, long groupId) fetchManyToOneObjectEntry
(long groupId, long objectRelationshipId, long primaryKey) fetchObjectEntry
(long objectEntryId) getManyToManyObjectEntries
(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search, int start, int end) int
getManyToManyObjectEntriesCount
(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search) com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission<ObjectEntry>
getModelResourcePermission
(long objectDefinitionId) getObjectEntry
(long objectEntryId) getObjectEntry
(String externalReferenceCode, long companyId, long groupId) getOneToManyObjectEntries
(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search, int start, int end) int
getOneToManyObjectEntriesCount
(long groupId, long objectRelationshipId, long primaryKey, boolean related, String search) Returns the OSGi service identifier.boolean
hasModelResourcePermission
(long objectDefinitionId, long objectEntryId, String actionId) boolean
hasModelResourcePermission
(ObjectEntry objectEntry, String actionId) boolean
hasModelResourcePermission
(com.liferay.portal.kernel.model.User user, long objectEntryId, String actionId) boolean
hasPortletResourcePermission
(long groupId, long objectDefinitionId, String actionId) updateObjectEntry
(long objectEntryId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addObjectEntry
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
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
@Transactional(propagation=SUPPORTS, readOnly=true) void checkModelResourcePermission(long objectDefinitionId, long objectEntryId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectEntry
ObjectEntry deleteObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectEntry
ObjectEntry deleteObjectEntry(String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchManyToOneObjectEntry
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectEntry fetchManyToOneObjectEntry(long groupId, long objectRelationshipId, long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchObjectEntry
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectEntry fetchObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getManyToManyObjectEntries
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectEntry getObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntry
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectEntry getObjectEntry(String externalReferenceCode, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOneToManyObjectEntries
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
hasModelResourcePermission
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasModelResourcePermission(long objectDefinitionId, long objectEntryId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasModelResourcePermission
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasModelResourcePermission(ObjectEntry objectEntry, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasModelResourcePermission
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasPortletResourcePermission(long groupId, long objectDefinitionId, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateObjectEntry
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
-