com.liferay.portlet.expando.service
Interface ExpandoColumnLocalService


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

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.ExpandoColumnLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
ExpandoColumnLocalServiceUtil

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)
           
 ExpandoColumn addExpandoColumn(ExpandoColumn expandoColumn)
           
 ExpandoColumn createExpandoColumn(long columnId)
           
 void deleteColumn(long columnId)
           
 void deleteColumn(long tableId, java.lang.String name)
           
 void deleteColumn(long classNameId, java.lang.String tableName, java.lang.String name)
           
 void deleteColumn(java.lang.String className, java.lang.String tableName, java.lang.String name)
           
 void deleteColumns(long tableId)
           
 void deleteColumns(long classNameId, java.lang.String tableName)
           
 void deleteColumns(java.lang.String className, java.lang.String tableName)
           
 void deleteExpandoColumn(ExpandoColumn expandoColumn)
           
 void deleteExpandoColumn(long columnId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 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 getExpandoColumn(long columnId)
           
 java.util.List<ExpandoColumn> getExpandoColumns(int start, int end)
           
 int getExpandoColumnsCount()
           
 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 updateExpandoColumn(ExpandoColumn expandoColumn)
           
 ExpandoColumn updateTypeSettings(long columnId, java.lang.String typeSettings)
           
 

Method Detail

addExpandoColumn

ExpandoColumn addExpandoColumn(ExpandoColumn expandoColumn)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createExpandoColumn

ExpandoColumn createExpandoColumn(long columnId)

deleteExpandoColumn

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

deleteExpandoColumn

void deleteExpandoColumn(ExpandoColumn expandoColumn)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getExpandoColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn getExpandoColumn(long columnId)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getExpandoColumns

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ExpandoColumn> getExpandoColumns(int start,
                                                              int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getExpandoColumnsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getExpandoColumnsCount()
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateExpandoColumn

ExpandoColumn updateExpandoColumn(ExpandoColumn expandoColumn)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

deleteColumn

void deleteColumn(long tableId,
                  java.lang.String name)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteColumn

void deleteColumn(java.lang.String className,
                  java.lang.String tableName,
                  java.lang.String name)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteColumn

void deleteColumn(long classNameId,
                  java.lang.String tableName,
                  java.lang.String name)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteColumns

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

deleteColumns

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

deleteColumns

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

getColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn getColumn(long columnId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn getColumn(long tableId,
                                      java.lang.String name)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn getColumn(java.lang.String className,
                                      java.lang.String tableName,
                                      java.lang.String name)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn getColumn(long classNameId,
                                      java.lang.String tableName,
                                      java.lang.String name)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumns

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ExpandoColumn> getColumns(long tableId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumns

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ExpandoColumn> getColumns(java.lang.String className,
                                                       java.lang.String tableName)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumns

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ExpandoColumn> getColumns(long classNameId,
                                                       java.lang.String tableName)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumnsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getColumnsCount(long tableId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumnsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getColumnsCount(java.lang.String className,
                                  java.lang.String tableName)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumnsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getColumnsCount(long classNameId,
                                  java.lang.String tableName)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn getDefaultTableColumn(java.lang.String className,
                                                  java.lang.String name)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumn

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ExpandoColumn getDefaultTableColumn(long classNameId,
                                                  java.lang.String name)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumns

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ExpandoColumn> getDefaultTableColumns(java.lang.String className)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumns

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ExpandoColumn> getDefaultTableColumns(long classNameId)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumnsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDefaultTableColumnsCount(java.lang.String className)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumnsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDefaultTableColumnsCount(long classNameId)
                                throws com.liferay.portal.SystemException
Throws:
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