@ProviderType public interface AssetLinkPersistence extends BasePersistence<AssetLink>, CTPersistence<AssetLink>
Caching information and settings can be found in portal.properties
AssetLinkUtil
Modifier and Type | Method and Description |
---|---|
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()
Returns the number of asset links.
|
int |
countByE_E_T(long entryId1,
long entryId2,
int type)
Returns the number of asset links where entryId1 = ? and entryId2 = ? and type = ?.
|
int |
countByE_E(long entryId1,
long entryId2)
Returns the number of asset links where entryId1 = ? and entryId2 = ?.
|
int |
countByE1_T(long entryId1,
int type)
Returns the number of asset links where entryId1 = ? and type = ?.
|
int |
countByE2_T(long entryId2,
int type)
Returns the number of asset links where entryId2 = ? and type = ?.
|
int |
countByEntryId1(long entryId1)
Returns the number of asset links where entryId1 = ?.
|
int |
countByEntryId2(long entryId2)
Returns the number of asset links where entryId2 = ?.
|
AssetLink |
create(long linkId)
Creates a new asset link with the primary key.
|
AssetLink |
fetchByE_E_First(long entryId1,
long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
AssetLink |
fetchByE_E_Last(long entryId1,
long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
AssetLink |
fetchByE_E_T(long entryId1,
long entryId2,
int type)
Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns
null if it could not be found. |
AssetLink |
fetchByE_E_T(long entryId1,
long entryId2,
int type,
boolean useFinderCache)
Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
AssetLink |
fetchByE1_T_First(long entryId1,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
|
AssetLink |
fetchByE1_T_Last(long entryId1,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
|
AssetLink |
fetchByE2_T_First(long entryId2,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
|
AssetLink |
fetchByE2_T_Last(long entryId2,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
|
AssetLink |
fetchByEntryId1_First(long entryId1,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ?.
|
AssetLink |
fetchByEntryId1_Last(long entryId1,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ?.
|
AssetLink |
fetchByEntryId2_First(long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ?.
|
AssetLink |
fetchByEntryId2_Last(long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ?.
|
AssetLink |
fetchByPrimaryKey(long linkId)
Returns the asset link with the primary key or returns
null if it could not be found. |
List<AssetLink> |
findAll()
Returns all the asset links.
|
List<AssetLink> |
findAll(int start,
int end)
Returns a range of all the asset links.
|
List<AssetLink> |
findAll(int start,
int end,
OrderByComparator<AssetLink> orderByComparator)
Returns an ordered range of all the asset links.
|
List<AssetLink> |
findAll(int start,
int end,
OrderByComparator<AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links.
|
AssetLink |
findByE_E_First(long entryId1,
long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
AssetLink |
findByE_E_Last(long entryId1,
long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
AssetLink[] |
findByE_E_PrevAndNext(long linkId,
long entryId1,
long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
AssetLink |
findByE_E_T(long entryId1,
long entryId2,
int type)
Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or throws a
NoSuchLinkException if it could not be found. |
List<AssetLink> |
findByE_E(long entryId1,
long entryId2)
Returns all the asset links where entryId1 = ? and entryId2 = ?.
|
List<AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end)
Returns a range of all the asset links where entryId1 = ? and entryId2 = ?.
|
List<AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.
|
List<AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.
|
AssetLink |
findByE1_T_First(long entryId1,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
|
AssetLink |
findByE1_T_Last(long entryId1,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
|
AssetLink[] |
findByE1_T_PrevAndNext(long linkId,
long entryId1,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns 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)
Returns all the asset links where entryId1 = ? and type = ?.
|
List<AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end)
Returns a range of all the asset links where entryId1 = ? and type = ?.
|
List<AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ? and type = ?.
|
List<AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId1 = ? and type = ?.
|
AssetLink |
findByE2_T_First(long entryId2,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
|
AssetLink |
findByE2_T_Last(long entryId2,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
|
AssetLink[] |
findByE2_T_PrevAndNext(long linkId,
long entryId2,
int type,
OrderByComparator<AssetLink> orderByComparator)
Returns 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)
Returns all the asset links where entryId2 = ? and type = ?.
|
List<AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end)
Returns a range of all the asset links where entryId2 = ? and type = ?.
|
List<AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId2 = ? and type = ?.
|
List<AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId2 = ? and type = ?.
|
AssetLink |
findByEntryId1_First(long entryId1,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ?.
|
AssetLink |
findByEntryId1_Last(long entryId1,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ?.
|
AssetLink[] |
findByEntryId1_PrevAndNext(long linkId,
long entryId1,
OrderByComparator<AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ?.
|
List<AssetLink> |
findByEntryId1(long entryId1)
Returns all the asset links where entryId1 = ?.
|
List<AssetLink> |
findByEntryId1(long entryId1,
int start,
int end)
Returns a range of all the asset links where entryId1 = ?.
|
List<AssetLink> |
findByEntryId1(long entryId1,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ?.
|
List<AssetLink> |
findByEntryId1(long entryId1,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId1 = ?.
|
AssetLink |
findByEntryId2_First(long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ?.
|
AssetLink |
findByEntryId2_Last(long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ?.
|
AssetLink[] |
findByEntryId2_PrevAndNext(long linkId,
long entryId2,
OrderByComparator<AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId2 = ?.
|
List<AssetLink> |
findByEntryId2(long entryId2)
Returns all the asset links where entryId2 = ?.
|
List<AssetLink> |
findByEntryId2(long entryId2,
int start,
int end)
Returns a range of all the asset links where entryId2 = ?.
|
List<AssetLink> |
findByEntryId2(long entryId2,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId2 = ?.
|
List<AssetLink> |
findByEntryId2(long entryId2,
int start,
int end,
OrderByComparator<AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId2 = ?.
|
AssetLink |
findByPrimaryKey(long linkId)
Returns 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.
|
AssetLink |
removeByE_E_T(long entryId1,
long entryId2,
int type)
Removes the asset link 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 |
removeByE2_T(long entryId2,
int type)
Removes all the asset links where entryId2 = ? and type = ? from the database.
|
void |
removeByEntryId1(long entryId1)
Removes all the asset links where entryId1 = ? from the database.
|
void |
removeByEntryId2(long entryId2)
Removes all the asset links where entryId2 = ? from the database.
|
AssetLink |
updateImpl(AssetLink assetLink) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<AssetLink> findByEntryId1(long entryId1)
entryId1
- the entry id1List<AssetLink> findByEntryId1(long entryId1, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)List<AssetLink> findByEntryId1(long entryId1, int start, int end, OrderByComparator<AssetLink> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetLink> findByEntryId1(long entryId1, int start, int end, OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAssetLink findByEntryId1_First(long entryId1, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId1
- the entry id1orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByEntryId1_First(long entryId1, OrderByComparator<AssetLink> orderByComparator)
entryId1
- the entry id1orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink findByEntryId1_Last(long entryId1, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId1
- the entry id1orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByEntryId1_Last(long entryId1, OrderByComparator<AssetLink> orderByComparator)
entryId1
- the entry id1orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink[] findByEntryId1_PrevAndNext(long linkId, long entryId1, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
linkId
- the primary key of the current asset linkentryId1
- the entry id1orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a asset link with the primary key could not be foundvoid removeByEntryId1(long entryId1)
entryId1
- the entry id1int countByEntryId1(long entryId1)
entryId1
- the entry id1List<AssetLink> findByEntryId2(long entryId2)
entryId2
- the entry id2List<AssetLink> findByEntryId2(long entryId2, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId2
- the entry id2start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)List<AssetLink> findByEntryId2(long entryId2, int start, int end, OrderByComparator<AssetLink> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId2
- the entry id2start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetLink> findByEntryId2(long entryId2, int start, int end, OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId2
- the entry id2start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAssetLink findByEntryId2_First(long entryId2, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByEntryId2_First(long entryId2, OrderByComparator<AssetLink> orderByComparator)
entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink findByEntryId2_Last(long entryId2, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByEntryId2_Last(long entryId2, OrderByComparator<AssetLink> orderByComparator)
entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink[] findByEntryId2_PrevAndNext(long linkId, long entryId2, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
linkId
- the primary key of the current asset linkentryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a asset link with the primary key could not be foundvoid removeByEntryId2(long entryId2)
entryId2
- the entry id2int countByEntryId2(long entryId2)
entryId2
- the entry id2List<AssetLink> findByE_E(long entryId1, long entryId2)
entryId1
- the entry id1entryId2
- the entry id2List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1entryId2
- the entry id2start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end, OrderByComparator<AssetLink> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1entryId2
- the entry id2start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetLink> findByE_E(long entryId1, long entryId2, int start, int end, OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1entryId2
- the entry id2start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAssetLink findByE_E_First(long entryId1, long entryId2, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId1
- the entry id1entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByE_E_First(long entryId1, long entryId2, OrderByComparator<AssetLink> orderByComparator)
entryId1
- the entry id1entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink findByE_E_Last(long entryId1, long entryId2, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId1
- the entry id1entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByE_E_Last(long entryId1, long entryId2, OrderByComparator<AssetLink> orderByComparator)
entryId1
- the entry id1entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink[] findByE_E_PrevAndNext(long linkId, long entryId1, long entryId2, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
linkId
- the primary key of the current asset linkentryId1
- the entry id1entryId2
- the entry id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a asset link with the primary key could not be foundvoid removeByE_E(long entryId1, long entryId2)
entryId1
- the entry id1entryId2
- the entry id2int countByE_E(long entryId1, long entryId2)
entryId1
- the entry id1entryId2
- the entry id2List<AssetLink> findByE1_T(long entryId1, int type)
entryId1
- the entry id1type
- the typeList<AssetLink> findByE1_T(long entryId1, int type, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1type
- the typestart
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)List<AssetLink> findByE1_T(long entryId1, int type, int start, int end, OrderByComparator<AssetLink> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1type
- the typestart
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetLink> findByE1_T(long entryId1, int type, int start, int end, OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId1
- the entry id1type
- the typestart
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAssetLink findByE1_T_First(long entryId1, int type, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId1
- the entry id1type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByE1_T_First(long entryId1, int type, OrderByComparator<AssetLink> orderByComparator)
entryId1
- the entry id1type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink findByE1_T_Last(long entryId1, int type, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId1
- the entry id1type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByE1_T_Last(long entryId1, int type, OrderByComparator<AssetLink> orderByComparator)
entryId1
- the entry id1type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink[] findByE1_T_PrevAndNext(long linkId, long entryId1, int type, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
linkId
- the primary key of the current asset linkentryId1
- the entry id1type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a asset link with the primary key could not be foundvoid removeByE1_T(long entryId1, int type)
entryId1
- the entry id1type
- the typeint countByE1_T(long entryId1, int type)
entryId1
- the entry id1type
- the typeList<AssetLink> findByE2_T(long entryId2, int type)
entryId2
- the entry id2type
- the typeList<AssetLink> findByE2_T(long entryId2, int type, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId2
- the entry id2type
- the typestart
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)List<AssetLink> findByE2_T(long entryId2, int type, int start, int end, OrderByComparator<AssetLink> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId2
- the entry id2type
- the typestart
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetLink> findByE2_T(long entryId2, int type, int start, int end, OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
entryId2
- the entry id2type
- the typestart
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAssetLink findByE2_T_First(long entryId2, int type, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId2
- the entry id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByE2_T_First(long entryId2, int type, OrderByComparator<AssetLink> orderByComparator)
entryId2
- the entry id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink findByE2_T_Last(long entryId2, int type, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
entryId2
- the entry id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByE2_T_Last(long entryId2, int type, OrderByComparator<AssetLink> orderByComparator)
entryId2
- the entry id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset link could not be foundAssetLink[] findByE2_T_PrevAndNext(long linkId, long entryId2, int type, OrderByComparator<AssetLink> orderByComparator) throws NoSuchLinkException
linkId
- the primary key of the current asset linkentryId2
- the entry id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLinkException
- if a asset link with the primary key could not be foundvoid removeByE2_T(long entryId2, int type)
entryId2
- the entry id2type
- the typeint countByE2_T(long entryId2, int type)
entryId2
- the entry id2type
- the typeAssetLink findByE_E_T(long entryId1, long entryId2, int type) throws NoSuchLinkException
NoSuchLinkException
if it could not be found.entryId1
- the entry id1entryId2
- the entry id2type
- the typeNoSuchLinkException
- if a matching asset link could not be foundAssetLink fetchByE_E_T(long entryId1, long entryId2, int type)
null
if it could not be found. Uses the finder cache.entryId1
- the entry id1entryId2
- the entry id2type
- the typenull
if a matching asset link could not be foundAssetLink fetchByE_E_T(long entryId1, long entryId2, int type, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.entryId1
- the entry id1entryId2
- the entry id2type
- the typeuseFinderCache
- whether to use the finder cachenull
if a matching asset link could not be foundAssetLink removeByE_E_T(long entryId1, long entryId2, int type) throws NoSuchLinkException
entryId1
- the entry id1entryId2
- the entry id2type
- the typeNoSuchLinkException
int countByE_E_T(long entryId1, long entryId2, int type)
entryId1
- the entry id1entryId2
- the entry id2type
- the typevoid cacheResult(AssetLink assetLink)
assetLink
- the asset linkvoid cacheResult(List<AssetLink> assetLinks)
assetLinks
- the asset linksAssetLink create(long linkId)
linkId
- the primary key for the new asset linkAssetLink remove(long linkId) throws NoSuchLinkException
linkId
- the primary key of the asset linkNoSuchLinkException
- if a asset link with the primary key could not be foundAssetLink findByPrimaryKey(long linkId) throws NoSuchLinkException
NoSuchLinkException
if it could not be found.linkId
- the primary key of the asset linkNoSuchLinkException
- if a asset link with the primary key could not be foundAssetLink fetchByPrimaryKey(long linkId)
null
if it could not be found.linkId
- the primary key of the asset linknull
if a asset link with the primary key could not be foundList<AssetLink> findAll()
List<AssetLink> findAll(int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)List<AssetLink> findAll(int start, int end, OrderByComparator<AssetLink> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<AssetLink> findAll(int start, int end, OrderByComparator<AssetLink> orderByComparator, boolean useFinderCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetLinkModelImpl
.
start
- the lower bound of the range of asset linksend
- the upper bound of the range of asset links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()