com.liferay.portlet.expando.service
Interface ExpandoColumnService


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:
ExpandoColumnServiceFactory, ExpandoColumnServiceUtil

Method Summary
 ExpandoColumn addColumn(long tableId, java.lang.String name, int type)
           
 void deleteColumn(long columnId)
           
 void deleteColumns(long tableId)
           
 void deleteColumns(long classNameId, java.lang.String tableName)
           
 void deleteColumns(java.lang.String className, java.lang.String tableName)
           
 ExpandoColumn getColumn(long columnId)
           
 ExpandoColumn getColumn(long tableId, java.lang.String name)
           
 ExpandoColumn getColumn(long classNameId, java.lang.String tableName, java.lang.String name)
           
 ExpandoColumn getColumn(java.lang.String className, java.lang.String tableName, java.lang.String name)
           
 java.util.List<ExpandoColumn> getColumns(long tableId)
           
 java.util.List<ExpandoColumn> getColumns(long classNameId, java.lang.String tableName)
           
 java.util.List<ExpandoColumn> getColumns(java.lang.String className, java.lang.String tableName)
           
 int getColumnsCount(long tableId)
           
 int getColumnsCount(long classNameId, java.lang.String tableName)
           
 int getColumnsCount(java.lang.String className, java.lang.String tableName)
           
 ExpandoColumn getDefaultTableColumn(long classNameId, java.lang.String name)
           
 ExpandoColumn getDefaultTableColumn(java.lang.String className, java.lang.String name)
           
 java.util.List<ExpandoColumn> getDefaultTableColumns(long classNameId)
           
 java.util.List<ExpandoColumn> getDefaultTableColumns(java.lang.String className)
           
 int getDefaultTableColumnsCount(long classNameId)
           
 int getDefaultTableColumnsCount(java.lang.String className)
           
 ExpandoColumn updateColumn(long columnId, java.lang.String name, int type)
           
 

Method Detail

addColumn

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

deleteColumn

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

deleteColumns

void deleteColumns(long tableId)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteColumns

void deleteColumns(java.lang.String className,
                   java.lang.String tableName)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteColumns

void deleteColumns(long classNameId,
                   java.lang.String tableName)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

ExpandoColumn getColumn(long columnId)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

ExpandoColumn getColumn(long tableId,
                        java.lang.String name)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

ExpandoColumn getColumn(java.lang.String className,
                        java.lang.String tableName,
                        java.lang.String name)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

ExpandoColumn getColumn(long classNameId,
                        java.lang.String tableName,
                        java.lang.String name)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumns

java.util.List<ExpandoColumn> getColumns(long tableId)
                                         throws java.rmi.RemoteException,
                                                com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getColumns

java.util.List<ExpandoColumn> getColumns(java.lang.String className,
                                         java.lang.String tableName)
                                         throws java.rmi.RemoteException,
                                                com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getColumns

java.util.List<ExpandoColumn> getColumns(long classNameId,
                                         java.lang.String tableName)
                                         throws java.rmi.RemoteException,
                                                com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getColumnsCount

int getColumnsCount(long tableId)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getColumnsCount

int getColumnsCount(java.lang.String className,
                    java.lang.String tableName)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getColumnsCount

int getColumnsCount(long classNameId,
                    java.lang.String tableName)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getDefaultTableColumn

ExpandoColumn getDefaultTableColumn(java.lang.String className,
                                    java.lang.String name)
                                    throws java.rmi.RemoteException,
                                           com.liferay.portal.SystemException,
                                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDefaultTableColumn

ExpandoColumn getDefaultTableColumn(long classNameId,
                                    java.lang.String name)
                                    throws java.rmi.RemoteException,
                                           com.liferay.portal.SystemException,
                                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDefaultTableColumns

java.util.List<ExpandoColumn> getDefaultTableColumns(java.lang.String className)
                                                     throws java.rmi.RemoteException,
                                                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getDefaultTableColumns

java.util.List<ExpandoColumn> getDefaultTableColumns(long classNameId)
                                                     throws java.rmi.RemoteException,
                                                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getDefaultTableColumnsCount

int getDefaultTableColumnsCount(java.lang.String className)
                                throws java.rmi.RemoteException,
                                       com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getDefaultTableColumnsCount

int getDefaultTableColumnsCount(long classNameId)
                                throws java.rmi.RemoteException,
                                       com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

updateColumn

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