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