public class AssetLinkPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>
implements com.liferay.portlet.asset.service.persistence.AssetLinkPersistence
Caching information and settings can be found in portal.properties
AssetLinkPersistence,
AssetLinkUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_E_E |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_E_E_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_E1 |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_E1_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_E2 |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_E2_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_E_E_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_E_E |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_E1 |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_E1_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_E2 |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_E2_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E_E |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E1 |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E1_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E2 |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E2_T |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
AssetLinkPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the asset link persistence.
|
void |
cacheResult(com.liferay.portlet.asset.model.AssetLink assetLink)
Caches the asset link in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetLink> assetLinks)
Caches the asset links in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetLink assetLink) |
void |
clearCache()
Clears the cache for all asset links.
|
void |
clearCache(com.liferay.portlet.asset.model.AssetLink assetLink)
Clears the cache for the asset link.
|
void |
clearCache(java.util.List<com.liferay.portlet.asset.model.AssetLink> assetLinks) |
protected void |
clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetLink assetLink) |
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 |
countByE1(long entryId1)
Returns the number of asset links where entryId1 = ?.
|
int |
countByE2_T(long entryId2,
int type)
Returns the number of asset links where entryId2 = ? and type = ?.
|
int |
countByE2(long entryId2)
Returns the number of asset links where entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
create(long linkId)
Creates a new asset link with the primary key.
|
void |
destroy() |
com.liferay.portlet.asset.model.AssetLink |
fetchByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.portlet.asset.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.portlet.asset.model.AssetLink |
fetchByE_E_T(long entryId1,
long entryId2,
int type,
boolean retrieveFromCache)
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.portlet.asset.model.AssetLink |
fetchByE1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink |
fetchByPrimaryKey(long linkId)
Returns the asset link with the primary key or returns
null if it could not be found. |
com.liferay.portlet.asset.model.AssetLink |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset link with the primary key or returns
null if it could not be found. |
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findAll()
Returns all the asset links.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findAll(int start,
int end)
Returns a range of all the asset links.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset links.
|
com.liferay.portlet.asset.model.AssetLink |
findByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink[] |
findByE_E_PrevAndNext(long linkId,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ?.
|
com.liferay.portlet.asset.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. |
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE_E(long entryId1,
long entryId2)
Returns all the asset links where entryId1 = ? and entryId2 = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end)
Returns a range of all the asset links where entryId1 = ? and entryId2 = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE_E(long entryId1,
long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ?.
|
com.liferay.portlet.asset.model.AssetLink[] |
findByE1_PrevAndNext(long linkId,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId1 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink[] |
findByE1_T_PrevAndNext(long linkId,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE1_T(long entryId1,
int type)
Returns all the asset links where entryId1 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end)
Returns a range of all the asset links where entryId1 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE1_T(long entryId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE1(long entryId1)
Returns all the asset links where entryId1 = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE1(long entryId1,
int start,
int end)
Returns a range of all the asset links where entryId1 = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE1(long entryId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset links where entryId1 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink[] |
findByE2_PrevAndNext(long linkId,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId2 = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink |
findByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset link in the ordered set where entryId2 = ? and type = ?.
|
com.liferay.portlet.asset.model.AssetLink[] |
findByE2_T_PrevAndNext(long linkId,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset links before and after the current asset link in the ordered set where entryId2 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE2_T(long entryId2,
int type)
Returns all the asset links where entryId2 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end)
Returns a range of all the asset links where entryId2 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE2_T(long entryId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset links where entryId2 = ? and type = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE2(long entryId2)
Returns all the asset links where entryId2 = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE2(long entryId2,
int start,
int end)
Returns a range of all the asset links where entryId2 = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetLink> |
findByE2(long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset links where entryId2 = ?.
|
com.liferay.portlet.asset.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.portlet.asset.model.AssetLink |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset link with the primary key or throws a
NoSuchModelException if it could not be found. |
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portlet.asset.model.AssetLink |
getByE_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetLink |
getByE1_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetLink |
getByE1_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetLink |
getByE2_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetLink |
getByE2_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.asset.model.AssetLink |
remove(long linkId)
Removes the asset link with the primary key from the database.
|
com.liferay.portlet.asset.model.AssetLink |
remove(java.io.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.portlet.asset.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 |
removeByE1(long entryId1)
Removes all the asset links where entryId1 = ? from the database.
|
void |
removeByE2_T(long entryId2,
int type)
Removes all the asset links where entryId2 = ? and type = ? from the database.
|
void |
removeByE2(long entryId2)
Removes all the asset links where entryId2 = ? from the database.
|
protected com.liferay.portlet.asset.model.AssetLink |
removeImpl(com.liferay.portlet.asset.model.AssetLink assetLink) |
protected com.liferay.portlet.asset.model.AssetLink |
toUnwrappedModel(com.liferay.portlet.asset.model.AssetLink assetLink) |
com.liferay.portlet.asset.model.AssetLink |
updateImpl(com.liferay.portlet.asset.model.AssetLink assetLink) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_E1
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E1
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_E1
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_E2
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E2
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_E2
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_E_E
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E_E
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_E_E
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_E1_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E1_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_E1_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_E2_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_E2_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_E2_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_E_E_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_E_E_T
public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1(long entryId1)
throws com.liferay.portal.kernel.exception.SystemException
findByE1 in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1(long entryId1,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE1 in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1(long entryId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE1 in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE1_First in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE1_First(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE1_First in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE1_Last in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE1_Last(long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE1_Last in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink[] findByE1_PrevAndNext(long linkId,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE1_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetLink getByE1_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId1,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByE1(long entryId1)
throws com.liferay.portal.kernel.exception.SystemException
removeByE1 in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByE1(long entryId1)
throws com.liferay.portal.kernel.exception.SystemException
countByE1 in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2(long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
findByE2 in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2(long entryId2,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE2 in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2(long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE2 in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE2_First in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE2_First(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE2_First in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE2_Last in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE2_Last(long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE2_Last in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)null if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink[] findByE2_PrevAndNext(long linkId,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE2_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetLink getByE2_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByE2(long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
removeByE2 in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByE2(long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
countByE2 in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE_E(long entryId1,
long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
findByE_E in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE_E(long entryId1,
long entryId2,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE_E in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE_E(long entryId1,
long entryId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE_E in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE_E_First in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE_E_First(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE_E_First in interface com.liferay.portlet.asset.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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE_E_Last in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2orderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE_E_Last(long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE_E_Last in interface com.liferay.portlet.asset.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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink[] findByE_E_PrevAndNext(long linkId,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE_E_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetLink getByE_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId1,
long entryId2,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByE_E(long entryId1,
long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
removeByE_E in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByE_E(long entryId1,
long entryId2)
throws com.liferay.portal.kernel.exception.SystemException
countByE_E in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1_T(long entryId1,
int type)
throws com.liferay.portal.kernel.exception.SystemException
findByE1_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1_T(long entryId1,
int type,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE1_T in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1_T(long entryId1,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE1_T in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE1_T_First in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE1_T_First(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE1_T_First in interface com.liferay.portlet.asset.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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE1_T_Last in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE1_T_Last(long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE1_T_Last in interface com.liferay.portlet.asset.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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink[] findByE1_T_PrevAndNext(long linkId,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE1_T_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetLink getByE1_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId1,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByE1_T(long entryId1,
int type)
throws com.liferay.portal.kernel.exception.SystemException
removeByE1_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByE1_T(long entryId1,
int type)
throws com.liferay.portal.kernel.exception.SystemException
countByE1_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2_T(long entryId2,
int type)
throws com.liferay.portal.kernel.exception.SystemException
findByE2_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2_T(long entryId2,
int type,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE2_T in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2_T(long entryId2,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByE2_T in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE2_T_First in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE2_T_First(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE2_T_First in interface com.liferay.portlet.asset.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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE2_T_Last in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE2_T_Last(long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByE2_T_Last in interface com.liferay.portlet.asset.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 foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink[] findByE2_T_PrevAndNext(long linkId,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
findByE2_T_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetLink getByE2_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetLink assetLink,
long entryId2,
int type,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByE2_T(long entryId2,
int type)
throws com.liferay.portal.kernel.exception.SystemException
removeByE2_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByE2_T(long entryId2,
int type)
throws com.liferay.portal.kernel.exception.SystemException
countByE2_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId2 - the entry id2type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByE_E_T(long entryId1,
long entryId2,
int type)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLinkException if it could not be found.findByE_E_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typecom.liferay.portlet.asset.NoSuchLinkException - if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE_E_T(long entryId1,
long entryId2,
int type)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByE_E_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typenull if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByE_E_T(long entryId1,
long entryId2,
int type,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByE_E_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typeretrieveFromCache - whether to use the finder cachenull if a matching asset link could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink removeByE_E_T(long entryId1,
long entryId2,
int type)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
removeByE_E_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.asset.NoSuchLinkExceptionpublic int countByE_E_T(long entryId1,
long entryId2,
int type)
throws com.liferay.portal.kernel.exception.SystemException
countByE_E_T in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceentryId1 - the entry id1entryId2 - the entry id2type - the typecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.asset.model.AssetLink assetLink)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceassetLink - the asset linkpublic void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetLink> assetLinks)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceassetLinks - the asset linkspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetLink>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>public void clearCache(com.liferay.portlet.asset.model.AssetLink assetLink)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetLink>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetLink> assetLinks)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetLink>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>protected void cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetLink assetLink)
protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetLink assetLink)
public com.liferay.portlet.asset.model.AssetLink create(long linkId)
create in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencelinkId - the primary key for the new asset linkpublic com.liferay.portlet.asset.model.AssetLink remove(long linkId)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencelinkId - the primary key of the asset linkcom.liferay.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetLink>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>primaryKey - the primary key of the asset linkcom.liferay.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetLink removeImpl(com.liferay.portlet.asset.model.AssetLink assetLink)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetLink updateImpl(com.liferay.portlet.asset.model.AssetLink assetLink)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.asset.model.AssetLink toUnwrappedModel(com.liferay.portlet.asset.model.AssetLink assetLink)
public com.liferay.portlet.asset.model.AssetLink findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetLink>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>primaryKey - the primary key of the asset linkcom.liferay.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink findByPrimaryKey(long linkId)
throws com.liferay.portlet.asset.NoSuchLinkException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLinkException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencelinkId - the primary key of the asset linkcom.liferay.portlet.asset.NoSuchLinkException - if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetLink>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>primaryKey - the primary key of the asset linknull if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetLink fetchByPrimaryKey(long linkId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencelinkId - the primary key of the asset linknull if a asset link with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencestart - the lower bound of the range of asset linksend - the upper bound of the range of asset links (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetLink> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.asset.service.persistence.AssetLinkPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetLink>public void afterPropertiesSet()
public void destroy()