1
22
23 package com.liferay.portal.service;
24
25 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
26
27
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 com.liferay.portal.model.ClassName updateClassName(
107 com.liferay.portal.model.ClassName className, boolean merge)
108 throws com.liferay.portal.SystemException {
109 return getService().updateClassName(className, merge);
110 }
111
112 public static com.liferay.portal.model.ClassName addClassName(
113 java.lang.String value) throws com.liferay.portal.SystemException {
114 return getService().addClassName(value);
115 }
116
117 public static void checkClassNames()
118 throws com.liferay.portal.SystemException {
119 getService().checkClassNames();
120 }
121
122 public static com.liferay.portal.model.ClassName getClassName(
123 java.lang.String value) throws com.liferay.portal.SystemException {
124 return getService().getClassName(value);
125 }
126
127 public static long getClassNameId(java.lang.Class<?> classObj) {
128 return getService().getClassNameId(classObj);
129 }
130
131 public static long getClassNameId(java.lang.String value) {
132 return getService().getClassNameId(value);
133 }
134
135 public static ClassNameLocalService getService() {
136 if (_service == null) {
137 _service = (ClassNameLocalService)PortalBeanLocatorUtil.locate(ClassNameLocalService.class.getName());
138 }
139
140 return _service;
141 }
142
143 public void setService(ClassNameLocalService service) {
144 _service = service;
145 }
146
147 private static ClassNameLocalService _service;
148 }