Liferay 6.0.3

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetLink>
      extended by com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<AssetLink>, AssetLinkPersistence

public class AssetLinkPersistenceImpl
extends BasePersistenceImpl<AssetLink>
implements AssetLinkPersistence

See Also:
AssetLinkPersistence, AssetLinkUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  AssetTagPropertyPersistence assetTagPropertyPersistence
           
protected  AssetTagStatsPersistence assetTagStatsPersistence
           
protected  AssetVocabularyPersistence assetVocabularyPersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_E_E
           
static FinderPath FINDER_PATH_COUNT_BY_E_E_T
           
static FinderPath FINDER_PATH_COUNT_BY_E1
           
static FinderPath FINDER_PATH_COUNT_BY_E1_T
           
static FinderPath FINDER_PATH_COUNT_BY_E2
           
static FinderPath FINDER_PATH_COUNT_BY_E2_T
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_E_E
           
static FinderPath FINDER_PATH_FIND_BY_E_E_T
           
static FinderPath FINDER_PATH_FIND_BY_E1
           
static FinderPath FINDER_PATH_FIND_BY_E1_T
           
static FinderPath FINDER_PATH_FIND_BY_E2
           
static FinderPath FINDER_PATH_FIND_BY_E2_T
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
AssetLinkPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(AssetLink assetLink)
           
 void cacheResult(List<AssetLink> assetLinks)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(AssetLink assetLink)
          Clears the cache for one instance of this model.
 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)
           
 AssetLink fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 List<AssetLink> findAll()
           
 List<AssetLink> findAll(int start, int end)
           
 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)
           
 List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type)
           
 List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type, int start, int end)
           
 List<AssetLink> findByE_E_T(long entryId1, long entryId2, int type, int start, int end, OrderByComparator orderByComparator)
           
 List<AssetLink> findByE_E(long entryId1, long entryId2)
           
 List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end)
           
 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)
           
 List<AssetLink> findByE1_T(long entryId1, int type)
           
 List<AssetLink> findByE1_T(long entryId1, int type, int start, int end)
           
 List<AssetLink> findByE1_T(long entryId1, int type, int start, int end, OrderByComparator orderByComparator)
           
 List<AssetLink> findByE1(long entryId1)
           
 List<AssetLink> findByE1(long entryId1, int start, int end)
           
 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)
           
 List<AssetLink> findByE2_T(long entryId2, int type)
           
 List<AssetLink> findByE2_T(long entryId2, int type, int start, int end)
           
 List<AssetLink> findByE2_T(long entryId2, int type, int start, int end, OrderByComparator orderByComparator)
           
 List<AssetLink> findByE2(long entryId2)
           
 List<AssetLink> findByE2(long entryId2, int start, int end)
           
 List<AssetLink> findByE2(long entryId2, int start, int end, OrderByComparator orderByComparator)
           
 AssetLink findByPrimaryKey(long linkId)
           
 AssetLink findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
