001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023
024
037 @JSONWebService
038 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
039 PortalException.class, SystemException.class})
040 public interface ListTypeService {
041
046 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
047 public com.liferay.portal.model.ListType getListType(int listTypeId)
048 throws com.liferay.portal.kernel.exception.PortalException,
049 com.liferay.portal.kernel.exception.SystemException;
050
051 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
052 public java.util.List<com.liferay.portal.model.ListType> getListTypes(
053 java.lang.String type)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public void validate(int listTypeId, long classNameId, java.lang.String type)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException;
059
060 public void validate(int listTypeId, java.lang.String type)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException;
063 }