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 com.liferay.portal.model.ClassName updateClassName(
104 com.liferay.portal.model.ClassName className, boolean merge)
105 throws com.liferay.portal.SystemException {
106 return getService().updateClassName(className, merge);
107 }
108
109 public static com.liferay.portal.model.ClassName addClassName(
110 java.lang.String value) throws com.liferay.portal.SystemException {
111 return getService().addClassName(value);
112 }
113
114 public static void checkClassNames()
115 throws com.liferay.portal.SystemException {
116 getService().checkClassNames();
117 }
118
119 public static com.liferay.portal.model.ClassName getClassName(
120 java.lang.String value) throws com.liferay.portal.SystemException {
121 return getService().getClassName(value);
122 }
123
124 public static long getClassNameId(java.lang.Class<?> classObj) {
125 return getService().getClassNameId(classObj);
126 }
127
128 public static long getClassNameId(java.lang.String value) {
129 return getService().getClassNameId(value);
130 }
131
132 public static ClassNameLocalService getService() {
133 if (_service == null) {
134 throw new RuntimeException("ClassNameLocalService is not set");
135 }
136
137 return _service;
138 }
139
140 public void setService(ClassNameLocalService service) {
141 _service = service;
142 }
143
144 private static ClassNameLocalService _service;
145 }