Class ExpandoColumnServiceUtil
Object
com.liferay.expando.kernel.service.ExpandoColumnServiceUtil
Provides the remote service utility for ExpandoColumn. This utility wraps
com.liferay.portlet.expando.service.impl.ExpandoColumnServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpandoColumn
static ExpandoColumn
static void
deleteColumn
(long columnId) static ExpandoColumn
fetchExpandoColumn
(long columnId) static String
Returns the OSGi service identifier.static ExpandoColumnService
static void
setService
(ExpandoColumnService service) static ExpandoColumn
updateColumn
(long columnId, String name, int type) static ExpandoColumn
updateColumn
(long columnId, String name, int type, Object defaultData) static ExpandoColumn
updateTypeSettings
(long columnId, String typeSettings)
-
Constructor Details
-
ExpandoColumnServiceUtil
public ExpandoColumnServiceUtil()
-
-
Method Details
-
addColumn
- Throws:
PortalException
-
addColumn
public static ExpandoColumn addColumn(long tableId, String name, int type, Object defaultData) throws PortalException - Throws:
PortalException
-
deleteColumn
- Throws:
PortalException
-
fetchExpandoColumn
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateColumn
public static ExpandoColumn updateColumn(long columnId, String name, int type) throws PortalException - Throws:
PortalException
-
updateColumn
public static ExpandoColumn updateColumn(long columnId, String name, int type, Object defaultData) throws PortalException - Throws:
PortalException
-
updateTypeSettings
public static ExpandoColumn updateTypeSettings(long columnId, String typeSettings) throws PortalException - Throws:
PortalException
-
getService
-
setService
-