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, long objectEntryFolderId, String defaultLanguageId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) addOrUpdateObjectEntry(String externalReferenceCode, long groupId, long objectDefinitionId, long objectEntryFolderId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidcheckModelResourcePermission(long objectDefinitionId, long objectEntryId, String actionId) copyObjectEntry(long objectEntryId, long objectEntryFolderId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteObjectEntry(long objectEntryId) expireObjectEntry(long objectEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) fetchManyToOneObjectEntry(long groupId, long objectRelationshipId, long primaryKey) fetchObjectEntry(long objectEntryId) fetchObjectEntry(String externalReferenceCode, long groupId, long objectDefinitionId) getManyToManyObjectEntries(long groupId, long objectRelationshipId, long primaryKey, boolean related, boolean reverse, String search, int start, int end) intgetManyToManyObjectEntriesCount(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 groupId, long objectDefinitionId) getOneToManyObjectEntries(long groupId, long objectRelationshipId, com.liferay.petra.sql.dsl.expression.Predicate predicate, boolean preferApproved, long primaryKey, boolean related, String search, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) intgetOneToManyObjectEntriesCount(long groupId, long objectRelationshipId, com.liferay.petra.sql.dsl.expression.Predicate predicate, long primaryKey, boolean related, String search) getOrAddEmptyObjectEntry(String externalReferenceCode, long groupId, long objectDefinitionId) Returns the OSGi service identifier.booleanhasModelResourcePermission(long objectDefinitionId, long objectEntryId, String actionId) booleanhasModelResourcePermission(ObjectEntry objectEntry, String actionId) booleanhasModelResourcePermission(com.liferay.portal.kernel.model.User user, long objectEntryId, String actionId) booleanhasPortletResourcePermission(long groupId, long objectDefinitionId, String actionId) moveObjectEntry(long objectEntryId, long objectEntryFolderId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) moveObjectEntryToTrash(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) partialUpdateObjectEntry(long objectEntryId, long objectEntryFolderId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) restoreObjectEntryFromTrash(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidsubscribeObjectEntry(long groupId, long objectEntryId) voidunsubscribeObjectEntry(long objectEntryId) updateObjectEntry(long objectEntryId, long objectEntryFolderId, Map<String, Serializable> values, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidvalidate(long groupId, ObjectEntry objectEntry, List<String> objectValidationRuleExternalReferenceCodes, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addObjectEntry
ObjectEntry addObjectEntry(long groupId, long objectDefinitionId, long objectEntryFolderId, String defaultLanguageId, 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, long objectEntryFolderId, 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
-
copyObjectEntry
ObjectEntry copyObjectEntry(long objectEntryId, long objectEntryFolderId, 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
-
deleteObjectEntry
ObjectEntry deleteObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
expireObjectEntry
ObjectEntry expireObjectEntry(long objectEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) 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
-
fetchObjectEntry
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectEntry fetchObjectEntry(String externalReferenceCode, long groupId, long objectDefinitionId) 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 groupId, long objectDefinitionId) 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, com.liferay.petra.sql.dsl.expression.Predicate predicate, boolean preferApproved, long primaryKey, boolean related, String search, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) 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, com.liferay.petra.sql.dsl.expression.Predicate predicate, long primaryKey, boolean related, String search) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrAddEmptyObjectEntry
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectEntry getOrAddEmptyObjectEntry(String externalReferenceCode, long groupId, long objectDefinitionId) 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
-
moveObjectEntry
ObjectEntry moveObjectEntry(long objectEntryId, long objectEntryFolderId, 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
-
moveObjectEntryToTrash
ObjectEntry moveObjectEntryToTrash(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
partialUpdateObjectEntry
ObjectEntry partialUpdateObjectEntry(long objectEntryId, long objectEntryFolderId, 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
-
restoreObjectEntryFromTrash
ObjectEntry restoreObjectEntryFromTrash(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeObjectEntry
void subscribeObjectEntry(long groupId, long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeObjectEntry
void unsubscribeObjectEntry(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateObjectEntry
ObjectEntry updateObjectEntry(long objectEntryId, long objectEntryFolderId, 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
-
validate
void validate(long groupId, ObjectEntry objectEntry, List<String> objectValidationRuleExternalReferenceCodes, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-