com.liferay.portlet.expando.service
Interface ExpandoColumnService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ExpandoColumnService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.expando.service.impl.ExpandoColumnServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. 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:
ExpandoColumnServiceUtil

Method Summary
 ExpandoColumn addColumn(long tableId, java.lang.String name, int type)
           
 ExpandoColumn addColumn(long tableId, java.lang.String name, int type, java.lang.Object defaultData)
           
 void deleteColumn(long columnId)
           
 ExpandoColumn updateColumn(long columnId, java.lang.String name, int type)
           
 ExpandoColumn updateColumn(long columnId, java.lang.String name, int type, java.lang.Object defaultData)
           
 ExpandoColumn updateTypeSettings(long columnId, java.lang.String typeSettings)
           
 

Method Detail

addColumn

ExpandoColumn addColumn(long tableId,
                        java.lang.String name,
                        int type)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addColumn

ExpandoColumn addColumn(long tableId,
                        java.lang.String name,
                        int type,
                        java.lang.Object defaultData)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteColumn

void deleteColumn(long columnId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateColumn

ExpandoColumn updateColumn(long columnId,
                           java.lang.String name,
                           int type)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateColumn

ExpandoColumn updateColumn(long columnId,
                           java.lang.String name,
                           int type,
                           java.lang.Object defaultData)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateTypeSettings

ExpandoColumn updateTypeSettings(long columnId,
                                 java.lang.String typeSettings)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException