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


public interface ExpandoValuePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByC_R(long columnId, long rowId)
           
 int countByColumnId(long columnId)
           
 int countByRowId(long rowId)
           
 int countByT_C_C_C(long tableId, long columnId, long classNameId, long classPK)
           
 int countByT_C_R(long tableId, long columnId, long rowId)
           
 int countByT_R(long tableId, long rowId)
           
 int countByTableId(long tableId)
           
 ExpandoValue create(long valueId)
           
 ExpandoValue fetchByC_R(long columnId, long rowId)
           
 ExpandoValue fetchByPrimaryKey(long valueId)
           
 ExpandoValue fetchByT_C_R(long tableId, long columnId, long rowId)
           
 java.util.List<ExpandoValue> findAll()
           
 java.util.List<ExpandoValue> findAll(int start, int end)
           
 java.util.List<ExpandoValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue[] findByC_C_PrevAndNext(long valueId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ExpandoValue> findByC_C(long classNameId, long classPK)
           
 java.util.List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end)
           
 java.util.List<ExpandoValue> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByC_R(long columnId, long rowId)
           
 ExpandoValue findByColumnId_First(long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByColumnId_Last(long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue[] findByColumnId_PrevAndNext(long valueId, long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ExpandoValue> findByColumnId(long columnId)
           
 java.util.List<ExpandoValue> findByColumnId(long columnId, int start, int end)
           
 java.util.List<ExpandoValue> findByColumnId(long columnId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByPrimaryKey(long valueId)
           
 ExpandoValue findByRowId_First(long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByRowId_Last(long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue[] findByRowId_PrevAndNext(long valueId, long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ExpandoValue> findByRowId(long rowId)
           
 java.util.List<ExpandoValue> findByRowId(long rowId, int start, int end)
           
 java.util.List<ExpandoValue> findByRowId(long rowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByT_C_C_C_First(long tableId, long columnId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByT_C_C_C_Last(long tableId, long columnId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue[] findByT_C_C_C_PrevAndNext(long valueId, long tableId, long columnId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ExpandoValue> findByT_C_C_C(long tableId, long columnId, long classNameId, long classPK)
           
 java.util.List<ExpandoValue> findByT_C_C_C(long tableId, long columnId, long classNameId, long classPK, int start, int end)
           
 java.util.List<ExpandoValue> findByT_C_C_C(long tableId, long columnId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByT_C_R(long tableId, long columnId, long rowId)
           
 ExpandoValue findByT_R_First(long tableId, long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByT_R_Last(long tableId, long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue[] findByT_R_PrevAndNext(long valueId, long tableId, long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ExpandoValue> findByT_R(long tableId, long rowId)
           
 java.util.List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end)
           
 java.util.List<ExpandoValue> findByT_R(long tableId, long rowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByTableId_First(long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue findByTableId_Last(long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ExpandoValue[] findByTableId_PrevAndNext(long valueId, long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ExpandoValue> findByTableId(long tableId)
           
 java.util.List<ExpandoValue> findByTableId(long tableId, int start, int end)
           
 java.util.List<ExpandoValue> findByTableId(long tableId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 void registerListener(ModelListener listener)
           
 ExpandoValue remove(ExpandoValue expandoValue)
           
 ExpandoValue remove(long valueId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByC_R(long columnId, long rowId)
           
 void removeByColumnId(long columnId)
           
 void removeByRowId(long rowId)
           
 void removeByT_C_C_C(long tableId, long columnId, long classNameId, long classPK)
           
 void removeByT_C_R(long tableId, long columnId, long rowId)
           
 void removeByT_R(long tableId, long rowId)
           
 void removeByTableId(long tableId)
           
 void unregisterListener(ModelListener listener)
           
 ExpandoValue update(ExpandoValue expandoValue)
          Deprecated. Use update(ExpandoValue expandoValue, boolean merge).
 ExpandoValue update(ExpandoValue expandoValue, boolean merge)
          Add, update, or merge, the entity.
 ExpandoValue updateImpl(ExpandoValue expandoValue, boolean merge)
           
 

Method Detail

create

ExpandoValue create(long valueId)

remove

ExpandoValue remove(long valueId)
                    throws com.liferay.portal.SystemException,
                           NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

remove

ExpandoValue remove(ExpandoValue expandoValue)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

ExpandoValue update(ExpandoValue expandoValue)
                    throws com.liferay.portal.SystemException
Deprecated. Use update(ExpandoValue expandoValue, boolean merge).

Throws:
com.liferay.portal.SystemException

update

ExpandoValue update(ExpandoValue expandoValue,
                    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:
expandoValue - 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 expandoValue is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

ExpandoValue updateImpl(ExpandoValue expandoValue,
                        boolean merge)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

ExpandoValue findByPrimaryKey(long valueId)
                              throws com.liferay.portal.SystemException,
                                     NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

fetchByPrimaryKey

ExpandoValue fetchByPrimaryKey(long valueId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTableId

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

findByTableId

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

findByTableId

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

findByTableId_First

ExpandoValue findByTableId_First(long tableId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByTableId_Last

ExpandoValue findByTableId_Last(long tableId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByTableId_PrevAndNext

ExpandoValue[] findByTableId_PrevAndNext(long valueId,
                                         long tableId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByColumnId

java.util.List<ExpandoValue> findByColumnId(long columnId)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByColumnId

java.util.List<ExpandoValue> findByColumnId(long columnId,
                                            int start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByColumnId

java.util.List<ExpandoValue> findByColumnId(long columnId,
                                            int start,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByColumnId_First

ExpandoValue findByColumnId_First(long columnId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByColumnId_Last

ExpandoValue findByColumnId_Last(long columnId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByColumnId_PrevAndNext

ExpandoValue[] findByColumnId_PrevAndNext(long valueId,
                                          long columnId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByRowId

java.util.List<ExpandoValue> findByRowId(long rowId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRowId

java.util.List<ExpandoValue> findByRowId(long rowId,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRowId

java.util.List<ExpandoValue> findByRowId(long rowId,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByRowId_First

ExpandoValue findByRowId_First(long rowId,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByRowId_Last

ExpandoValue findByRowId_Last(long rowId,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByRowId_PrevAndNext

ExpandoValue[] findByRowId_PrevAndNext(long valueId,
                                       long rowId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByT_R

java.util.List<ExpandoValue> findByT_R(long tableId,
                                       long rowId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_R

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

findByT_R

java.util.List<ExpandoValue> findByT_R(long tableId,
                                       long rowId,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_R_First

ExpandoValue findByT_R_First(long tableId,
                             long rowId,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByT_R_Last

ExpandoValue findByT_R_Last(long tableId,
                            long rowId,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException,
                                   NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByT_R_PrevAndNext

ExpandoValue[] findByT_R_PrevAndNext(long valueId,
                                     long tableId,
                                     long rowId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByC_R

ExpandoValue findByC_R(long columnId,
                       long rowId)
                       throws com.liferay.portal.SystemException,
                              NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

fetchByC_R

ExpandoValue fetchByC_R(long columnId,
                        long rowId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

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

findByC_C

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

findByC_C

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

findByC_C_First

ExpandoValue findByC_C_First(long classNameId,
                             long classPK,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByC_C_Last

ExpandoValue findByC_C_Last(long classNameId,
                            long classPK,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException,
                                   NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByC_C_PrevAndNext

ExpandoValue[] findByC_C_PrevAndNext(long valueId,
                                     long classNameId,
                                     long classPK,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByT_C_R

ExpandoValue findByT_C_R(long tableId,
                         long columnId,
                         long rowId)
                         throws com.liferay.portal.SystemException,
                                NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

fetchByT_C_R

ExpandoValue fetchByT_C_R(long tableId,
                          long columnId,
                          long rowId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_C_C_C

java.util.List<ExpandoValue> findByT_C_C_C(long tableId,
                                           long columnId,
                                           long classNameId,
                                           long classPK)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_C_C_C

java.util.List<ExpandoValue> findByT_C_C_C(long tableId,
                                           long columnId,
                                           long classNameId,
                                           long classPK,
                                           int start,
                                           int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_C_C_C

java.util.List<ExpandoValue> findByT_C_C_C(long tableId,
                                           long columnId,
                                           long classNameId,
                                           long classPK,
                                           int start,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_C_C_C_First

ExpandoValue findByT_C_C_C_First(long tableId,
                                 long columnId,
                                 long classNameId,
                                 long classPK,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByT_C_C_C_Last

ExpandoValue findByT_C_C_C_Last(long tableId,
                                long columnId,
                                long classNameId,
                                long classPK,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

findByT_C_C_C_PrevAndNext

ExpandoValue[] findByT_C_C_C_PrevAndNext(long valueId,
                                         long tableId,
                                         long columnId,
                                         long classNameId,
                                         long classPK,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

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<ExpandoValue> findAll()
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

java.util.List<ExpandoValue> findAll(int start,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     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

removeByColumnId

void removeByColumnId(long columnId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByRowId

void removeByRowId(long rowId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByT_R

void removeByT_R(long tableId,
                 long rowId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_R

void removeByC_R(long columnId,
                 long rowId)
                 throws com.liferay.portal.SystemException,
                        NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

removeByC_C

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

removeByT_C_R

void removeByT_C_R(long tableId,
                   long columnId,
                   long rowId)
                   throws com.liferay.portal.SystemException,
                          NoSuchValueException
Throws:
com.liferay.portal.SystemException
NoSuchValueException

removeByT_C_C_C

void removeByT_C_C_C(long tableId,
                     long columnId,
                     long classNameId,
                     long classPK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

countByColumnId

int countByColumnId(long columnId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByRowId

int countByRowId(long rowId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByT_R

int countByT_R(long tableId,
               long rowId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_R

int countByC_R(long columnId,
               long rowId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

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

countByT_C_R

int countByT_C_R(long tableId,
                 long columnId,
                 long rowId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByT_C_C_C

int countByT_C_C_C(long tableId,
                   long columnId,
                   long classNameId,
                   long classPK)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

registerListener

void registerListener(ModelListener listener)

unregisterListener

void unregisterListener(ModelListener listener)