protected  AssetLink getByE_E_PrevAndNext(Session session, AssetLink assetLink, long entryId1, long entryId2, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetLink getByE_E_T_PrevAndNext(Session session, AssetLink assetLink, long entryId1, long entryId2, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetLink getByE1_PrevAndNext(Session session, AssetLink assetLink, long entryId1, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetLink getByE1_T_PrevAndNext(Session session, AssetLink assetLink, long entryId1, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetLink getByE2_PrevAndNext(Session session, AssetLink assetLink, long entryId2, OrderByComparator orderByComparator, boolean previous)
           
protected  AssetLink getByE2_T_PrevAndNext(Session session, AssetLink assetLink, long entryId2, int type, OrderByComparator orderByComparator, boolean previous)
           
 AssetLink remove(long linkId)
           
 AssetLink remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 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)
           
protected  AssetLink removeImpl(AssetLink assetLink)
          Removes the model instance from the database.
protected  AssetLink toUnwrappedModel(AssetLink assetLink)
           
 AssetLink updateImpl(AssetLink assetLink, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_E1

public static final FinderPath FINDER_PATH_FIND_BY_E1

FINDER_PATH_COUNT_BY_E1

public static final FinderPath FINDER_PATH_COUNT_BY_E1

FINDER_PATH_FIND_BY_E2

public static final FinderPath FINDER_PATH_FIND_BY_E2

FINDER_PATH_COUNT_BY_E2

public static final FinderPath FINDER_PATH_COUNT_BY_E2

FINDER_PATH_FIND_BY_E_E

public static final FinderPath FINDER_PATH_FIND_BY_E_E

FINDER_PATH_COUNT_BY_E_E

public static final FinderPath FINDER_PATH_COUNT_BY_E_E

FINDER_PATH_FIND_BY_E1_T

public static final FinderPath FINDER_PATH_FIND_BY_E1_T

FINDER_PATH_COUNT_BY_E1_T

public static final FinderPath FINDER_PATH_COUNT_BY_E1_T

FINDER_PATH_FIND_BY_E2_T

public static final FinderPath FINDER_PATH_FIND_BY_E2_T

FINDER_PATH_COUNT_BY_E2_T

public static final FinderPath FINDER_PATH_COUNT_BY_E2_T

FINDER_PATH_FIND_BY_E_E_T

public static final FinderPath FINDER_PATH_FIND_BY_E_E_T

FINDER_PATH_COUNT_BY_E_E_T

public static final FinderPath FINDER_PATH_COUNT_BY_E_E_T

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetCategoryPropertyPersistence

@BeanReference(type=AssetCategoryPropertyPersistence.class)
protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

assetTagPropertyPersistence

@BeanReference(type=AssetTagPropertyPersistence.class)
protected AssetTagPropertyPersistence assetTagPropertyPersistence

assetTagStatsPersistence

@BeanReference(type=AssetTagStatsPersistence.class)
protected AssetTagStatsPersistence assetTagStatsPersistence

assetVocabularyPersistence

@BeanReference(type=AssetVocabularyPersistence.class)
protected AssetVocabularyPersistence assetVocabularyPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence
Constructor Detail

AssetLinkPersistenceImpl

public AssetLinkPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(AssetLink assetLink)
Specified by:
cacheResult in interface AssetLinkPersistence

cacheResult

public void cacheResult(List<AssetLink> assetLinks)
Specified by:
cacheResult in interface AssetLinkPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<AssetLink>
Overrides:
clearCache in class BasePersistenceImpl<AssetLink>

clearCache

public void clearCache(AssetLink assetLink)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<AssetLink>
Overrides:
clearCache in class BasePersistenceImpl<AssetLink>
Parameters:
assetLink - the instance of this model to clear the cache for

create

public AssetLink create(long linkId)
Specified by:
create in interface AssetLinkPersistence

remove

public AssetLink remove(Serializable primaryKey)
                 throws NoSuchModelException,
                        SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<AssetLink>
Overrides:
remove in class BasePersistenceImpl<AssetLink>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public AssetLink remove(long linkId)
                 throws NoSuchLinkException,
                        SystemException
Specified by:
remove in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

removeImpl

protected AssetLink removeImpl(AssetLink assetLink)
                        throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<AssetLink>
Parameters:
assetLink - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public AssetLink updateImpl(AssetLink assetLink,
                            boolean merge)
                     throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface AssetLinkPersistence
Overrides:
updateImpl in class BasePersistenceImpl<AssetLink>
Parameters:
assetLink - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected AssetLink toUnwrappedModel(AssetLink assetLink)

findByPrimaryKey

public AssetLink findByPrimaryKey(Serializable primaryKey)
                           throws NoSuchModelException,
                                  SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<AssetLink>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<AssetLink>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public AssetLink findByPrimaryKey(long linkId)
                           throws NoSuchLinkException,
                                  SystemException
Specified by:
findByPrimaryKey in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

fetchByPrimaryKey

public AssetLink fetchByPrimaryKey(Serializable primaryKey)
                            throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<AssetLink>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<AssetLink>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public AssetLink fetchByPrimaryKey(long linkId)
                            throws SystemException
Specified by:
fetchByPrimaryKey in interface AssetLinkPersistence
Throws:
SystemException

findByE1

public List<AssetLink> findByE1(long entryId1)
                         throws SystemException
Specified by:
findByE1 in interface AssetLinkPersistence
Throws:
SystemException

findByE1

public List<AssetLink> findByE1(long entryId1,
                                int start,
                                int end)
                         throws SystemException
Specified by:
findByE1 in interface AssetLinkPersistence
Throws:
SystemException

findByE1

public List<AssetLink> findByE1(long entryId1,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Specified by:
findByE1 in interface AssetLinkPersistence
Throws:
SystemException

findByE1_First

public AssetLink findByE1_First(long entryId1,
                                OrderByComparator orderByComparator)
                         throws NoSuchLinkException,
                                SystemException
Specified by:
findByE1_First in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE1_Last

public AssetLink findByE1_Last(long entryId1,
                               OrderByComparator orderByComparator)
                        throws NoSuchLinkException,
                               SystemException
Specified by:
findByE1_Last in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE1_PrevAndNext

public AssetLink[] findByE1_PrevAndNext(long linkId,
                                        long entryId1,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchLinkException,
                                        SystemException
Specified by:
findByE1_PrevAndNext in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

getByE1_PrevAndNext

protected AssetLink getByE1_PrevAndNext(Session session,
                                        AssetLink assetLink,
                                        long entryId1,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

findByE2

public List<AssetLink> findByE2(long entryId2)
                         throws SystemException
Specified by:
findByE2 in interface AssetLinkPersistence
Throws:
SystemException

findByE2

public List<AssetLink> findByE2(long entryId2,
                                int start,
                                int end)
                         throws SystemException
Specified by:
findByE2 in interface AssetLinkPersistence
Throws:
SystemException

findByE2

public List<AssetLink> findByE2(long entryId2,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Specified by:
findByE2 in interface AssetLinkPersistence
Throws:
SystemException

findByE2_First

public AssetLink findByE2_First(long entryId2,
                                OrderByComparator orderByComparator)
                         throws NoSuchLinkException,
                                SystemException
Specified by:
findByE2_First in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE2_Last

public AssetLink findByE2_Last(long entryId2,
                               OrderByComparator orderByComparator)
                        throws NoSuchLinkException,
                               SystemException
Specified by:
findByE2_Last in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE2_PrevAndNext

public AssetLink[] findByE2_PrevAndNext(long linkId,
                                        long entryId2,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchLinkException,
                                        SystemException
Specified by:
findByE2_PrevAndNext in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

getByE2_PrevAndNext

protected AssetLink getByE2_PrevAndNext(Session session,
                                        AssetLink assetLink,
                                        long entryId2,
                                        OrderByComparator orderByComparator,
                                        boolean previous)

findByE_E

public List<AssetLink> findByE_E(long entryId1,
                                 long entryId2)
                          throws SystemException
Specified by:
findByE_E in interface AssetLinkPersistence
Throws:
SystemException

findByE_E

public List<AssetLink> findByE_E(long entryId1,
                                 long entryId2,
                                 int start,
                                 int end)
                          throws SystemException
Specified by:
findByE_E in interface AssetLinkPersistence
Throws:
SystemException

findByE_E

public List<AssetLink> findByE_E(long entryId1,
                                 long entryId2,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findByE_E in interface AssetLinkPersistence
Throws:
SystemException

findByE_E_First

public AssetLink findByE_E_First(long entryId1,
                                 long entryId2,
                                 OrderByComparator orderByComparator)
                          throws NoSuchLinkException,
                                 SystemException
Specified by:
findByE_E_First in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE_E_Last

public AssetLink findByE_E_Last(long entryId1,
                                long entryId2,
                                OrderByComparator orderByComparator)
                         throws NoSuchLinkException,
                                SystemException
Specified by:
findByE_E_Last in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE_E_PrevAndNext

public AssetLink[] findByE_E_PrevAndNext(long linkId,
                                         long entryId1,
                                         long entryId2,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchLinkException,
                                         SystemException
Specified by:
findByE_E_PrevAndNext in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

getByE_E_PrevAndNext

protected AssetLink getByE_E_PrevAndNext(Session session,
                                         AssetLink assetLink,
                                         long entryId1,
                                         long entryId2,
                                         OrderByComparator orderByComparator,
                                         boolean previous)

findByE1_T

public List<AssetLink> findByE1_T(long entryId1,
                                  int type)
                           throws SystemException
Specified by:
findByE1_T in interface AssetLinkPersistence
Throws:
SystemException

findByE1_T

public List<AssetLink> findByE1_T(long entryId1,
                                  int type,
                                  int start,
                                  int end)
                           throws SystemException
Specified by:
findByE1_T in interface AssetLinkPersistence
Throws:
SystemException

findByE1_T

public List<AssetLink> findByE1_T(long entryId1,
                                  int type,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Specified by:
findByE1_T in interface AssetLinkPersistence
Throws:
SystemException

findByE1_T_First

public AssetLink findByE1_T_First(long entryId1,
                                  int type,
                                  OrderByComparator orderByComparator)
                           throws NoSuchLinkException,
                                  SystemException
Specified by:
findByE1_T_First in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE1_T_Last

public AssetLink findByE1_T_Last(long entryId1,
                                 int type,
                                 OrderByComparator orderByComparator)
                          throws NoSuchLinkException,
                                 SystemException
Specified by:
findByE1_T_Last in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE1_T_PrevAndNext

public AssetLink[] findByE1_T_PrevAndNext(long linkId,
                                          long entryId1,
                                          int type,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchLinkException,
                                          SystemException
Specified by:
findByE1_T_PrevAndNext in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

getByE1_T_PrevAndNext

protected AssetLink getByE1_T_PrevAndNext(Session session,
                                          AssetLink assetLink,
                                          long entryId1,
                                          int type,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

findByE2_T

public List<AssetLink> findByE2_T(long entryId2,
                                  int type)
                           throws SystemException
Specified by:
findByE2_T in interface AssetLinkPersistence
Throws:
SystemException

findByE2_T

public List<AssetLink> findByE2_T(long entryId2,
                                  int type,
                                  int start,
                                  int end)
                           throws SystemException
Specified by:
findByE2_T in interface AssetLinkPersistence
Throws:
SystemException

findByE2_T

public List<AssetLink> findByE2_T(long entryId2,
                                  int type,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Specified by:
findByE2_T in interface AssetLinkPersistence
Throws:
SystemException

findByE2_T_First

public AssetLink findByE2_T_First(long entryId2,
                                  int type,
                                  OrderByComparator orderByComparator)
                           throws NoSuchLinkException,
                                  SystemException
Specified by:
findByE2_T_First in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE2_T_Last

public AssetLink findByE2_T_Last(long entryId2,
                                 int type,
                                 OrderByComparator orderByComparator)
                          throws NoSuchLinkException,
                                 SystemException
Specified by:
findByE2_T_Last in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE2_T_PrevAndNext

public AssetLink[] findByE2_T_PrevAndNext(long linkId,
                                          long entryId2,
                                          int type,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchLinkException,
                                          SystemException
Specified by:
findByE2_T_PrevAndNext in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

getByE2_T_PrevAndNext

protected AssetLink getByE2_T_PrevAndNext(Session session,
                                          AssetLink assetLink,
                                          long entryId2,
                                          int type,
                                          OrderByComparator orderByComparator,
                                          boolean previous)

findByE_E_T

public List<AssetLink> findByE_E_T(long entryId1,
                                   long entryId2,
                                   int type)
                            throws SystemException
Specified by:
findByE_E_T in interface AssetLinkPersistence
Throws:
SystemException

findByE_E_T

public List<AssetLink> findByE_E_T(long entryId1,
                                   long entryId2,
                                   int type,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByE_E_T in interface AssetLinkPersistence
Throws:
SystemException

findByE_E_T

public List<AssetLink> findByE_E_T(long entryId1,
                                   long entryId2,
                                   int type,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findByE_E_T in interface AssetLinkPersistence
Throws:
SystemException

findByE_E_T_First

public AssetLink findByE_E_T_First(long entryId1,
                                   long entryId2,
                                   int type,
                                   OrderByComparator orderByComparator)
                            throws NoSuchLinkException,
                                   SystemException
Specified by:
findByE_E_T_First in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE_E_T_Last

public AssetLink findByE_E_T_Last(long entryId1,
                                  long entryId2,
                                  int type,
                                  OrderByComparator orderByComparator)
                           throws NoSuchLinkException,
                                  SystemException
Specified by:
findByE_E_T_Last in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

findByE_E_T_PrevAndNext

public AssetLink[] findByE_E_T_PrevAndNext(long linkId,
                                           long entryId1,
                                           long entryId2,
                                           int type,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchLinkException,
                                           SystemException
Specified by:
findByE_E_T_PrevAndNext in interface AssetLinkPersistence
Throws:
NoSuchLinkException
SystemException

getByE_E_T_PrevAndNext

protected AssetLink getByE_E_T_PrevAndNext(Session session,
                                           AssetLink assetLink,
                                           long entryId1,
                                           long entryId2,
                                           int type,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

findAll

public List<AssetLink> findAll()
                        throws SystemException
Specified by:
findAll in interface AssetLinkPersistence
Throws:
SystemException

findAll

public List<AssetLink> findAll(int start,
                               int end)
                        throws SystemException
Specified by:
findAll in interface AssetLinkPersistence
Throws:
SystemException

findAll

public List<AssetLink> findAll(int start,
                               int end,
                               OrderByComparator orderByComparator)
                        throws SystemException
Specified by:
findAll in interface AssetLinkPersistence
Throws:
SystemException

removeByE1

public void removeByE1(long entryId1)
                throws SystemException
Specified by:
removeByE1 in interface AssetLinkPersistence
Throws:
SystemException

removeByE2

public void removeByE2(long entryId2)
                throws SystemException
Specified by:
removeByE2 in interface AssetLinkPersistence
Throws:
SystemException

removeByE_E

public void removeByE_E(long entryId1,
                        long entryId2)
                 throws SystemException
Specified by:
removeByE_E in interface AssetLinkPersistence
Throws:
SystemException

removeByE1_T

public void removeByE1_T(long entryId1,
                         int type)
                  throws SystemException
Specified by:
removeByE1_T in interface AssetLinkPersistence
Throws:
SystemException

removeByE2_T

public void removeByE2_T(long entryId2,
                         int type)
                  throws SystemException
Specified by:
removeByE2_T in interface AssetLinkPersistence
Throws:
SystemException

removeByE_E_T

public void removeByE_E_T(long entryId1,
                          long entryId2,
                          int type)
                   throws SystemException
Specified by:
removeByE_E_T in interface AssetLinkPersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface AssetLinkPersistence
Throws:
SystemException

countByE1

public int countByE1(long entryId1)
              throws SystemException
Specified by:
countByE1 in interface AssetLinkPersistence
Throws:
SystemException

countByE2

public int countByE2(long entryId2)
              throws SystemException
Specified by:
countByE2 in interface AssetLinkPersistence
Throws:
SystemException

countByE_E

public int countByE_E(long entryId1,
                      long entryId2)
               throws SystemException
Specified by:
countByE_E in interface AssetLinkPersistence
Throws:
SystemException

countByE1_T

public int countByE1_T(long entryId1,
                       int type)
                throws SystemException
Specified by:
countByE1_T in interface AssetLinkPersistence
Throws:
SystemException

countByE2_T

public int countByE2_T(long entryId2,
                       int type)
                throws SystemException
Specified by:
countByE2_T in interface AssetLinkPersistence
Throws:
SystemException

countByE_E_T

public int countByE_E_T(long entryId1,
                        long entryId2,
                        int type)
                 throws SystemException
Specified by:
countByE_E_T in interface AssetLinkPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface AssetLinkPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3