public class ExpandoColumnServiceUtil
extends Object
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.ExpandoColumnService
Constructor and Description |
---|
ExpandoColumnServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static ExpandoColumn |
addColumn(long tableId,
String name,
int type) |
static ExpandoColumn |
addColumn(long tableId,
String name,
int type,
Object defaultData) |
static void |
deleteColumn(long columnId) |
static ExpandoColumn |
fetchExpandoColumn(long columnId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ExpandoColumnService |
getService() |
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) |
public static ExpandoColumn addColumn(long tableId, String name, int type) throws PortalException
PortalException
public static ExpandoColumn addColumn(long tableId, String name, int type, Object defaultData) throws PortalException
PortalException
public static void deleteColumn(long columnId) throws PortalException
PortalException
public static ExpandoColumn fetchExpandoColumn(long columnId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static ExpandoColumn updateColumn(long columnId, String name, int type) throws PortalException
PortalException
public static ExpandoColumn updateColumn(long columnId, String name, int type, Object defaultData) throws PortalException
PortalException
public static ExpandoColumn updateTypeSettings(long columnId, String typeSettings) throws PortalException
PortalException
public static ExpandoColumnService getService()