Package com.liferay.list.type.service
Interface ListTypeDefinitionService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
ListTypeDefinitionServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface ListTypeDefinitionService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for ListTypeDefinition. 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 TypeMethodDescriptionaddListTypeDefinition
(String externalReferenceCode, Map<Locale, String> nameMap, boolean system, List<ListTypeEntry> listTypeEntries) deleteListTypeDefinition
(long listTypeDefinitionId) deleteListTypeDefinition
(ListTypeDefinition listTypeDefinition) fetchListTypeDefinitionByExternalReferenceCode
(String externalReferenceCode, long companyId) getListTypeDefinition
(long listTypeDefinitionId) getListTypeDefinitionByExternalReferenceCode
(String externalReferenceCode, long companyId) getListTypeDefinitions
(int start, int end) int
Returns the OSGi service identifier.updateListTypeDefinition
(String externalReferenceCode, long listTypeDefinitionId, Map<Locale, String> nameMap, List<ListTypeEntry> listTypeEntries)
-
Method Details
-
addListTypeDefinition
ListTypeDefinition addListTypeDefinition(String externalReferenceCode, Map<Locale, String> nameMap, boolean system, List<ListTypeEntry> listTypeEntries) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteListTypeDefinition
ListTypeDefinition deleteListTypeDefinition(ListTypeDefinition listTypeDefinition) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteListTypeDefinition
ListTypeDefinition deleteListTypeDefinition(long listTypeDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchListTypeDefinitionByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) ListTypeDefinition fetchListTypeDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getListTypeDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) ListTypeDefinition getListTypeDefinition(long listTypeDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getListTypeDefinitionByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) ListTypeDefinition getListTypeDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getListTypeDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<ListTypeDefinition> getListTypeDefinitions(int start, int end) -
getListTypeDefinitionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getListTypeDefinitionsCount() -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateListTypeDefinition
ListTypeDefinition updateListTypeDefinition(String externalReferenceCode, long listTypeDefinitionId, Map<Locale, String> nameMap, List<ListTypeEntry> listTypeEntries) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-