1
19
20 package com.liferay.portal.service;
21
22
23
44 public class ClassNameLocalServiceUtil {
45 public static com.liferay.portal.model.ClassName addClassName(
46 com.liferay.portal.model.ClassName className)
47 throws com.liferay.portal.SystemException {
48 return getService().addClassName(className);
49 }
50
51 public static com.liferay.portal.model.ClassName createClassName(
52 long classNameId) {
53 return getService().createClassName(classNameId);
54 }
55
56 public static void deleteClassName(long classNameId)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException {
59 getService().deleteClassName(classNameId);
60 }
61
62 public static void deleteClassName(
63 com.liferay.portal.model.ClassName className)
64 throws com.liferay.portal.SystemException {
65 getService().deleteClassName(className);
66 }
67
68 public static java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
70 throws com.liferay.portal.SystemException {
71 return getService().dynamicQuery(dynamicQuery);
72 }
73
74 public static java.util.List<Object> dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end) throws com.liferay.portal.SystemException {
77 return getService().dynamicQuery(dynamicQuery, start, end);
78 }
79
80 public static com.liferay.portal.model.ClassName getClassName(
81 long classNameId)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException {
84 return getService().getClassName(classNameId);
85 }
86
87 public static java.util.List<com.liferay.portal.model.ClassName> getClassNames(
88 int start, int end) throws com.liferay.portal.SystemException {
89 return getService().getClassNames(start, end);
90 }
91
92 public static int getClassNamesCount()
93 throws com.liferay.portal.SystemException {
94 return getService().getClassNamesCount();
95 }
96
97 public static com.liferay.portal.model.ClassName updateClassName(
98 com.liferay.portal.model.ClassName className)
99 throws com.liferay.portal.SystemException {
100 return getService().updateClassName(className);
101 }
102
103 public static void checkClassNames()
104 throws com.liferay.portal.SystemException {
105 getService().checkClassNames();
106 }
107
108 public static com.liferay.portal.model.ClassName getClassName(
109 java.lang.String value) throws com.liferay.portal.SystemException {
110 return getService().getClassName(value);
111 }
112
113 public static ClassNameLocalService getService() {
114 if (_service == null) {
115 throw new RuntimeException("ClassNameLocalService is not set");
116 }
117
118 return _service;
119 }
120
121 public void setService(ClassNameLocalService service) {
122 _service = service;
123 }
124
125 private static ClassNameLocalService _service;
126 }