com.liferay.portlet.asset.service.persistence
Interface AssetLinkPersistence

All Superinterfaces:
BasePersistence<AssetLink>

public interface AssetLinkPersistence
extends BasePersistence<AssetLink>

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:
AssetLinkPersistenceImpl, AssetLinkUtil
Generated:

Method Summary
 void cacheResult(AssetLink assetLink)
           
 void cacheResult(java.util.List<AssetLink> assetLinks)
           
 int countAll()
           
 int countByE_E_T(long entryId1, long entryId2, int type)
           
 int countByE_E(long entryId1, long entryId2)
           
 int countByE1_T(long entryId1, int type)
           
 int countByE1(long entryId1)
           
 int countByE2_T(long entryId2, int type)
           
 int countByE2(long entryId2)
           
 AssetLink create(long linkId)
           
 AssetLink fetchByPrimaryKey(long linkId)
           
 java.util.List<AssetLink> findAll()
           
 java.util.List<AssetLink> findAll(int start, int end)
           
 java.util.List<AssetLink> findAll(int start, int end, OrderByComparator orderByComparator)
           
 AssetLink findByE_E_First(long entryId1, long entryId2, OrderByComparator orderByComparator)
           
 AssetLink findByE_E_Last(long entryId1, long entryId2, OrderByComparator orderByComparator)
           
 AssetLink[] findByE_E_PrevAndNext(long linkId, long entryId1, long entryId2, OrderByComparator orderByComparator)
           
 AssetLink findByE_E_T_First(long entryId1, long entryId2, int type, OrderByComparator orderByComparator)
           
 AssetLink findByE_E_T_Last(long entryId1, long entryId2, int type, OrderByComparator orderByComparator)
           
 AssetLink[] findByE_E_T_PrevAndNext(long linkId, long entryId1, long entryId2, int type, OrderByComparator orderByComparator)
           
 java.util.List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type)
           
 java.util.List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type, int start, int end)
           
 java.util.List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<AssetLink> findByE_E(long entryId1, long entryId2)
           
 java.util.List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end)
           
 java.util.List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end, OrderByComparator orderByComparator)
           
 AssetLink findByE1_First(long entryId1, OrderByComparator orderByComparator)
           
 AssetLink findByE1_Last(long entryId1, OrderByComparator orderByComparator)
           
 AssetLink[] findByE1_PrevAndNext(long linkId, long entryId1, OrderByComparator orderByComparator)
           
 AssetLink findByE1_T_First(long entryId1, int type, OrderByComparator orderByComparator)
           
 AssetLink findByE1_T_Last(long entryId1, int type, OrderByComparator orderByComparator)
           
 AssetLink[] findByE1_T_PrevAndNext(long linkId, long entryId1, int type, OrderByComparator orderByComparator)
           
 java.util.List<AssetLink> findByE1_T(long entryId1, int type)
           
 java.util.List<AssetLink> findByE1_T(long entryId1, int type, int start, int end)
           
 java.util.List<AssetLink> findByE1_T(long entryId1, int type, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<AssetLink> findByE1(long entryId1)
           
 java.util.List<AssetLink> findByE1(long entryId1, int start, int end)
           
 java.util.List<AssetLink> findByE1(long entryId1, int start, int end, OrderByComparator orderByComparator)
           
 AssetLink findByE2_First(long entryId2, OrderByComparator orderByComparator)
           
 AssetLink findByE2_Last(long entryId2, OrderByComparator orderByComparator)
           
 AssetLink[] findByE2_PrevAndNext(long linkId, long entryId2, OrderByComparator orderByComparator)
           
 AssetLink findByE2_T_First(long entryId2, int type, OrderByComparator orderByComparator)
           
 AssetLink findByE2_T_Last(long entryId2, int type, OrderByComparator orderByComparator)
           
 AssetLink[] findByE2_T_PrevAndNext(long linkId, long entryId2, int type, OrderByComparator orderByComparator)
           
 java.util.List<AssetLink> findByE2_T(long entryId2, int type)
           
 java.util.List<AssetLink> findByE2_T(long entryId2, int type, int start, int end)
           
 java.util.List<AssetLink> findByE2_T(long entryId2, int type, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<AssetLink> findByE2(long entryId2)
           
 java.util.List<AssetLink> findByE2(long entryId2, int start, int end)
           
 java.util.List<AssetLink> findByE2(long entryId2, int start, int end, OrderByComparator orderByComparator)
           
 AssetLink findByPrimaryKey(long linkId)
           
 AssetLink remove(long linkId)
           
 void removeAll()
           
 void removeByE_E_T(long entryId1, long entryId2, int type)
           
 void removeByE_E(long entryId1, long entryId2)
           
 void removeByE1_T(long entryId1, int type)
           
 void removeByE1(long entryId1)
           
 void removeByE2_T(long entryId2, int type)
           
 void removeByE2(long entryId2)
           
 AssetLink updateImpl(AssetLink assetLink, 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(AssetLink assetLink)

cacheResult

void cacheResult(java.util.List<AssetLink> assetLinks)

create

AssetLink create(long linkId)

remove

AssetLink remove(long linkId)
                 throws SystemException,
                        NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

updateImpl

AssetLink updateImpl(AssetLink assetLink,
                     boolean merge)
                     throws SystemException
Throws:
SystemException

findByPrimaryKey

AssetLink findByPrimaryKey(long linkId)
                           throws SystemException,
                                  NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

fetchByPrimaryKey

AssetLink fetchByPrimaryKey(long linkId)
                            throws SystemException
Throws:
SystemException

findByE1

java.util.List<AssetLink> findByE1(long entryId1)
                                   throws SystemException
Throws:
SystemException

findByE1

java.util.List<AssetLink> findByE1(long entryId1,
                                   int start,
                                   int end)
                                   throws SystemException
Throws:
SystemException

findByE1

java.util.List<AssetLink> findByE1(long entryId1,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByE1_First

AssetLink findByE1_First(long entryId1,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE1_Last

AssetLink findByE1_Last(long entryId1,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE1_PrevAndNext

AssetLink[] findByE1_PrevAndNext(long linkId,
                                 long entryId1,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE2

java.util.List<AssetLink> findByE2(long entryId2)
                                   throws SystemException
Throws:
SystemException

findByE2

java.util.List<AssetLink> findByE2(long entryId2,
                                   int start,
                                   int end)
                                   throws SystemException
Throws:
SystemException

findByE2

java.util.List<AssetLink> findByE2(long entryId2,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByE2_First

AssetLink findByE2_First(long entryId2,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE2_Last

AssetLink findByE2_Last(long entryId2,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE2_PrevAndNext

AssetLink[] findByE2_PrevAndNext(long linkId,
                                 long entryId2,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE_E

java.util.List<AssetLink> findByE_E(long entryId1,
                                    long entryId2)
                                    throws SystemException
Throws:
SystemException

findByE_E

java.util.List<AssetLink> findByE_E(long entryId1,
                                    long entryId2,
                                    int start,
                                    int end)
                                    throws SystemException
Throws:
SystemException

findByE_E

java.util.List<AssetLink> findByE_E(long entryId1,
                                    long entryId2,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

findByE_E_First

AssetLink findByE_E_First(long entryId1,
                          long entryId2,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE_E_Last

AssetLink findByE_E_Last(long entryId1,
                         long entryId2,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE_E_PrevAndNext

AssetLink[] findByE_E_PrevAndNext(long linkId,
                                  long entryId1,
                                  long entryId2,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE1_T

java.util.List<AssetLink> findByE1_T(long entryId1,
                                     int type)
                                     throws SystemException
Throws:
SystemException

findByE1_T

java.util.List<AssetLink> findByE1_T(long entryId1,
                                     int type,
                                     int start,
                                     int end)
                                     throws SystemException
Throws:
SystemException

findByE1_T

java.util.List<AssetLink> findByE1_T(long entryId1,
                                     int type,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Throws:
SystemException

findByE1_T_First

AssetLink findByE1_T_First(long entryId1,
                           int type,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE1_T_Last

AssetLink findByE1_T_Last(long entryId1,
                          int type,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE1_T_PrevAndNext

AssetLink[] findByE1_T_PrevAndNext(long linkId,
                                   long entryId1,
                                   int type,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE2_T

java.util.List<AssetLink> findByE2_T(long entryId2,
                                     int type)
                                     throws SystemException
Throws:
SystemException

findByE2_T

java.util.List<AssetLink> findByE2_T(long entryId2,
                                     int type,
                                     int start,
                                     int end)
                                     throws SystemException
Throws:
SystemException

findByE2_T

java.util.List<AssetLink> findByE2_T(long entryId2,
                                     int type,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Throws:
SystemException

findByE2_T_First

AssetLink findByE2_T_First(long entryId2,
                           int type,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE2_T_Last

AssetLink findByE2_T_Last(long entryId2,
                          int type,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE2_T_PrevAndNext

AssetLink[] findByE2_T_PrevAndNext(long linkId,
                                   long entryId2,
                                   int type,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE_E_T

java.util.List<AssetLink> findByE_E_T(long entryId1,
                                      long entryId2,
                                      int type)
                                      throws SystemException
Throws:
SystemException

findByE_E_T

java.util.List<AssetLink> findByE_E_T(long entryId1,
                                      long entryId2,
                                      int type,
                                      int start,
                                      int end)
                                      throws SystemException
Throws:
SystemException

findByE_E_T

java.util.List<AssetLink> findByE_E_T(long entryId1,
                                      long entryId2,
                                      int type,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Throws:
SystemException

findByE_E_T_First

AssetLink findByE_E_T_First(long entryId1,
                            long entryId2,
                            int type,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE_E_T_Last

AssetLink findByE_E_T_Last(long entryId1,
                           long entryId2,
                           int type,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findByE_E_T_PrevAndNext

AssetLink[] findByE_E_T_PrevAndNext(long linkId,
                                    long entryId1,
                                    long entryId2,
                                    int type,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchLinkException
Throws:
SystemException
NoSuchLinkException

findAll

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

findAll

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

findAll

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

removeByE1

void removeByE1(long entryId1)
                throws SystemException
Throws:
SystemException

removeByE2

void removeByE2(long entryId2)
                throws SystemException
Throws:
SystemException

removeByE_E

void removeByE_E(long entryId1,
                 long entryId2)
                 throws SystemException
Throws:
SystemException

removeByE1_T

void removeByE1_T(long entryId1,
                  int type)
                  throws SystemException
Throws:
SystemException

removeByE2_T

void removeByE2_T(long entryId2,
                  int type)
                  throws SystemException
Throws:
SystemException

removeByE_E_T

void removeByE_E_T(long entryId1,
                   long entryId2,
                   int type)
                   throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByE1

int countByE1(long entryId1)
              throws SystemException
Throws:
SystemException

countByE2

int countByE2(long entryId2)
              throws SystemException
Throws:
SystemException

countByE_E

int countByE_E(long entryId1,
               long entryId2)
               throws SystemException
Throws:
SystemException

countByE1_T

int countByE1_T(long entryId1,
                int type)
                throws SystemException
Throws:
SystemException

countByE2_T

int countByE2_T(long entryId2,
                int type)
                throws SystemException
Throws:
SystemException

countByE_E_T

int countByE_E_T(long entryId1,
                 long entryId2,
                 int type)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException