001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class ListTypeServiceUtil {
034
039
040
045 public static java.lang.String getBeanIdentifier() {
046 return getService().getBeanIdentifier();
047 }
048
049
054 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
055 getService().setBeanIdentifier(beanIdentifier);
056 }
057
058 public static com.liferay.portal.model.ListType getListType(int listTypeId)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return getService().getListType(listTypeId);
062 }
063
064 public static java.util.List<com.liferay.portal.model.ListType> getListTypes(
065 java.lang.String type)
066 throws com.liferay.portal.kernel.exception.SystemException {
067 return getService().getListTypes(type);
068 }
069
070 public static void validate(int listTypeId, long classNameId,
071 java.lang.String type)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException {
074 getService().validate(listTypeId, classNameId, type);
075 }
076
077 public static void validate(int listTypeId, java.lang.String type)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 getService().validate(listTypeId, type);
081 }
082
083 public static ListTypeService getService() {
084 if (_service == null) {
085 _service = (ListTypeService)PortalBeanLocatorUtil.locate(ListTypeService.class.getName());
086
087 ReferenceRegistry.registerReference(ListTypeServiceUtil.class,
088 "_service");
089 }
090
091 return _service;
092 }
093
094
097 public void setService(ListTypeService service) {
098 }
099
100 private static ListTypeService _service;
101 }