|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetLinkPersistence
The persistence interface for the asset link service.
Never modify or reference this interface directly. Always use AssetLinkUtil
to access the asset link persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
Caching information and settings can be found in portal.properties
AssetLinkPersistenceImpl
,
AssetLinkUtil
Method Summary | |
---|---|
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. |
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. |
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 |
remove(long linkId)
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. |
AssetLink |
updateImpl(AssetLink assetLink,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(AssetLink assetLink)
assetLink
- the asset link to cachevoid cacheResult(List<AssetLink> assetLinks)
assetLinks
- the asset links to cacheAssetLink create(long linkId)
linkId
- the primary key for the new asset link
AssetLink remove(long linkId) throws SystemException, NoSuchLinkException
linkId
- 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 occurredAssetLink updateImpl(AssetLink assetLink, boolean merge) throws SystemException
SystemException
AssetLink findByPrimaryKey(long linkId) throws SystemException, NoSuchLinkException
NoSuchLinkException
if it could not be found.
linkId
- 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 occurredAssetLink fetchByPrimaryKey(long linkId) throws SystemException
null
if it could not be found.
linkId
- 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 occurredList<AssetLink> findByE1(long entryId1) throws SystemException
entryId1
- the entry id1 to search with
SystemException
- if a system exception occurredList<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.
entryId1
- 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 occurredList<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.
entryId1
- 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 occurredAssetLink findByE1_First(long entryId1, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink findByE1_Last(long entryId1, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink[] findByE1_PrevAndNext(long linkId, long entryId1, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
linkId
- 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 occurredList<AssetLink> findByE2(long entryId2) throws SystemException
entryId2
- the entry id2 to search with
SystemException
- if a system exception occurredList<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.
entryId2
- 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 occurredList<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.
entryId2
- 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 occurredAssetLink findByE2_First(long entryId2, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId2
- 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 occurredAssetLink findByE2_Last(long entryId2, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId2
- 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 occurredAssetLink[] findByE2_PrevAndNext(long linkId, long entryId2, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
linkId
- 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 occurredList<AssetLink> findByE_E(long entryId1, long entryId2) throws SystemException
entryId1
- the entry id1 to search withentryId2
- the entry id2 to search with
SystemException
- if a system exception occurredList<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.
entryId1
- 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 occurredList<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.
entryId1
- 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 occurredAssetLink findByE_E_First(long entryId1, long entryId2, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink findByE_E_Last(long entryId1, long entryId2, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink[] findByE_E_PrevAndNext(long linkId, long entryId1, long entryId2, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
linkId
- 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 occurredList<AssetLink> findByE1_T(long entryId1, int type) throws SystemException
entryId1
- the entry id1 to search withtype
- the type to search with
SystemException
- if a system exception occurredList<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.
entryId1
- 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 occurredList<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.
entryId1
- 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 occurredAssetLink findByE1_T_First(long entryId1, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink findByE1_T_Last(long entryId1, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink[] findByE1_T_PrevAndNext(long linkId, long entryId1, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
linkId
- 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 occurredList<AssetLink> findByE2_T(long entryId2, int type) throws SystemException
entryId2
- the entry id2 to search withtype
- the type to search with
SystemException
- if a system exception occurredList<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.
entryId2
- 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 occurredList<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.
entryId2
- 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 occurredAssetLink findByE2_T_First(long entryId2, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId2
- 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 occurredAssetLink findByE2_T_Last(long entryId2, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId2
- 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 occurredAssetLink[] findByE2_T_PrevAndNext(long linkId, long entryId2, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
linkId
- 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 occurredList<AssetLink> findByE_E_T(long entryId1, long entryId2, int type) throws SystemException
entryId1
- the entry id1 to search withentryId2
- the entry id2 to search withtype
- the type to search with
SystemException
- if a system exception occurredList<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.
entryId1
- 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 occurredList<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.
entryId1
- 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 occurredAssetLink findByE_E_T_First(long entryId1, long entryId2, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink findByE_E_T_Last(long entryId1, long entryId2, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
entryId1
- 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 occurredAssetLink[] findByE_E_T_PrevAndNext(long linkId, long entryId1, long entryId2, int type, OrderByComparator orderByComparator) throws SystemException, NoSuchLinkException
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.
linkId
- 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 occurredList<AssetLink> findAll() throws SystemException
SystemException
- if a system exception occurredList<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.
start
- 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 occurredList<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.
start
- 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 occurredvoid removeByE1(long entryId1) throws SystemException
entryId1
- the entry id1 to search with
SystemException
- if a system exception occurredvoid removeByE2(long entryId2) throws SystemException
entryId2
- the entry id2 to search with
SystemException
- if a system exception occurredvoid removeByE_E(long entryId1, long entryId2) throws SystemException
entryId1
- the entry id1 to search withentryId2
- the entry id2 to search with
SystemException
- if a system exception occurredvoid removeByE1_T(long entryId1, int type) throws SystemException
entryId1
- the entry id1 to search withtype
- the type to search with
SystemException
- if a system exception occurredvoid removeByE2_T(long entryId2, int type) throws SystemException
entryId2
- the entry id2 to search withtype
- the type to search with
SystemException
- if a system exception occurredvoid removeByE_E_T(long entryId1, long entryId2, int type) throws SystemException
entryId1
- the entry id1 to search withentryId2
- the entry id2 to search withtype
- the type to search with
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByE1(long entryId1) throws SystemException
entryId1
- the entry id1 to search with
SystemException
- if a system exception occurredint countByE2(long entryId2) throws SystemException
entryId2
- the entry id2 to search with
SystemException
- if a system exception occurredint countByE_E(long entryId1, long entryId2) throws SystemException
entryId1
- the entry id1 to search withentryId2
- the entry id2 to search with
SystemException
- if a system exception occurredint countByE1_T(long entryId1, int type) throws SystemException
entryId1
- the entry id1 to search withtype
- the type to search with
SystemException
- if a system exception occurredint countByE2_T(long entryId2, int type) throws SystemException
entryId2
- the entry id2 to search withtype
- the type to search with
SystemException
- if a system exception occurredint countByE_E_T(long entryId1, long entryId2, int type) throws SystemException
entryId1
- the entry id1 to search withentryId2
- the entry id2 to search withtype
- the type to search with
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |