|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetLink>
com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceImpl
public class AssetLinkPersistenceImpl
The persistence for the asset link service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
Caching information and settings can be found in portal.properties
AssetLinkPersistence,
AssetLinkUtil| 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()
Initializes the asset link persistence. |
void |
cacheResult(AssetLink assetLink)
Caches the asset link in the entity cache if it is enabled. |
void |
cacheResult(List<AssetLink> assetLinks)
Caches the asset links in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all asset links. |
void |
clearCache(AssetLink assetLink)
Clears the cache for the asset link. |
int |
countAll()
Counts all the asset links. |
int |
countByE_E_T(long entryId1,
long entryId2,
int type)
Counts all the asset links where entryId1 = ? and entryId2 = ? and type = ?. |
int |
countByE_E(long entryId1,
long entryId2)
Counts all the asset links where entryId1 = ? and entryId2 = ?. |
int |
countByE1_T(long entryId1,
int type)
Counts all the asset links where entryId1 = ? and type = ?. |
int |
countByE1(long entryId1)
Counts all the asset links where entryId1 = ?. |
int |
countByE2_T(long entryId2,
int type)
Counts all the asset links where entryId2 = ? and type = ?. |
int |
countByE2(long entryId2)
Counts all the asset links where entryId2 = ?. |
AssetLink |
create(long linkId)
Creates a new asset link with the primary key. |
AssetLink |
fetchByPrimaryKey(long linkId)
Finds the asset link with the primary key or returns null if it could not be found. |
AssetLink |
fetchByPrimaryKey(Serializable primaryKey)
Finds the asset link with the primary key or returns null if it could not be found. |
List<AssetLink> |
findAll()
Finds all the asset links. |
List<AssetLink> |
findAll(int start,
int end)
Finds a range of all the asset links. |
List<AssetLink> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset links. |
AssetLink |
findByE_E_First(long entryId1,
long entryId2,
OrderByComparator orderByComparator)
Finds the first asset link in the ordered set where entryId1 = ? and entryId2 = ?. |
AssetLink |
findByE_E_Last(long entryId1,
long entryId2,
OrderByComparator orderByComparator)
Finds the last asset link in the ordered set where entryId1 = ? and entryId2 = ?. |
AssetLink[] |
findByE_E_PrevAndNext(long linkId,
long entryId1,
long entryId2,
OrderByComparator orderByComparator)
Finds the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ?. |
AssetLink |
findByE_E_T_First(long entryId1,
long entryId2,
int type,
OrderByComparator orderByComparator)
Finds the first asset link in the ordered set where entryId1 = ? and entryId2 = ? and type = ?. |
AssetLink |
findByE_E_T_Last(long entryId1,
long entryId2,
int type,
OrderByComparator orderByComparator)
Finds the last asset link in the ordered set where entryId1 = ? and entryId2 = ? and type = ?. |
AssetLink[] |
findByE_E_T_PrevAndNext(long linkId,
long entryId1,
long entryId2,
int type,
OrderByComparator orderByComparator)
Finds the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ? and type = ?. |
List<AssetLink> |
findByE_E_T(long entryId1,
long entryId2,
int type)
Finds all the asset links where entryId1 = ? and entryId2 = ? and type = ?. |
List<AssetLink> |
findByE_E_T(long entryId1,
long entryId2,
int type,
int start,
int end)
Finds a range of all the asset links where entryId1 = ? and entryId2 = ? and type = ?. |
List<AssetLink> |
findByE_E_T(long entryId1,
long entryId2,
int type,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset links where entryId1 = ? and entryId2 = ? and type = ?. |
List<AssetLink> |
findByE_E(long entryId1,
long entryId2)
Finds all the asset links where entryId1 = ? and entryId2 = ?. |
List<AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end)
Finds a range of all the asset links where entryId1 = ? and entryId2 = ?. |
List<AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset links where entryId1 = ? and entryId2 = ?. |
AssetLink |
findByE1_First(long entryId1,
OrderByComparator orderByComparator)
Finds the first asset link in the ordered set where entryId1 = ?. |
AssetLink |
findByE1_Last(long entryId1,
OrderByComparator orderByComparator)
Finds the last asset link in the ordered set where entryId1 = ?. |
AssetLink[] |
findByE1_PrevAndNext(long linkId,
long entryId1,
OrderByComparator orderByComparator)
Finds the asset links before and after the current asset link in the ordered set where entryId1 = ?. |
AssetLink |
findByE1_T_First(long entryId1,
int type,
OrderByComparator orderByComparator)
Finds the first asset link in the ordered set where entryId1 = ? and type = ?. |
AssetLink |
findByE1_T_Last(long entryId1,
int type,
OrderByComparator orderByComparator)
Finds the last asset link in the ordered set where entryId1 = ? and type = ?. |
AssetLink[] |
findByE1_T_PrevAndNext(long linkId,
long entryId1,
int type,
OrderByComparator orderByComparator)
Finds the asset links before and after the current asset link in the ordered set where entryId1 = ? and type = ?. |
List<AssetLink> |
findByE1_T(long entryId1,
int type)
Finds all the asset links where entryId1 = ? and type = ?. |
List<AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end)
Finds a range of all the asset links where entryId1 = ? and type = ?. |
List<AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset links where entryId1 = ? and type = ?. |
List<AssetLink> |
findByE1(long entryId1)
Finds all the asset links where entryId1 = ?. |
List<AssetLink> |
findByE1(long entryId1,
int start,
int end)
Finds a range of all the asset links where entryId1 = ?. |
List<AssetLink> |
findByE1(long entryId1,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset links where entryId1 = ?. |
AssetLink |
findByE2_First(long entryId2,
OrderByComparator orderByComparator)
Finds the first asset link in the ordered set where entryId2 = ?. |
AssetLink |
findByE2_Last(long entryId2,
OrderByComparator orderByComparator)
Finds the last asset link in the ordered set where entryId2 = ?. |
AssetLink[] |
findByE2_PrevAndNext(long linkId,
long entryId2,
OrderByComparator orderByComparator)
Finds the asset links before and after the current asset link in the ordered set where entryId2 = ?. |
AssetLink |
findByE2_T_First(long entryId2,
int type,
OrderByComparator orderByComparator)
Finds the first asset link in the ordered set where entryId2 = ? and type = ?. |
AssetLink |
findByE2_T_Last(long entryId2,
int type,
OrderByComparator orderByComparator)
Finds the last asset link in the ordered set where entryId2 = ? and type = ?. |
AssetLink[] |
findByE2_T_PrevAndNext(long linkId,
long entryId2,
int type,
OrderByComparator orderByComparator)
Finds the asset links before and after the current asset link in the ordered set where entryId2 = ? and type = ?. |
List<AssetLink> |
findByE2_T(long entryId2,
int type)
Finds all the asset links where entryId2 = ? and type = ?. |
List<AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end)
Finds a range of all the asset links where entryId2 = ? and type = ?. |
List<AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset links where entryId2 = ? and type = ?. |
List<AssetLink> |
findByE2(long entryId2)
Finds all the asset links where entryId2 = ?. |
List<AssetLink> |
findByE2(long entryId2,
int start,
int end)
Finds a range of all the asset links where entryId2 = ?. |
List<AssetLink> |
findByE2(long entryId2,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the asset links where entryId2 = ?. |
AssetLink |
findByPrimaryKey(long linkId)
Finds the asset link with the primary key or throws a NoSuchLinkException if it could not be found. |
AssetLink |
findByPrimaryKey(Serializable primaryKey)
Finds the asset link with the primary key or throws a NoSuchModelException 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)
Removes the asset link with the primary key from the database. |
AssetLink |
remove(Serializable primaryKey)
Removes the asset link with the primary key from the database. |
void |
removeAll()
Removes all the asset links from the database. |
void |
removeByE_E_T(long entryId1,
long entryId2,
int type)
Removes all the asset links where entryId1 = ? and entryId2 = ? and type = ? from the database. |
void |
removeByE_E(long entryId1,
long entryId2)
Removes all the asset links where entryId1 = ? and entryId2 = ? from the database. |
void |
removeByE1_T(long entryId1,
int type)
Removes all the asset links where entryId1 = ? and type = ? from the database. |
void |
removeByE1(long entryId1)
Removes all the asset links where entryId1 = ? from the database. |
void |
removeByE2_T(long entryId2,
int type)
Removes all the asset links where entryId2 = ? and type = ? from the database. |
void |
removeByE2(long entryId2)
Removes all the asset links where entryId2 = ? from the database. |
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 |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_E1
public static final FinderPath FINDER_PATH_COUNT_BY_E1
public static final FinderPath FINDER_PATH_FIND_BY_E2
public static final FinderPath FINDER_PATH_COUNT_BY_E2
public static final FinderPath FINDER_PATH_FIND_BY_E_E
public static final FinderPath FINDER_PATH_COUNT_BY_E_E
public static final FinderPath FINDER_PATH_FIND_BY_E1_T
public static final FinderPath FINDER_PATH_COUNT_BY_E1_T
public static final FinderPath FINDER_PATH_FIND_BY_E2_T
public static final FinderPath FINDER_PATH_COUNT_BY_E2_T
public static final FinderPath FINDER_PATH_FIND_BY_E_E_T
public static final FinderPath FINDER_PATH_COUNT_BY_E_E_T
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryPropertyPersistence.class) protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagPropertyPersistence.class) protected AssetTagPropertyPersistence assetTagPropertyPersistence
@BeanReference(type=AssetTagStatsPersistence.class) protected AssetTagStatsPersistence assetTagStatsPersistence
@BeanReference(type=AssetVocabularyPersistence.class) protected AssetVocabularyPersistence assetVocabularyPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public AssetLinkPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(AssetLink assetLink)
cacheResult in interface AssetLinkPersistenceassetLink - the asset link to cachepublic void cacheResult(List<AssetLink> assetLinks)
cacheResult in interface AssetLinkPersistenceassetLinks - the asset links to cachepublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetLink>clearCache in class BasePersistenceImpl<AssetLink>public void clearCache(AssetLink assetLink)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetLink>clearCache in class BasePersistenceImpl<AssetLink>assetLink - the instance of this model to clear the cache forpublic AssetLink create(long linkId)
create in interface AssetLinkPersistencelinkId - the primary key for the new asset link
public AssetLink remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
remove in interface BasePersistence<AssetLink>remove in class BasePersistenceImpl<AssetLink>primaryKey - the primary key of the asset link to remove
NoSuchModelException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
public AssetLink remove(long linkId)
throws NoSuchLinkException,
SystemException
remove in interface AssetLinkPersistencelinkId - the primary key of the asset link to remove
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
protected AssetLink removeImpl(AssetLink assetLink)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetLink>assetLink - the model instance to remove
SystemException - if a system exception occurred
public AssetLink updateImpl(AssetLink assetLink,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetLinkPersistenceupdateImpl in class BasePersistenceImpl<AssetLink>assetLink - the model instance to updatemerge - 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.
SystemException - if a system exception occurredprotected AssetLink toUnwrappedModel(AssetLink assetLink)
public AssetLink findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<AssetLink>findByPrimaryKey in class BasePersistenceImpl<AssetLink>primaryKey - the primary key of the asset link to find
NoSuchModelException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
public AssetLink findByPrimaryKey(long linkId)
throws NoSuchLinkException,
SystemException
NoSuchLinkException if it could not be found.
findByPrimaryKey in interface AssetLinkPersistencelinkId - the primary key of the asset link to find
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
public AssetLink fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetLink>fetchByPrimaryKey in class BasePersistenceImpl<AssetLink>primaryKey - the primary key of the asset link to find
null if a asset link with the primary key could not be found
SystemException - if a system exception occurred
public AssetLink fetchByPrimaryKey(long linkId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface AssetLinkPersistencelinkId - the primary key of the asset link to find
null if a asset link with the primary key could not be found
SystemException - if a system exception occurred
public List<AssetLink> findByE1(long entryId1)
throws SystemException
findByE1 in interface AssetLinkPersistenceentryId1 - the entry id1 to search with
SystemException - if a system exception occurred
public List<AssetLink> findByE1(long entryId1,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1 in interface AssetLinkPersistenceentryId1 - the entry id1 to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)
SystemException - if a system exception occurred
public List<AssetLink> findByE1(long entryId1,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1 in interface AssetLinkPersistenceentryId1 - the entry id1 to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public AssetLink findByE1_First(long entryId1,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_First in interface AssetLinkPersistenceentryId1 - the entry id1 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink findByE1_Last(long entryId1,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_Last in interface AssetLinkPersistenceentryId1 - the entry id1 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink[] findByE1_PrevAndNext(long linkId,
long entryId1,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_PrevAndNext in interface AssetLinkPersistencelinkId - the primary key of the current asset linkentryId1 - the entry id1 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
protected AssetLink getByE1_PrevAndNext(Session session,
AssetLink assetLink,
long entryId1,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetLink> findByE2(long entryId2)
throws SystemException
findByE2 in interface AssetLinkPersistenceentryId2 - the entry id2 to search with
SystemException - if a system exception occurred
public List<AssetLink> findByE2(long entryId2,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2 in interface AssetLinkPersistenceentryId2 - the entry id2 to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)
SystemException - if a system exception occurred
public List<AssetLink> findByE2(long entryId2,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2 in interface AssetLinkPersistenceentryId2 - the entry id2 to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public AssetLink findByE2_First(long entryId2,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_First in interface AssetLinkPersistenceentryId2 - the entry id2 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink findByE2_Last(long entryId2,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_Last in interface AssetLinkPersistenceentryId2 - the entry id2 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink[] findByE2_PrevAndNext(long linkId,
long entryId2,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_PrevAndNext in interface AssetLinkPersistencelinkId - the primary key of the current asset linkentryId2 - the entry id2 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
protected AssetLink getByE2_PrevAndNext(Session session,
AssetLink assetLink,
long entryId2,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetLink> findByE_E(long entryId1,
long entryId2)
throws SystemException
findByE_E in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search with
SystemException - if a system exception occurred
public List<AssetLink> findByE_E(long entryId1,
long entryId2,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)
SystemException - if a system exception occurred
public List<AssetLink> findByE_E(long entryId1,
long entryId2,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public AssetLink findByE_E_First(long entryId1,
long entryId2,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_First in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink findByE_E_Last(long entryId1,
long entryId2,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_Last in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink[] findByE_E_PrevAndNext(long linkId,
long entryId1,
long entryId2,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_PrevAndNext in interface AssetLinkPersistencelinkId - the primary key of the current asset linkentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
protected AssetLink getByE_E_PrevAndNext(Session session,
AssetLink assetLink,
long entryId1,
long entryId2,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetLink> findByE1_T(long entryId1,
int type)
throws SystemException
findByE1_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withtype - the type to search with
SystemException - if a system exception occurred
public List<AssetLink> findByE1_T(long entryId1,
int type,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withtype - the type to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)
SystemException - if a system exception occurred
public List<AssetLink> findByE1_T(long entryId1,
int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withtype - the type to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public AssetLink findByE1_T_First(long entryId1,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_T_First in interface AssetLinkPersistenceentryId1 - the entry id1 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink findByE1_T_Last(long entryId1,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_T_Last in interface AssetLinkPersistenceentryId1 - the entry id1 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink[] findByE1_T_PrevAndNext(long linkId,
long entryId1,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE1_T_PrevAndNext in interface AssetLinkPersistencelinkId - the primary key of the current asset linkentryId1 - the entry id1 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
protected AssetLink getByE1_T_PrevAndNext(Session session,
AssetLink assetLink,
long entryId1,
int type,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetLink> findByE2_T(long entryId2,
int type)
throws SystemException
findByE2_T in interface AssetLinkPersistenceentryId2 - the entry id2 to search withtype - the type to search with
SystemException - if a system exception occurred
public List<AssetLink> findByE2_T(long entryId2,
int type,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_T in interface AssetLinkPersistenceentryId2 - the entry id2 to search withtype - the type to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)
SystemException - if a system exception occurred
public List<AssetLink> findByE2_T(long entryId2,
int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_T in interface AssetLinkPersistenceentryId2 - the entry id2 to search withtype - the type to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public AssetLink findByE2_T_First(long entryId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_T_First in interface AssetLinkPersistenceentryId2 - the entry id2 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink findByE2_T_Last(long entryId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_T_Last in interface AssetLinkPersistenceentryId2 - the entry id2 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink[] findByE2_T_PrevAndNext(long linkId,
long entryId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE2_T_PrevAndNext in interface AssetLinkPersistencelinkId - the primary key of the current asset linkentryId2 - the entry id2 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
protected AssetLink getByE2_T_PrevAndNext(Session session,
AssetLink assetLink,
long entryId2,
int type,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetLink> findByE_E_T(long entryId1,
long entryId2,
int type)
throws SystemException
findByE_E_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search with
SystemException - if a system exception occurred
public List<AssetLink> findByE_E_T(long entryId1,
long entryId2,
int type,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)
SystemException - if a system exception occurred
public List<AssetLink> findByE_E_T(long entryId1,
long entryId2,
int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search withstart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public AssetLink findByE_E_T_First(long entryId1,
long entryId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_T_First in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink findByE_E_T_Last(long entryId1,
long entryId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_T_Last in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a matching asset link could not be found
SystemException - if a system exception occurred
public AssetLink[] findByE_E_T_PrevAndNext(long linkId,
long entryId1,
long entryId2,
int type,
OrderByComparator orderByComparator)
throws NoSuchLinkException,
SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByE_E_T_PrevAndNext in interface AssetLinkPersistencelinkId - the primary key of the current asset linkentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLinkException - if a asset link with the primary key could not be found
SystemException - if a system exception occurred
protected AssetLink getByE_E_T_PrevAndNext(Session session,
AssetLink assetLink,
long entryId1,
long entryId2,
int type,
OrderByComparator orderByComparator,
boolean previous)
public List<AssetLink> findAll()
throws SystemException
findAll in interface AssetLinkPersistenceSystemException - if a system exception occurred
public List<AssetLink> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface AssetLinkPersistencestart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)
SystemException - if a system exception occurred
public List<AssetLink> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface AssetLinkPersistencestart - the lower bound of the range of asset links to returnend - the upper bound of the range of asset links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public void removeByE1(long entryId1)
throws SystemException
removeByE1 in interface AssetLinkPersistenceentryId1 - the entry id1 to search with
SystemException - if a system exception occurred
public void removeByE2(long entryId2)
throws SystemException
removeByE2 in interface AssetLinkPersistenceentryId2 - the entry id2 to search with
SystemException - if a system exception occurred
public void removeByE_E(long entryId1,
long entryId2)
throws SystemException
removeByE_E in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search with
SystemException - if a system exception occurred
public void removeByE1_T(long entryId1,
int type)
throws SystemException
removeByE1_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withtype - the type to search with
SystemException - if a system exception occurred
public void removeByE2_T(long entryId2,
int type)
throws SystemException
removeByE2_T in interface AssetLinkPersistenceentryId2 - the entry id2 to search withtype - the type to search with
SystemException - if a system exception occurred
public void removeByE_E_T(long entryId1,
long entryId2,
int type)
throws SystemException
removeByE_E_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search with
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface AssetLinkPersistenceSystemException - if a system exception occurred
public int countByE1(long entryId1)
throws SystemException
countByE1 in interface AssetLinkPersistenceentryId1 - the entry id1 to search with
SystemException - if a system exception occurred
public int countByE2(long entryId2)
throws SystemException
countByE2 in interface AssetLinkPersistenceentryId2 - the entry id2 to search with
SystemException - if a system exception occurred
public int countByE_E(long entryId1,
long entryId2)
throws SystemException
countByE_E in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search with
SystemException - if a system exception occurred
public int countByE1_T(long entryId1,
int type)
throws SystemException
countByE1_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withtype - the type to search with
SystemException - if a system exception occurred
public int countByE2_T(long entryId2,
int type)
throws SystemException
countByE2_T in interface AssetLinkPersistenceentryId2 - the entry id2 to search withtype - the type to search with
SystemException - if a system exception occurred
public int countByE_E_T(long entryId1,
long entryId2,
int type)
throws SystemException
countByE_E_T in interface AssetLinkPersistenceentryId1 - the entry id1 to search withentryId2 - the entry id2 to search withtype - the type to search with
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface AssetLinkPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||