Package com.liferay.list.type.service
Class ListTypeDefinitionServiceUtil
java.lang.Object
com.liferay.list.type.service.ListTypeDefinitionServiceUtil
Provides the remote service utility for ListTypeDefinition. This utility wraps
com.liferay.list.type.service.impl.ListTypeDefinitionServiceImpl
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 ListTypeDefinition
addListTypeDefinition
(String externalReferenceCode, Map<Locale, String> nameMap, boolean system, List<ListTypeEntry> listTypeEntries) static ListTypeDefinition
deleteListTypeDefinition
(long listTypeDefinitionId) static ListTypeDefinition
deleteListTypeDefinition
(ListTypeDefinition listTypeDefinition) static ListTypeDefinition
fetchListTypeDefinitionByExternalReferenceCode
(String externalReferenceCode, long companyId) static ListTypeDefinition
getListTypeDefinition
(long listTypeDefinitionId) static ListTypeDefinition
getListTypeDefinitionByExternalReferenceCode
(String externalReferenceCode, long companyId) static List<ListTypeDefinition>
getListTypeDefinitions
(int start, int end) static int
static String
Returns the OSGi service identifier.static ListTypeDefinitionService
static ListTypeDefinition
updateListTypeDefinition
(String externalReferenceCode, long listTypeDefinitionId, Map<Locale, String> nameMap, List<ListTypeEntry> listTypeEntries)
-
Constructor Details
-
ListTypeDefinitionServiceUtil
public ListTypeDefinitionServiceUtil()
-
-
Method Details
-
addListTypeDefinition
public static 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
public static ListTypeDefinition deleteListTypeDefinition(ListTypeDefinition listTypeDefinition) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteListTypeDefinition
public static ListTypeDefinition deleteListTypeDefinition(long listTypeDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchListTypeDefinitionByExternalReferenceCode
public static ListTypeDefinition fetchListTypeDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getListTypeDefinition
public static ListTypeDefinition getListTypeDefinition(long listTypeDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getListTypeDefinitionByExternalReferenceCode
public static ListTypeDefinition getListTypeDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getListTypeDefinitions
-
getListTypeDefinitionsCount
public static int getListTypeDefinitionsCount() -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateListTypeDefinition
public static 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
-
getService
-