com.liferay.portlet.expando.service
Interface ExpandoColumnLocalService

All Known Implementing Classes:
ExpandoColumnLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.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
Generated:

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(ExpandoColumn column)
           
 void deleteColumn(long columnId)
           
 void deleteColumn(long companyId, long classNameId, java.lang.String tableName, java.lang.String name)
           
 void deleteColumn(long tableId, java.lang.String name)
           
 void deleteColumn(long companyId, java.lang.String className, java.lang.String tableName, java.lang.String name)
           
 void deleteColumns(long tableId)
           
 void deleteColumns(long companyId, long classNameId, java.lang.String tableName)
           
 void deleteColumns(long companyId, 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 companyId, long classNameId, java.lang.String tableName, java.lang.String name)
           
 ExpandoColumn getColumn(long tableId, java.lang.String name)
           
 ExpandoColumn getColumn(long companyId, 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 companyId, long classNameId, java.lang.String tableName)
           
 java.util.List<ExpandoColumn> getColumns(long companyId, java.lang.String className, java.lang.String tableName)
           
 int getColumnsCount(long tableId)
           
 int getColumnsCount(long companyId, long classNameId, java.lang.String tableName)
           
 int getColumnsCount(long companyId, java.lang.String className, java.lang.String tableName)
           
 ExpandoColumn getDefaultTableColumn(long companyId, long classNameId, java.lang.String name)
           
 ExpandoColumn getDefaultTableColumn(long companyId, java.lang.String className, java.lang.String name)
           
 java.util.List<ExpandoColumn> getDefaultTableColumns(long companyId, long classNameId)
           
 java.util.List<ExpandoColumn> getDefaultTableColumns(long companyId, java.lang.String className)
           
 int getDefaultTableColumnsCount(long companyId, long classNameId)
           
 int getDefaultTableColumnsCount(long companyId, 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 updateExpandoColumn(ExpandoColumn expandoColumn, boolean merge)
           
 ExpandoColumn updateTypeSettings(long columnId, java.lang.String typeSettings)
           
 

Method Detail

addExpandoColumn

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

createExpandoColumn

ExpandoColumn createExpandoColumn(long columnId)

deleteExpandoColumn

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

deleteExpandoColumn

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

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getExpandoColumn

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

getExpandoColumns

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

getExpandoColumnsCount

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

updateExpandoColumn

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

updateExpandoColumn

ExpandoColumn updateExpandoColumn(ExpandoColumn expandoColumn,
                                  boolean merge)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addColumn

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

addColumn

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

deleteColumn

void deleteColumn(ExpandoColumn column)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteColumn

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

deleteColumn

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

deleteColumn

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

deleteColumn

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

deleteColumns

void deleteColumns(long tableId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteColumns

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

deleteColumns

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

getColumn

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

getColumn

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

getColumn

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

getColumn

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

getColumns

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

getColumns

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

getColumns

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

getColumnsCount

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

getColumnsCount

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

getColumnsCount

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

getDefaultTableColumn

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

getDefaultTableColumn

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

getDefaultTableColumns

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

getDefaultTableColumns

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

getDefaultTableColumnsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDefaultTableColumnsCount(long companyId,
                                              long classNameId)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDefaultTableColumnsCount

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

updateColumn

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

updateColumn

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

updateTypeSettings

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