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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoColumn findByPrimaryKey(long columnId)
           
 ExpandoColumn findByT_N(long tableId, java.lang.String name)
           
 ExpandoColumn findByTableId_First(long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoColumn findByTableId_Last(long tableId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoColumn[] findByTableId_PrevAndNext(long columnId, long tableId, com.liferay.portal.kernel.util.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, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoColumn remove(long columnId)
           
 void removeAll()
           
 void removeByT_N(long tableId, java.lang.String name)
           
 void removeByTableId(long tableId)
           
 ExpandoColumn update(ExpandoColumn expandoColumn)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 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 com.liferay.portal.SystemException,
                            NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

update

ExpandoColumn update(ExpandoColumn expandoColumn)
                     throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

ExpandoColumn updateImpl(ExpandoColumn expandoColumn,
                         boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

ExpandoColumn findByPrimaryKey(long columnId)
                               throws com.liferay.portal.SystemException,
                                      NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

fetchByPrimaryKey

ExpandoColumn fetchByPrimaryKey(long columnId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTableId

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

findByTableId

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

findByTableId

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

findByTableId_First

ExpandoColumn findByTableId_First(long tableId,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

findByTableId_Last

ExpandoColumn findByTableId_Last(long tableId,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

findByTableId_PrevAndNext

ExpandoColumn[] findByTableId_PrevAndNext(long columnId,
                                          long tableId,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchColumnException
Throws:
com.liferay.portal.SystemException
NoSuchColumnException

findByT_N

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

fetchByT_N

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

fetchByT_N

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

findAll

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

findAll

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

findAll

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

removeByTableId

void removeByTableId(long tableId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByT_N

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

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByTableId

int countByTableId(long tableId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByT_N

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

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException