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