public class AssetLinkPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>
implements com.liferay.asset.kernel.service.persistence.AssetLinkPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
|---|
AssetLinkPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the asset link persistence.
|
void |
cacheResult(com.liferay.asset.kernel.model.AssetLink assetLink)
Caches the asset link in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.asset.kernel.model.AssetLink> assetLinks)
Caches the asset links in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(AssetLinkModelImpl assetLinkModelImpl) |
void |
clearCache()
Clears the cache for all asset links.
|
void |
clearCache(com.liferay.asset.kernel.model.AssetLink assetLink)
Clears the cache for the asset link.
|
void |
clearCache(List<com.liferay.asset.kernel.model.AssetLink> assetLinks) |
void |
clearCache(Set<Serializable> primaryKeys) |
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 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
create(long linkId)
Creates a new asset link with the primary key.
|
void |
destroy() |
com.liferay.asset.kernel.model.AssetLink |
fetchByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetLink |
fetchByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByEntryId1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByEntryId1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByEntryId2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByEntryId2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
fetchByPrimaryKey(long linkId)
Returns the asset link with the primary key or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetLink |
fetchByPrimaryKey(Serializable primaryKey)
Returns the asset link with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.asset.kernel.model.AssetLink> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<com.liferay.asset.kernel.model.AssetLink> |
findAll()
Returns all the asset links.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findAll(int start,
int end)
Returns a range of all the asset links.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns an ordered range of all the asset links.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links.
|
com.liferay.asset.kernel.model.AssetLink |
findByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink[] |
findByE_E_PrevAndNext(long linkId,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.AssetLink> |
findByE_E(long entryId1,
long entryId2)
Returns all the asset links where entryId1 = ? and entryId2 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end)
Returns a range of all the asset links where entryId1 = ? and entryId2 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink[] |
findByE1_T_PrevAndNext(long linkId,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE1_T(long entryId1,
int type)
Returns all the asset links where entryId1 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end)
Returns a range of all the asset links where entryId1 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId1 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink[] |
findByE2_T_PrevAndNext(long linkId,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId2 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE2_T(long entryId2,
int type)
Returns all the asset links where entryId2 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end)
Returns a range of all the asset links where entryId2 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId2 = ? and type = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId2 = ? and type = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByEntryId1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByEntryId1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ?.
|
com.liferay.asset.kernel.model.AssetLink[] |
findByEntryId1_PrevAndNext(long linkId,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId1(long entryId1)
Returns all the asset links where entryId1 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId1(long entryId1,
int start,
int end)
Returns a range of all the asset links where entryId1 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId1(long entryId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId1(long entryId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId1 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByEntryId2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByEntryId2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink[] |
findByEntryId2_PrevAndNext(long linkId,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId2 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId2(long entryId2)
Returns all the asset links where entryId2 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId2(long entryId2,
int start,
int end)
Returns a range of all the asset links where entryId2 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId2(long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
Returns an ordered range of all the asset links where entryId2 = ?.
|
List<com.liferay.asset.kernel.model.AssetLink> |
findByEntryId2(long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset links where entryId2 = ?.
|
com.liferay.asset.kernel.model.AssetLink |
findByPrimaryKey(long linkId)
Returns the asset link with the primary key or throws a
NoSuchLinkException if it could not be found. |
com.liferay.asset.kernel.model.AssetLink |
findByPrimaryKey(Serializable primaryKey)
Returns the asset link with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.asset.kernel.model.AssetLink |
getByE_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetLink |
getByE1_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetLink |
getByE2_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetLink |
getByEntryId1_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetLink |
getByEntryId2_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
com.liferay.asset.kernel.model.AssetLink |
remove(long linkId)
Removes the asset link with the primary key from the database.
|
com.liferay.asset.kernel.model.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.
|
com.liferay.asset.kernel.model.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.
|
protected com.liferay.asset.kernel.model.AssetLink |
removeImpl(com.liferay.asset.kernel.model.AssetLink assetLink) |
com.liferay.asset.kernel.model.AssetLink |
updateImpl(com.liferay.asset.kernel.model.AssetLink assetLink) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.asset.kernel.model.AssetLink> findByEntryId1(long entryId1)
findByEntryId1 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1public List<com.liferay.asset.kernel.model.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.
findByEntryId1 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1start - the lower bound of the range of asset linksend - the upper bound of the range of asset links (not inclusive)public List<com.liferay.asset.kernel.model.AssetLink> findByEntryId1(long entryId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByEntryId1 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByEntryId1(long entryId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByEntryId1 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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 cachepublic com.liferay.asset.kernel.model.AssetLink findByEntryId1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByEntryId1_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByEntryId1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByEntryId1_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink findByEntryId1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByEntryId1_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByEntryId1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByEntryId1_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink[] findByEntryId1_PrevAndNext(long linkId,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByEntryId1_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the current asset linkentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetLink getByEntryId1_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous)
public void removeByEntryId1(long entryId1)
removeByEntryId1 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1public int countByEntryId1(long entryId1)
countByEntryId1 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1public List<com.liferay.asset.kernel.model.AssetLink> findByEntryId2(long entryId2)
findByEntryId2 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2public List<com.liferay.asset.kernel.model.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.
findByEntryId2 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2start - the lower bound of the range of asset linksend - the upper bound of the range of asset links (not inclusive)public List<com.liferay.asset.kernel.model.AssetLink> findByEntryId2(long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByEntryId2 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByEntryId2(long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByEntryId2 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - 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 cachepublic com.liferay.asset.kernel.model.AssetLink findByEntryId2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByEntryId2_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByEntryId2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByEntryId2_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink findByEntryId2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByEntryId2_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByEntryId2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByEntryId2_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink[] findByEntryId2_PrevAndNext(long linkId,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByEntryId2_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the current asset linkentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetLink getByEntryId2_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous)
public void removeByEntryId2(long entryId2)
removeByEntryId2 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2public int countByEntryId2(long entryId2)
countByEntryId2 in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2public List<com.liferay.asset.kernel.model.AssetLink> findByE_E(long entryId1,
long entryId2)
findByE_E in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2public List<com.liferay.asset.kernel.model.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.
findByE_E in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByE_E(long entryId1,
long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByE_E in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByE_E(long entryId1,
long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByE_E in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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 cachepublic com.liferay.asset.kernel.model.AssetLink findByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE_E_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByE_E_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink findByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE_E_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByE_E_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink[] findByE_E_PrevAndNext(long linkId,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE_E_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the current asset linkentryId1 - the entry id1entryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetLink getByE_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous)
public void removeByE_E(long entryId1,
long entryId2)
removeByE_E in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2public int countByE_E(long entryId1,
long entryId2)
countByE_E in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2public List<com.liferay.asset.kernel.model.AssetLink> findByE1_T(long entryId1,
int type)
findByE1_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typepublic List<com.liferay.asset.kernel.model.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.
findByE1_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByE1_T(long entryId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByE1_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByE1_T(long entryId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByE1_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - 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 cachepublic com.liferay.asset.kernel.model.AssetLink findByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE1_T_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByE1_T_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink findByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE1_T_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByE1_T_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink[] findByE1_T_PrevAndNext(long linkId,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE1_T_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the current asset linkentryId1 - the entry id1type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetLink getByE1_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous)
public void removeByE1_T(long entryId1,
int type)
removeByE1_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typepublic int countByE1_T(long entryId1,
int type)
countByE1_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typepublic List<com.liferay.asset.kernel.model.AssetLink> findByE2_T(long entryId2,
int type)
findByE2_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typepublic List<com.liferay.asset.kernel.model.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.
findByE2_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByE2_T(long entryId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByE2_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - 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)public List<com.liferay.asset.kernel.model.AssetLink> findByE2_T(long entryId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findByE2_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - 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 cachepublic com.liferay.asset.kernel.model.AssetLink findByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE2_T_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByE2_T_First in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink findByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE2_T_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
fetchByE2_T_Last in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink[] findByE2_T_PrevAndNext(long linkId,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
findByE2_T_PrevAndNext in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the current asset linkentryId2 - the entry id2type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetLink getByE2_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetLink assetLink,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetLink> orderByComparator,
boolean previous)
public void removeByE2_T(long entryId2,
int type)
removeByE2_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typepublic int countByE2_T(long entryId2,
int type)
countByE2_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typepublic com.liferay.asset.kernel.model.AssetLink findByE_E_T(long entryId1,
long entryId2,
int type)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
NoSuchLinkException if it could not be found.findByE_E_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typecom.liferay.asset.kernel.exception.NoSuchLinkException - if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE_E_T(long entryId1,
long entryId2,
int type)
null if it could not be found. Uses the finder cache.fetchByE_E_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typenull if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByE_E_T(long entryId1,
long entryId2,
int type,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByE_E_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typeuseFinderCache - whether to use the finder cachenull if a matching asset link could not be foundpublic com.liferay.asset.kernel.model.AssetLink removeByE_E_T(long entryId1,
long entryId2,
int type)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
removeByE_E_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typecom.liferay.asset.kernel.exception.NoSuchLinkExceptionpublic int countByE_E_T(long entryId1,
long entryId2,
int type)
countByE_E_T in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typepublic void cacheResult(com.liferay.asset.kernel.model.AssetLink assetLink)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>assetLink - the asset linkpublic void cacheResult(List<com.liferay.asset.kernel.model.AssetLink> assetLinks)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceassetLinks - the asset linkspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public void clearCache(com.liferay.asset.kernel.model.AssetLink assetLink)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public void clearCache(List<com.liferay.asset.kernel.model.AssetLink> assetLinks)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>protected void cacheUniqueFindersCache(AssetLinkModelImpl assetLinkModelImpl)
public com.liferay.asset.kernel.model.AssetLink create(long linkId)
create in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key for the new asset linkpublic com.liferay.asset.kernel.model.AssetLink remove(long linkId)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
remove in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the asset linkcom.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetLink remove(Serializable primaryKey)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>primaryKey - the primary key of the asset linkcom.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetLink removeImpl(com.liferay.asset.kernel.model.AssetLink assetLink)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public com.liferay.asset.kernel.model.AssetLink updateImpl(com.liferay.asset.kernel.model.AssetLink assetLink)
updateImpl in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public com.liferay.asset.kernel.model.AssetLink findByPrimaryKey(Serializable primaryKey)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>primaryKey - the primary key of the asset linkcom.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetLink findByPrimaryKey(long linkId)
throws com.liferay.asset.kernel.exception.NoSuchLinkException
NoSuchLinkException if it could not be found.findByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the asset linkcom.liferay.asset.kernel.exception.NoSuchLinkException - if a asset link with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>primaryKey - the primary key of the asset linknull if a asset link with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetLink fetchByPrimaryKey(long linkId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencelinkId - the primary key of the asset linknull if a asset link with the primary key could not be foundpublic Map<Serializable,com.liferay.asset.kernel.model.AssetLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public List<com.liferay.asset.kernel.model.AssetLink> findAll()
findAll in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencepublic List<com.liferay.asset.kernel.model.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.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencestart - the lower bound of the range of asset linksend - the upper bound of the range of asset links (not inclusive)public List<com.liferay.asset.kernel.model.AssetLink> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencestart - 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)public List<com.liferay.asset.kernel.model.AssetLink> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.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.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencestart - 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 cachepublic void removeAll()
removeAll in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencepublic int countAll()
countAll in interface com.liferay.asset.kernel.service.persistence.AssetLinkPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetLink>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetLink>public List<String> getMappingTableNames()
getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetLink>public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetLink>getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>public String getTableName()
getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetLink>public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetLink>public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetLink>