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 ExpandoColumnstatic ExpandoColumnstatic voiddeleteColumn(long columnId) static ExpandoColumnfetchExpandoColumn(long columnId) static StringReturns the OSGi service identifier.static ExpandoColumnServicestatic voidsetService(ExpandoColumnService service) static ExpandoColumnupdateColumn(long columnId, String name, int type) static ExpandoColumnupdateColumn(long columnId, String name, int type, Object defaultData) static ExpandoColumnupdateTypeSettings(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
-