com.liferay.portlet.asset.service.persistence
Class AssetLinkUtil

java.lang.Object
  extended by com.liferay.portlet.asset.service.persistence.AssetLinkUtil

public class AssetLinkUtil
extends java.lang.Object

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

Constructor Summary
AssetLinkUtil()
           
 
Method Summary
static void cacheResult(AssetLink assetLink)
           
static void cacheResult(java.util.List<AssetLink> assetLinks)
           
static void clearCache()
           
static void clearCache(AssetLink assetLink)
           
static int countAll()
           
static int countByE_E_T(long entryId1, long entryId2, int type)
           
static int countByE_E(long entryId1, long entryId2)
           
static int countByE1_T(long entryId1, int type)
           
static int countByE1(long entryId1)
           
static int countByE2_T(long entryId2, int type)
           
static int countByE2(long entryId2)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static AssetLink create(long linkId)
           
static AssetLink fetchByPrimaryKey(long linkId)
           
static java.util.List<AssetLink> findAll()
           
static java.util.List<AssetLink> findAll(int start, int end)
           
static java.util.List<AssetLink> findAll(int start, int end, OrderByComparator orderByComparator)
           
static AssetLink findByE_E_First(long entryId1, long entryId2, OrderByComparator orderByComparator)
           
static AssetLink findByE_E_Last(long entryId1, long entryId2, OrderByComparator orderByComparator)
           
static AssetLink[] findByE_E_PrevAndNext(long linkId, long entryId1, long entryId2, OrderByComparator orderByComparator)
           
static AssetLink findByE_E_T_First(long entryId1, long entryId2, int type, OrderByComparator orderByComparator)
           
static AssetLink findByE_E_T_Last(long entryId1, long entryId2, int type, OrderByComparator orderByComparator)
           
static AssetLink[] findByE_E_T_PrevAndNext(long linkId, long entryId1, long entryId2, int type, OrderByComparator orderByComparator)
           
static java.util.List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type)
           
static java.util.List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type, int start, int end)
           
static java.util.List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type, int start, int end, OrderByComparator orderByComparator)
           
static java.util.List<AssetLink> findByE_E(long entryId1, long entryId2)
           
static java.util.List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end)
           
static java.util.List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end, OrderByComparator orderByComparator)
           
static AssetLink findByE1_First(long entryId1, OrderByComparator orderByComparator)
           
static AssetLink findByE1_Last(long entryId1, OrderByComparator orderByComparator)
           
static AssetLink[] findByE1_PrevAndNext(long linkId, long entryId1, OrderByComparator orderByComparator)
           
static AssetLink findByE1_T_First(long entryId1, int type, OrderByComparator orderByComparator)
           
static AssetLink findByE1_T_Last(long entryId1, int type, OrderByComparator orderByComparator)
           
static AssetLink[] findByE1_T_PrevAndNext(long linkId, long entryId1, int type, OrderByComparator orderByComparator)
           
static java.util.List<AssetLink> findByE1_T(long entryId1, int type)
           
static java.util.List<AssetLink> findByE1_T(long entryId1, int type, int start, int end)
           
static java.util.List<AssetLink> findByE1_T(long entryId1, int type, int start, int end, OrderByComparator orderByComparator)
           
static java.util.List<AssetLink> findByE1(long entryId1)
           
static java.util.List<AssetLink> findByE1(long entryId1, int start, int end)
           
static java.util.List<AssetLink> findByE1(long entryId1, int start, int end, OrderByComparator orderByComparator)
           
static AssetLink findByE2_First(long entryId2, OrderByComparator orderByComparator)
           
static AssetLink findByE2_Last(long entryId2, OrderByComparator orderByComparator)
           
static AssetLink[] findByE2_PrevAndNext(long linkId, long entryId2, OrderByComparator orderByComparator)
           
static AssetLink findByE2_T_First(long entryId2, int type, OrderByComparator orderByComparator)
           
static AssetLink findByE2_T_Last(long entryId2, int type, OrderByComparator orderByComparator)
           
static AssetLink[] findByE2_T_PrevAndNext(long linkId, long entryId2, int type, OrderByComparator orderByComparator)
           
static java.util.List<AssetLink> findByE2_T(long entryId2, int type)
           
static java.util.List<AssetLink> findByE2_T(long entryId2, int type, int start, int end)
           
static java.util.List<AssetLink> findByE2_T(long entryId2, int type, int start, int end, OrderByComparator orderByComparator)
           
static java.util.List<AssetLink> findByE2(long entryId2)
           
static java.util.List<AssetLink> findByE2(long entryId2, int start, int end)
           
static java.util.List<AssetLink> findByE2(long entryId2, int start, int end, OrderByComparator orderByComparator)
           
static AssetLink findByPrimaryKey(long linkId)
           
static java.util.List<AssetLink> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<AssetLink> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static AssetLinkPersistence getPersistence()
           
static AssetLink remove(AssetLink assetLink)
           
static AssetLink remove(long linkId)
           
static void removeAll()
           
static void removeByE_E_T(long entryId1, long entryId2, int type)
           
static void removeByE_E(long entryId1, long entryId2)
           
static void removeByE1_T(long entryId1, int type)
           
static void removeByE1(long entryId1)
           
static void removeByE2_T(long entryId2, int type)
           
static void removeByE2(long entryId2)
           
 void setPersistence(AssetLinkPersistence persistence)
           
static AssetLink update(AssetLink assetLink, boolean merge)
           
static AssetLink updateImpl(AssetLink assetLink, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetLinkUtil

public AssetLinkUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(AssetLink assetLink)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(AssetLink)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<AssetLink> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                      throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<AssetLink> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                             int start,
                                                             int end)
                                                      throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static AssetLink remove(AssetLink assetLink)
                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static AssetLink update(AssetLink assetLink,
                               boolean merge)
                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(AssetLink assetLink)

cacheResult

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

create

public static AssetLink create(long linkId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static AssetLink fetchByPrimaryKey(long linkId)
                                   throws SystemException
Throws:
SystemException

findByE1

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

findByE1

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

findByE1

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

findByE1_First

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

findByE1_Last

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

findByE1_PrevAndNext

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

findByE2

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

findByE2

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

findByE2

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

findByE2_First

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

findByE2_Last

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

findByE2_PrevAndNext

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

findByE_E

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

findByE_E

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

findByE_E

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

findByE_E_First

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

findByE_E_Last

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

findByE_E_PrevAndNext

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

findByE1_T

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

findByE1_T

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

findByE1_T

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

findByE1_T_First

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

findByE1_T_Last

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

findByE1_T_PrevAndNext

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

findByE2_T

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

findByE2_T

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

findByE2_T

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

findByE2_T_First

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

findByE2_T_Last

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

findByE2_T_PrevAndNext

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

findByE_E_T

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

findByE_E_T

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

findByE_E_T

public static 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

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

findByE_E_T_Last

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

findByE_E_T_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByE1

public static void removeByE1(long entryId1)
                       throws SystemException
Throws:
SystemException

removeByE2

public static void removeByE2(long entryId2)
                       throws SystemException
Throws:
SystemException

removeByE_E

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

removeByE1_T

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

removeByE2_T

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

removeByE_E_T

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

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByE1

public static int countByE1(long entryId1)
                     throws SystemException
Throws:
SystemException

countByE2

public static int countByE2(long entryId2)
                     throws SystemException
Throws:
SystemException

countByE_E

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

countByE1_T

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

countByE2_T

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

countByE_E_T

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

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static AssetLinkPersistence getPersistence()

setPersistence

public void setPersistence(AssetLinkPersistence persistence)