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

All Superinterfaces:
BasePersistence<ExpandoTable>

public interface ExpandoTablePersistence
extends BasePersistence<ExpandoTable>

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:
ExpandoTablePersistenceImpl, ExpandoTableUtil
Generated:

Method Summary
 void cacheResult(ExpandoTable expandoTable)
           
 void cacheResult(java.util.List<ExpandoTable> expandoTables)
           
 int countAll()
           
 int countByC_C_N(long companyId, long classNameId, java.lang.String name)
           
 int countByC_C(long companyId, long classNameId)
           
 ExpandoTable create(long tableId)
           
 ExpandoTable fetchByC_C_N(long companyId, long classNameId, java.lang.String name)
           
 ExpandoTable fetchByC_C_N(long companyId, long classNameId, java.lang.String name, boolean retrieveFromCache)
           
 ExpandoTable fetchByPrimaryKey(long tableId)
           
 java.util.List<ExpandoTable> findAll()
           
 java.util.List<ExpandoTable> findAll(int start, int end)
           
 java.util.List<ExpandoTable> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoTable findByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoTable findByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoTable findByC_C_N(long companyId, long classNameId, java.lang.String name)
           
 ExpandoTable[] findByC_C_PrevAndNext(long tableId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<ExpandoTable> findByC_C(long companyId, long classNameId)
           
 java.util.List<ExpandoTable> findByC_C(long companyId, long classNameId, int start, int end)
           
 java.util.List<ExpandoTable> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 ExpandoTable findByPrimaryKey(long tableId)
           
 ExpandoTable remove(long tableId)
           
 void removeAll()
           
 void removeByC_C_N(long companyId, long classNameId, java.lang.String name)
           
 void removeByC_C(long companyId, long classNameId)
           
 ExpandoTable update(ExpandoTable expandoTable)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 ExpandoTable updateImpl(ExpandoTable expandoTable, 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(ExpandoTable expandoTable)

cacheResult

void cacheResult(java.util.List<ExpandoTable> expandoTables)

create

ExpandoTable create(long tableId)

remove

ExpandoTable remove(long tableId)
                    throws com.liferay.portal.SystemException,
                           NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

update

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

Throws:
com.liferay.portal.SystemException

updateImpl

ExpandoTable updateImpl(ExpandoTable expandoTable,
                        boolean merge)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

ExpandoTable findByPrimaryKey(long tableId)
                              throws com.liferay.portal.SystemException,
                                     NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

fetchByPrimaryKey

ExpandoTable fetchByPrimaryKey(long tableId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

java.util.List<ExpandoTable> findByC_C(long companyId,
                                       long classNameId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

java.util.List<ExpandoTable> findByC_C(long companyId,
                                       long classNameId,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

java.util.List<ExpandoTable> findByC_C(long companyId,
                                       long classNameId,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C_First

ExpandoTable findByC_C_First(long companyId,
                             long classNameId,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByC_C_Last

ExpandoTable findByC_C_Last(long companyId,
                            long classNameId,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException,
                                   NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByC_C_PrevAndNext

ExpandoTable[] findByC_C_PrevAndNext(long tableId,
                                     long companyId,
                                     long classNameId,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByC_C_N

ExpandoTable findByC_C_N(long companyId,
                         long classNameId,
                         java.lang.String name)
                         throws com.liferay.portal.SystemException,
                                NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

fetchByC_C_N

ExpandoTable fetchByC_C_N(long companyId,
                          long classNameId,
                          java.lang.String name)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_C_N

ExpandoTable fetchByC_C_N(long companyId,
                          long classNameId,
                          java.lang.String name,
                          boolean retrieveFromCache)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByC_C

void removeByC_C(long companyId,
                 long classNameId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C_N

void removeByC_C_N(long companyId,
                   long classNameId,
                   java.lang.String name)
                   throws com.liferay.portal.SystemException,
                          NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

removeAll

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

countByC_C

int countByC_C(long companyId,
               long classNameId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C_N

int countByC_C_N(long companyId,
                 long classNameId,
                 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