1
14
15 package com.liferay.portal.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Propagation;
21 import com.liferay.portal.kernel.annotation.Transactional;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface ListTypeService {
50 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
51 public com.liferay.portal.model.ListType getListType(int listTypeId)
52 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException;
54
55 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
56 public java.util.List<com.liferay.portal.model.ListType> getListTypes(
57 java.lang.String type)
58 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
59
60 public void validate(int listTypeId, java.lang.String type)
61 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException;
63
64 public void validate(int listTypeId, long classNameId, java.lang.String type)
65 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67 }