Liferay 7.0-ce-b4

com.liferay.portlet.expando.service
Interface ExpandoColumnService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ExpandoColumnServiceBaseImpl, ExpandoColumnServiceImpl, ExpandoColumnServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ExpandoColumnService
extends BaseService

Provides the remote service interface for ExpandoColumn. 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:
ExpandoColumnServiceUtil, ExpandoColumnServiceBaseImpl, ExpandoColumnServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 ExpandoColumn addColumn(long tableId, String name, int type)
           
 ExpandoColumn addColumn(long tableId, String name, int type, Object defaultData)
           
 void deleteColumn(long columnId)
           
 ExpandoColumn fetchExpandoColumn(long columnId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 ExpandoColumn updateColumn(long columnId, String name, int type)
           
 ExpandoColumn updateColumn(long columnId, String name, int type, Object defaultData)
           
 ExpandoColumn updateTypeSettings(long columnId, String typeSettings)
           
 

Method Detail

addColumn

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

addColumn

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

deleteColumn

void deleteColumn(long columnId)
                  throws PortalException
Throws:
PortalException

fetchExpandoColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn fetchExpandoColumn(long columnId)
                                 throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

updateColumn

ExpandoColumn updateColumn(long columnId,
                           String name,
                           int type)
                           throws PortalException
Throws:
PortalException

updateColumn

ExpandoColumn updateColumn(long columnId,
                           String name,
                           int type,
                           Object defaultData)
                           throws PortalException
Throws:
PortalException

updateTypeSettings

ExpandoColumn updateTypeSettings(long columnId,
                                 String typeSettings)
                                 throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4