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

All Superinterfaces:
BasePersistence

public interface ExpandoTablePersistence
extends BasePersistence

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

Method Summary
 void cacheResult(ExpandoTable expandoTable)
           
 void cacheResult(java.util.List<ExpandoTable> expandoTables)
           
 void clearCache()
           
 int countAll()
           
 int countByC_N(long classNameId, java.lang.String name)
           
 int countByClassNameId(long classNameId)
           
 ExpandoTable create(long tableId)
           
 ExpandoTable fetchByC_N(long classNameId, java.lang.String name)
           
 ExpandoTable fetchByC_N(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 obc)
           
 ExpandoTable findByC_N(long classNameId, java.lang.String name)
           
 ExpandoTable findByClassNameId_First(long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoTable findByClassNameId_Last(long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoTable[] findByClassNameId_PrevAndNext(long tableId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ExpandoTable> findByClassNameId(long classNameId)
           
 java.util.List<ExpandoTable> findByClassNameId(long classNameId, int start, int end)
           
 java.util.List<ExpandoTable> findByClassNameId(long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoTable findByPrimaryKey(long tableId)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 ExpandoTable remove(ExpandoTable expandoTable)
           
 ExpandoTable remove(long tableId)
           
 void removeAll()
           
 void removeByC_N(long classNameId, java.lang.String name)
           
 void removeByClassNameId(long classNameId)
           
 ExpandoTable update(ExpandoTable expandoTable)
          Deprecated. Use update(ExpandoTable, boolean merge).
 ExpandoTable update(ExpandoTable expandoTable, boolean merge)
          Add, update, or merge, the entity.
 ExpandoTable updateImpl(ExpandoTable expandoTable, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(ExpandoTable expandoTable)

cacheResult

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

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

ExpandoTable create(long tableId)

remove

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

remove

ExpandoTable remove(ExpandoTable expandoTable)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

ExpandoTable update(ExpandoTable expandoTable)
                    throws com.liferay.portal.SystemException
Deprecated. Use update(ExpandoTable, boolean merge).

Throws:
com.liferay.portal.SystemException

update

ExpandoTable update(ExpandoTable expandoTable,
                    boolean merge)
                    throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
expandoTable - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when expandoTable is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
the entity that was added, updated, or merged
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

findByClassNameId

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

findByClassNameId

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

findByClassNameId

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

findByClassNameId_First

ExpandoTable findByClassNameId_First(long classNameId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByClassNameId_Last

ExpandoTable findByClassNameId_Last(long classNameId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchTableException
Throws:
com.liferay.portal.SystemException
NoSuchTableException

findByClassNameId_PrevAndNext

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

findByC_N

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

fetchByC_N

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

fetchByC_N

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

findWithDynamicQuery

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

findWithDynamicQuery

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

removeByClassNameId

void removeByClassNameId(long classNameId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_N

void removeByC_N(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

countByClassNameId

int countByClassNameId(long classNameId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_N

int countByC_N(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