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
034 public class ListTypeServiceUtil {
035
040
041
046 public static java.lang.String getBeanIdentifier() {
047 return getService().getBeanIdentifier();
048 }
049
050
055 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
056 getService().setBeanIdentifier(beanIdentifier);
057 }
058
059 public static com.liferay.portal.model.ListType getListType(int listTypeId)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return getService().getListType(listTypeId);
063 }
064
065 public static java.util.List<com.liferay.portal.model.ListType> getListTypes(
066 java.lang.String type)
067 throws com.liferay.portal.kernel.exception.SystemException {
068 return getService().getListTypes(type);
069 }
070
071 public static void validate(int listTypeId, long classNameId,
072 java.lang.String type)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 getService().validate(listTypeId, classNameId, type);
076 }
077
078 public static void validate(int listTypeId, java.lang.String type)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException {
081 getService().validate(listTypeId, type);
082 }
083
084 public static ListTypeService getService() {
085 if (_service == null) {
086 _service = (ListTypeService)PortalBeanLocatorUtil.locate(ListTypeService.class.getName());
087
088 ReferenceRegistry.registerReference(ListTypeServiceUtil.class,
089 "_service");
090 }
091
092 return _service;
093 }
094
095
098 public void setService(ListTypeService service) {
099 }
100
101 private static ListTypeService _service;
102 }