Liferay 7.0-ce-b4

com.liferay.portlet.expando.service
Class ExpandoColumnServiceUtil

java.lang.Object
  extended by com.liferay.portlet.expando.service.ExpandoColumnServiceUtil

@ProviderType
public class ExpandoColumnServiceUtil
extends Object

Provides the remote service utility for ExpandoColumn. This utility wraps com.liferay.portlet.expando.service.impl.ExpandoColumnServiceImpl and is the primary 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.

See Also:
ExpandoColumnService, com.liferay.portlet.expando.service.base.ExpandoColumnServiceBaseImpl, com.liferay.portlet.expando.service.impl.ExpandoColumnServiceImpl

Constructor Summary
ExpandoColumnServiceUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoColumnServiceUtil

public ExpandoColumnServiceUtil()
Method Detail

addColumn

public static ExpandoColumn addColumn(long tableId,
                                      String name,
                                      int type)
                               throws PortalException
Throws:
PortalException

addColumn

public static ExpandoColumn addColumn(long tableId,
                                      String name,
                                      int type,
                                      Object defaultData)
                               throws PortalException
Throws:
PortalException

deleteColumn

public static void deleteColumn(long columnId)
                         throws PortalException
Throws:
PortalException

fetchExpandoColumn

public static ExpandoColumn fetchExpandoColumn(long columnId)
                                        throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String 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

public static ExpandoColumnService getService()

Liferay 7.0-ce-b4