com.liferay.portlet.expando.service.persistence
Interface ExpandoColumnPersistence

All Superinterfaces:
BasePersistence<ExpandoColumn>

public interface ExpandoColumnPersistence
extends BasePersistence<ExpandoColumn>

View Source

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

Author:
Brian Wing Shun Chan
See Also:
ExpandoColumnPersistenceImpl, ExpandoColumnUtil
Generated:

Method Summary
 void cacheResult(ExpandoColumn expandoColumn)
           
 void cacheResult(java.util.List<ExpandoColumn> expandoColumns)
           
 int countAll()
           
 int countByT_N(long tableId, java.lang.String name)
           
 int countByTableId(long tableId)
           
 ExpandoColumn create(long columnId)
           
 ExpandoColumn fetchByPrimaryKey(long columnId)
           
 ExpandoColumn fetchByT_N(long tableId, java.lang.String name)
           
 ExpandoColumn fetchByT_N(long tableId, java.lang.String name, boolean retrieveFromCache)
           
 java.util.List<ExpandoColumn> findAll()
           
 java.util.List<ExpandoColumn> findAll(int start, int end)
           
 java.util.List<ExpandoColumn> findAll(int start, int end, OrderByComparator orderByComparator)
           
 ExpandoColumn findByPrimaryKey(long columnId)
           
 ExpandoColumn findByT_N(long tableId, java.lang.String name)
           
 ExpandoColumn findByTableId_First(long tableId, OrderByComparator orderByComparator)
           
 ExpandoColumn findByTableId_Last(long tableId, OrderByComparator orderByComparator)
           
 ExpandoColumn[] findByTableId_PrevAndNext(long columnId, long tableId, OrderByComparator orderByComparator)
           
 java.util.List<ExpandoColumn> findByTableId(long tableId)
           
 java.util.List<ExpandoColumn> findByTableId(long tableId, int start, int end)
           
 java.util.List<ExpandoColumn> findByTableId(long tableId, int start, int end, OrderByComparator orderByComparator)
           
 ExpandoColumn remove(long columnId)
           
 void removeAll()
           
 void removeByT_N(long tableId, java.lang.String name)
           
 void removeByTableId(long tableId)
           
 ExpandoColumn updateImpl(ExpandoColumn expandoColumn, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(ExpandoColumn expandoColumn)

cacheResult

void cacheResult(java.util.List<ExpandoColumn> expandoColumns)

create

ExpandoColumn create(long columnId)

remove

ExpandoColumn remove(long columnId)
                     throws SystemException,
                            NoSuchColumnException
Throws:
SystemException
NoSuchColumnException

updateImpl

ExpandoColumn updateImpl(ExpandoColumn expandoColumn,
                         boolean merge)
                         throws SystemException
Throws:
SystemException

findByPrimaryKey

ExpandoColumn findByPrimaryKey(long columnId)
                               throws SystemException,
                                      NoSuchColumnException
Throws:
SystemException
NoSuchColumnException

fetchByPrimaryKey

ExpandoColumn fetchByPrimaryKey(long columnId)
                                throws SystemException
Throws:
SystemException

findByTableId

java.util.List<ExpandoColumn> findByTableId(long tableId)
                                            throws SystemException
Throws:
SystemException

findByTableId

java.util.List<ExpandoColumn> findByTableId(long tableId,
                                            int start,
                                            int end)
                                            throws SystemException
Throws:
SystemException

findByTableId

java.util.List<ExpandoColumn> findByTableId(long tableId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Throws:
SystemException

findByTableId_First

ExpandoColumn findByTableId_First(long tableId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchColumnException
Throws:
SystemException
NoSuchColumnException

findByTableId_Last

ExpandoColumn findByTableId_Last(long tableId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchColumnException
Throws:
SystemException
NoSuchColumnException

findByTableId_PrevAndNext

ExpandoColumn[] findByTableId_PrevAndNext(long columnId,
                                          long tableId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchColumnException
Throws:
SystemException
NoSuchColumnException

findByT_N

ExpandoColumn findByT_N(long tableId,
                        java.lang.String name)
                        throws SystemException,
                               NoSuchColumnException
Throws:
SystemException
NoSuchColumnException

fetchByT_N

ExpandoColumn fetchByT_N(long tableId,
                         java.lang.String name)
                         throws SystemException
Throws:
SystemException

fetchByT_N

ExpandoColumn fetchByT_N(long tableId,
                         java.lang.String name,
                         boolean retrieveFromCache)
                         throws SystemException
Throws:
SystemException

findAll

java.util.List<ExpandoColumn> findAll()
                                      throws SystemException
Throws:
SystemException

findAll

java.util.List<ExpandoColumn> findAll(int start,
                                      int end)
                                      throws SystemException
Throws:
SystemException

findAll

java.util.List<ExpandoColumn> findAll(int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Throws:
SystemException

removeByTableId

void removeByTableId(long tableId)
                     throws SystemException
Throws:
SystemException

removeByT_N

void removeByT_N(long tableId,
                 java.lang.String name)
                 throws SystemException,
                        NoSuchColumnException
Throws:
SystemException
NoSuchColumnException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByTableId

int countByTableId(long tableId)
                   throws SystemException
Throws:
SystemException

countByT_N

int countByT_N(long tableId,
               java.lang.String name)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException