|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetEntry>
com.liferay.portlet.asset.service.persistence.impl.AssetEntryPersistenceImpl
@ProviderType public class AssetEntryPersistenceImpl
The persistence implementation for the asset entry service.
Caching information and settings can be found in portal.properties
AssetEntryPersistence,
AssetEntryUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
AssetEntryPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAssetCategories(long pk,
List<AssetCategory> assetCategories)
Adds an association between the asset entry and the asset categories. |
void |
addAssetCategories(long pk,
long[] assetCategoryPKs)
Adds an association between the asset entry and the asset categories. |
void |
addAssetCategory(long pk,
AssetCategory assetCategory)
Adds an association between the asset entry and the asset category. |
void |
addAssetCategory(long pk,
long assetCategoryPK)
Adds an association between the asset entry and the asset category. |
void |
addAssetTag(long pk,
AssetTag assetTag)
Adds an association between the asset entry and the asset tag. |
void |
addAssetTag(long pk,
long assetTagPK)
Adds an association between the asset entry and the asset tag. |
void |
addAssetTags(long pk,
List<AssetTag> assetTags)
Adds an association between the asset entry and the asset tags. |
void |
addAssetTags(long pk,
long[] assetTagPKs)
Adds an association between the asset entry and the asset tags. |
void |
afterPropertiesSet()
Initializes the asset entry persistence. |
void |
cacheResult(AssetEntry assetEntry)
Caches the asset entry in the entity cache if it is enabled. |
void |
cacheResult(List<AssetEntry> assetEntries)
Caches the asset entries in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl,
boolean isNew)
|
void |
clearAssetCategories(long pk)
Clears all associations between the asset entry and its asset categories. |
void |
clearAssetTags(long pk)
Clears all associations between the asset entry and its asset tags. |
void |
clearCache()
Clears the cache for all asset entries. |
void |
clearCache(AssetEntry assetEntry)
Clears the cache for the asset entry. |
void |
clearCache(List<AssetEntry> assetEntries)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl)
|
boolean |
containsAssetCategories(long pk)
Returns true if the asset entry has any asset categories associated with it. |
boolean |
containsAssetCategory(long pk,
long assetCategoryPK)
Returns true if the asset category is associated with the asset entry. |
boolean |
containsAssetTag(long pk,
long assetTagPK)
Returns true if the asset tag is associated with the asset entry. |
boolean |
containsAssetTags(long pk)
Returns true if the asset entry has any asset tags associated with it. |
int |
countAll()
Returns the number of asset entries. |
int |
countByC_C(long classNameId,
long classPK)
Returns the number of asset entries where classNameId = ? and classPK = ?. |
int |
countByCompanyId(long companyId)
Returns the number of asset entries where companyId = ?. |
int |
countByExpirationDate(Date expirationDate)
Returns the number of asset entries where expirationDate = ?. |
int |
countByG_CU(long groupId,
String classUuid)
Returns the number of asset entries where groupId = ? and classUuid = ?. |
int |
countByGroupId(long groupId)
Returns the number of asset entries where groupId = ?. |
int |
countByLayoutUuid(String layoutUuid)
Returns the number of asset entries where layoutUuid = ?. |
int |
countByPublishDate(Date publishDate)
Returns the number of asset entries where publishDate = ?. |
int |
countByVisible(boolean visible)
Returns the number of asset entries where visible = ?. |
AssetEntry |
create(long entryId)
Creates a new asset entry with the primary key. |
void |
destroy()
|
AssetEntry |
fetchByC_C(long classNameId,
long classPK)
Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found. |
AssetEntry |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache. |
AssetEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?. |
AssetEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?. |
AssetEntry |
fetchByExpirationDate_First(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?. |
AssetEntry |
fetchByExpirationDate_Last(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?. |
AssetEntry |
fetchByG_CU(long groupId,
String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found. |
AssetEntry |
fetchByG_CU(long groupId,
String classUuid,
boolean retrieveFromCache)
Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found, optionally using the finder cache. |
AssetEntry |
fetchByGroupId_First(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ?. |
AssetEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ?. |
AssetEntry |
fetchByLayoutUuid_First(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?. |
AssetEntry |
fetchByLayoutUuid_Last(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?. |
AssetEntry |
fetchByPrimaryKey(long entryId)
Returns the asset entry with the primary key or returns null if it could not be found. |
AssetEntry |
fetchByPrimaryKey(Serializable primaryKey)
Returns the asset entry with the primary key or returns null if it could not be found. |
Map<Serializable,AssetEntry> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
AssetEntry |
fetchByPublishDate_First(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?. |
AssetEntry |
fetchByPublishDate_Last(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?. |
AssetEntry |
fetchByVisible_First(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where visible = ?. |
AssetEntry |
fetchByVisible_Last(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where visible = ?. |
List<AssetEntry> |
findAll()
Returns all the asset entries. |
List<AssetEntry> |
findAll(int start,
int end)
Returns a range of all the asset entries. |
List<AssetEntry> |
findAll(int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries. |
List<AssetEntry> |
findAll(int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries. |
AssetEntry |
findByC_C(long classNameId,
long classPK)
Returns the asset entry where classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found. |
AssetEntry |
findByCompanyId_First(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?. |
AssetEntry |
findByCompanyId_Last(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?. |
AssetEntry[] |
findByCompanyId_PrevAndNext(long entryId,
long companyId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?. |
List<AssetEntry> |
findByCompanyId(long companyId)
Returns all the asset entries where companyId = ?. |
List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset entries where companyId = ?. |
List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where companyId = ?. |
List<AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where companyId = ?. |
AssetEntry |
findByExpirationDate_First(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?. |
AssetEntry |
findByExpirationDate_Last(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?. |
AssetEntry[] |
findByExpirationDate_PrevAndNext(long entryId,
Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?. |
List<AssetEntry> |
findByExpirationDate(Date expirationDate)
Returns all the asset entries where expirationDate = ?. |
List<AssetEntry> |
findByExpirationDate(Date expirationDate,
int start,
int end)
Returns a range of all the asset entries where expirationDate = ?. |
List<AssetEntry> |
findByExpirationDate(Date expirationDate,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where expirationDate = ?. |
List<AssetEntry> |
findByExpirationDate(Date expirationDate,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where expirationDate = ?. |
AssetEntry |
findByG_CU(long groupId,
String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or throws a NoSuchEntryException if it could not be found. |
AssetEntry |
findByGroupId_First(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ?. |
AssetEntry |
findByGroupId_Last(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ?. |
AssetEntry[] |
findByGroupId_PrevAndNext(long entryId,
long groupId,
OrderByComparator<AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?. |
List<AssetEntry> |
findByGroupId(long groupId)
Returns all the asset entries where groupId = ?. |
List<AssetEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset entries where groupId = ?. |
List<AssetEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where groupId = ?. |
List<AssetEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where groupId = ?. |
AssetEntry |
findByLayoutUuid_First(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?. |
AssetEntry |
findByLayoutUuid_Last(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?. |
AssetEntry[] |
findByLayoutUuid_PrevAndNext(long entryId,
String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?. |
List<AssetEntry> |
findByLayoutUuid(String layoutUuid)
Returns all the asset entries where layoutUuid = ?. |
List<AssetEntry> |
findByLayoutUuid(String layoutUuid,
int start,
int end)
Returns a range of all the asset entries where layoutUuid = ?. |
List<AssetEntry> |
findByLayoutUuid(String layoutUuid,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where layoutUuid = ?. |
List<AssetEntry> |
findByLayoutUuid(String layoutUuid,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where layoutUuid = ?. |
AssetEntry |
findByPrimaryKey(long entryId)
Returns the asset entry with the primary key or throws a NoSuchEntryException if it could not be found. |
AssetEntry |
findByPrimaryKey(Serializable primaryKey)
Returns the asset entry with the primary key or throws a NoSuchModelException if it could not be found. |
AssetEntry |
findByPublishDate_First(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?. |
AssetEntry |
findByPublishDate_Last(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?. |
AssetEntry[] |
findByPublishDate_PrevAndNext(long entryId,
Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?. |
List<AssetEntry> |
findByPublishDate(Date publishDate)
Returns all the asset entries where publishDate = ?. |
List<AssetEntry> |
findByPublishDate(Date publishDate,
int start,
int end)
Returns a range of all the asset entries where publishDate = ?. |
List<AssetEntry> |
findByPublishDate(Date publishDate,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where publishDate = ?. |
List<AssetEntry> |
findByPublishDate(Date publishDate,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where publishDate = ?. |
AssetEntry |
findByVisible_First(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where visible = ?. |
AssetEntry |
findByVisible_Last(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where visible = ?. |
AssetEntry[] |
findByVisible_PrevAndNext(long entryId,
boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where visible = ?. |
List<AssetEntry> |
findByVisible(boolean visible)
Returns all the asset entries where visible = ?. |
List<AssetEntry> |
findByVisible(boolean visible,
int start,
int end)
Returns a range of all the asset entries where visible = ?. |
List<AssetEntry> |
findByVisible(boolean visible,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where visible = ?. |
List<AssetEntry> |
findByVisible(boolean visible,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where visible = ?. |
List<AssetCategory> |
getAssetCategories(long pk)
Returns all the asset categories associated with the asset entry. |
List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end)
Returns a range of all the asset categories associated with the asset entry. |
List<AssetCategory> |
getAssetCategories(long pk,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories associated with the asset entry. |
int |
getAssetCategoriesSize(long pk)
Returns the number of asset categories associated with the asset entry. |
long[] |
getAssetCategoryPrimaryKeys(long pk)
Returns the primaryKeys of asset categories associated with the asset entry. |
long[] |
getAssetTagPrimaryKeys(long pk)
Returns the primaryKeys of asset tags associated with the asset entry. |
List<AssetTag> |
getAssetTags(long pk)
Returns all the asset tags associated with the asset entry. |
List<AssetTag> |
getAssetTags(long pk,
int start,
int end)
Returns a range of all the asset tags associated with the asset entry. |
List<AssetTag> |
getAssetTags(long pk,
int start,
int end,
OrderByComparator<AssetTag> orderByComparator)
Returns an ordered range of all the asset tags associated with the asset entry. |
int |
getAssetTagsSize(long pk)
Returns the number of asset tags associated with the asset entry. |
protected AssetEntry |
getByCompanyId_PrevAndNext(Session session,
AssetEntry assetEntry,
long companyId,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
|
protected AssetEntry |
getByExpirationDate_PrevAndNext(Session session,
AssetEntry assetEntry,
Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
|
protected AssetEntry |
getByGroupId_PrevAndNext(Session session,
AssetEntry assetEntry,
long groupId,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
|
protected AssetEntry |
getByLayoutUuid_PrevAndNext(Session session,
AssetEntry assetEntry,
String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
|
protected AssetEntry |
getByPublishDate_PrevAndNext(Session session,
AssetEntry assetEntry,
Date publishDate,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
|
protected AssetEntry |
getByVisible_PrevAndNext(Session session,
AssetEntry assetEntry,
boolean visible,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
AssetEntry |
remove(long entryId)
Removes the asset entry with the primary key from the database. |
AssetEntry |
remove(Serializable primaryKey)
Removes the asset entry with the primary key from the database. |
void |
removeAll()
Removes all the asset entries from the database. |
void |
removeAssetCategories(long pk,
List<AssetCategory> assetCategories)
Removes the association between the asset entry and the asset categories. |
void |
removeAssetCategories(long pk,
long[] assetCategoryPKs)
Removes the association between the asset entry and the asset categories. |
void |
removeAssetCategory(long pk,
AssetCategory assetCategory)
Removes the association between the asset entry and the asset category. |
void |
removeAssetCategory(long pk,
long assetCategoryPK)
Removes the association between the asset entry and the asset category. |
void |
removeAssetTag(long pk,
AssetTag assetTag)
Removes the association between the asset entry and the asset tag. |
void |
removeAssetTag(long pk,
long assetTagPK)
Removes the association between the asset entry and the asset tag. |
void |
removeAssetTags(long pk,
List<AssetTag> assetTags)
Removes the association between the asset entry and the asset tags. |
void |
removeAssetTags(long pk,
long[] assetTagPKs)
Removes the association between the asset entry and the asset tags. |
AssetEntry |
removeByC_C(long classNameId,
long classPK)
Removes the asset entry where classNameId = ? and classPK = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the asset entries where companyId = ? from the database. |
void |
removeByExpirationDate(Date expirationDate)
Removes all the asset entries where expirationDate = ? from the database. |
AssetEntry |
removeByG_CU(long groupId,
String classUuid)
Removes the asset entry where groupId = ? and classUuid = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the asset entries where groupId = ? from the database. |
void |
removeByLayoutUuid(String layoutUuid)
Removes all the asset entries where layoutUuid = ? from the database. |
void |
removeByPublishDate(Date publishDate)
Removes all the asset entries where publishDate = ? from the database. |
void |
removeByVisible(boolean visible)
Removes all the asset entries where visible = ? from the database. |
protected AssetEntry |
removeImpl(AssetEntry assetEntry)
Removes the model instance from the database. |
void |
setAssetCategories(long pk,
List<AssetCategory> assetCategories)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary. |
void |
setAssetCategories(long pk,
long[] assetCategoryPKs)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary. |
void |
setAssetTags(long pk,
List<AssetTag> assetTags)
Sets the asset tags associated with the asset entry, removing and adding associations as necessary. |
void |
setAssetTags(long pk,
long[] assetTagPKs)
Sets the asset tags associated with the asset entry, removing and adding associations as necessary. |
protected AssetEntry |
toUnwrappedModel(AssetEntry assetEntry)
|
AssetEntry |
updateImpl(AssetEntry assetEntry)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public 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 static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VISIBLE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE
public static final FinderPath FINDER_PATH_COUNT_BY_VISIBLE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PUBLISHDATE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PUBLISHDATE
public static final FinderPath FINDER_PATH_COUNT_BY_PUBLISHDATE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_EXPIRATIONDATE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EXPIRATIONDATE
public static final FinderPath FINDER_PATH_COUNT_BY_EXPIRATIONDATE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID
public static final FinderPath FINDER_PATH_COUNT_BY_LAYOUTUUID
public static final FinderPath FINDER_PATH_FETCH_BY_G_CU
public static final FinderPath FINDER_PATH_COUNT_BY_G_CU
public static final FinderPath FINDER_PATH_FETCH_BY_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
protected TableMapper<AssetEntry,AssetCategory> assetEntryToAssetCategoryTableMapper
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
protected TableMapper<AssetEntry,AssetTag> assetEntryToAssetTagTableMapper
| Constructor Detail |
|---|
public AssetEntryPersistenceImpl()
| Method Detail |
|---|
public List<AssetEntry> findByGroupId(long groupId)
findByGroupId in interface AssetEntryPersistencegroupId - the group ID
public List<AssetEntry> findByGroupId(long groupId,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByGroupId in interface AssetEntryPersistencegroupId - the group IDstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetEntry> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByGroupId in interface AssetEntryPersistencegroupId - the group IDstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetEntry> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
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 AssetEntryModelImpl. 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.
findByGroupId in interface AssetEntryPersistencegroupId - the group IDstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetEntry findByGroupId_First(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByGroupId_First in interface AssetEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByGroupId_First(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
fetchByGroupId_First in interface AssetEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry findByGroupId_Last(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByGroupId_Last in interface AssetEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByGroupId_Last(long groupId,
OrderByComparator<AssetEntry> orderByComparator)
fetchByGroupId_Last in interface AssetEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry[] findByGroupId_PrevAndNext(long entryId,
long groupId,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByGroupId_PrevAndNext in interface AssetEntryPersistenceentryId - the primary key of the current asset entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a asset entry with the primary key could not be found
protected AssetEntry getByGroupId_PrevAndNext(Session session,
AssetEntry assetEntry,
long groupId,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface AssetEntryPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface AssetEntryPersistencegroupId - the group ID
public List<AssetEntry> findByCompanyId(long companyId)
findByCompanyId in interface AssetEntryPersistencecompanyId - the company ID
public List<AssetEntry> findByCompanyId(long companyId,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByCompanyId in interface AssetEntryPersistencecompanyId - the company IDstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetEntry> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByCompanyId in interface AssetEntryPersistencecompanyId - the company IDstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetEntry> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
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 AssetEntryModelImpl. 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.
findByCompanyId in interface AssetEntryPersistencecompanyId - the company IDstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetEntry findByCompanyId_First(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByCompanyId_First in interface AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByCompanyId_First(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
fetchByCompanyId_First in interface AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry findByCompanyId_Last(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByCompanyId_Last in interface AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByCompanyId_Last(long companyId,
OrderByComparator<AssetEntry> orderByComparator)
fetchByCompanyId_Last in interface AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry[] findByCompanyId_PrevAndNext(long entryId,
long companyId,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByCompanyId_PrevAndNext in interface AssetEntryPersistenceentryId - the primary key of the current asset entrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a asset entry with the primary key could not be found
protected AssetEntry getByCompanyId_PrevAndNext(Session session,
AssetEntry assetEntry,
long companyId,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface AssetEntryPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface AssetEntryPersistencecompanyId - the company ID
public List<AssetEntry> findByVisible(boolean visible)
findByVisible in interface AssetEntryPersistencevisible - the visible
public List<AssetEntry> findByVisible(boolean visible,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByVisible in interface AssetEntryPersistencevisible - the visiblestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetEntry> findByVisible(boolean visible,
int start,
int end,
OrderByComparator<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByVisible in interface AssetEntryPersistencevisible - the visiblestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetEntry> findByVisible(boolean visible,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
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 AssetEntryModelImpl. 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.
findByVisible in interface AssetEntryPersistencevisible - the visiblestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetEntry findByVisible_First(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByVisible_First in interface AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByVisible_First(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
fetchByVisible_First in interface AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry findByVisible_Last(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByVisible_Last in interface AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByVisible_Last(boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
fetchByVisible_Last in interface AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry[] findByVisible_PrevAndNext(long entryId,
boolean visible,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByVisible_PrevAndNext in interface AssetEntryPersistenceentryId - the primary key of the current asset entryvisible - the visibleorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a asset entry with the primary key could not be found
protected AssetEntry getByVisible_PrevAndNext(Session session,
AssetEntry assetEntry,
boolean visible,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
public void removeByVisible(boolean visible)
removeByVisible in interface AssetEntryPersistencevisible - the visiblepublic int countByVisible(boolean visible)
countByVisible in interface AssetEntryPersistencevisible - the visible
public List<AssetEntry> findByPublishDate(Date publishDate)
findByPublishDate in interface AssetEntryPersistencepublishDate - the publish date
public List<AssetEntry> findByPublishDate(Date publishDate,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByPublishDate in interface AssetEntryPersistencepublishDate - the publish datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetEntry> findByPublishDate(Date publishDate,
int start,
int end,
OrderByComparator<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByPublishDate in interface AssetEntryPersistencepublishDate - the publish datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetEntry> findByPublishDate(Date publishDate,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
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 AssetEntryModelImpl. 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.
findByPublishDate in interface AssetEntryPersistencepublishDate - the publish datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetEntry findByPublishDate_First(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByPublishDate_First in interface AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByPublishDate_First(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
fetchByPublishDate_First in interface AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry findByPublishDate_Last(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByPublishDate_Last in interface AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByPublishDate_Last(Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
fetchByPublishDate_Last in interface AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry[] findByPublishDate_PrevAndNext(long entryId,
Date publishDate,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByPublishDate_PrevAndNext in interface AssetEntryPersistenceentryId - the primary key of the current asset entrypublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a asset entry with the primary key could not be found
protected AssetEntry getByPublishDate_PrevAndNext(Session session,
AssetEntry assetEntry,
Date publishDate,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
public void removeByPublishDate(Date publishDate)
removeByPublishDate in interface AssetEntryPersistencepublishDate - the publish datepublic int countByPublishDate(Date publishDate)
countByPublishDate in interface AssetEntryPersistencepublishDate - the publish date
public List<AssetEntry> findByExpirationDate(Date expirationDate)
findByExpirationDate in interface AssetEntryPersistenceexpirationDate - the expiration date
public List<AssetEntry> findByExpirationDate(Date expirationDate,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByExpirationDate in interface AssetEntryPersistenceexpirationDate - the expiration datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetEntry> findByExpirationDate(Date expirationDate,
int start,
int end,
OrderByComparator<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByExpirationDate in interface AssetEntryPersistenceexpirationDate - the expiration datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetEntry> findByExpirationDate(Date expirationDate,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
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 AssetEntryModelImpl. 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.
findByExpirationDate in interface AssetEntryPersistenceexpirationDate - the expiration datestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetEntry findByExpirationDate_First(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByExpirationDate_First in interface AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByExpirationDate_First(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
fetchByExpirationDate_First in interface AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry findByExpirationDate_Last(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByExpirationDate_Last in interface AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByExpirationDate_Last(Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
fetchByExpirationDate_Last in interface AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry[] findByExpirationDate_PrevAndNext(long entryId,
Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByExpirationDate_PrevAndNext in interface AssetEntryPersistenceentryId - the primary key of the current asset entryexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a asset entry with the primary key could not be found
protected AssetEntry getByExpirationDate_PrevAndNext(Session session,
AssetEntry assetEntry,
Date expirationDate,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
public void removeByExpirationDate(Date expirationDate)
removeByExpirationDate in interface AssetEntryPersistenceexpirationDate - the expiration datepublic int countByExpirationDate(Date expirationDate)
countByExpirationDate in interface AssetEntryPersistenceexpirationDate - the expiration date
public List<AssetEntry> findByLayoutUuid(String layoutUuid)
findByLayoutUuid in interface AssetEntryPersistencelayoutUuid - the layout uuid
public List<AssetEntry> findByLayoutUuid(String layoutUuid,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByLayoutUuid in interface AssetEntryPersistencelayoutUuid - the layout uuidstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetEntry> findByLayoutUuid(String layoutUuid,
int start,
int end,
OrderByComparator<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
findByLayoutUuid in interface AssetEntryPersistencelayoutUuid - the layout uuidstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetEntry> findByLayoutUuid(String layoutUuid,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
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 AssetEntryModelImpl. 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.
findByLayoutUuid in interface AssetEntryPersistencelayoutUuid - the layout uuidstart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public AssetEntry findByLayoutUuid_First(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByLayoutUuid_First in interface AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByLayoutUuid_First(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
fetchByLayoutUuid_First in interface AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry findByLayoutUuid_Last(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByLayoutUuid_Last in interface AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByLayoutUuid_Last(String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
fetchByLayoutUuid_Last in interface AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching asset entry could not be found
public AssetEntry[] findByLayoutUuid_PrevAndNext(long entryId,
String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator)
throws NoSuchEntryException
findByLayoutUuid_PrevAndNext in interface AssetEntryPersistenceentryId - the primary key of the current asset entrylayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEntryException - if a asset entry with the primary key could not be found
protected AssetEntry getByLayoutUuid_PrevAndNext(Session session,
AssetEntry assetEntry,
String layoutUuid,
OrderByComparator<AssetEntry> orderByComparator,
boolean previous)
public void removeByLayoutUuid(String layoutUuid)
removeByLayoutUuid in interface AssetEntryPersistencelayoutUuid - the layout uuidpublic int countByLayoutUuid(String layoutUuid)
countByLayoutUuid in interface AssetEntryPersistencelayoutUuid - the layout uuid
public AssetEntry findByG_CU(long groupId,
String classUuid)
throws NoSuchEntryException
NoSuchEntryException if it could not be found.
findByG_CU in interface AssetEntryPersistencegroupId - the group IDclassUuid - the class uuid
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByG_CU(long groupId,
String classUuid)
null if it could not be found. Uses the finder cache.
fetchByG_CU in interface AssetEntryPersistencegroupId - the group IDclassUuid - the class uuid
null if a matching asset entry could not be found
public AssetEntry fetchByG_CU(long groupId,
String classUuid,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_CU in interface AssetEntryPersistencegroupId - the group IDclassUuid - the class uuidretrieveFromCache - whether to retrieve from the finder cache
null if a matching asset entry could not be found
public AssetEntry removeByG_CU(long groupId,
String classUuid)
throws NoSuchEntryException
removeByG_CU in interface AssetEntryPersistencegroupId - the group IDclassUuid - the class uuid
NoSuchEntryException
public int countByG_CU(long groupId,
String classUuid)
countByG_CU in interface AssetEntryPersistencegroupId - the group IDclassUuid - the class uuid
public AssetEntry findByC_C(long classNameId,
long classPK)
throws NoSuchEntryException
NoSuchEntryException if it could not be found.
findByC_C in interface AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p k
NoSuchEntryException - if a matching asset entry could not be found
public AssetEntry fetchByC_C(long classNameId,
long classPK)
null if it could not be found. Uses the finder cache.
fetchByC_C in interface AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p k
null if a matching asset entry could not be found
public AssetEntry fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByC_C in interface AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p kretrieveFromCache - whether to retrieve from the finder cache
null if a matching asset entry could not be found
public AssetEntry removeByC_C(long classNameId,
long classPK)
throws NoSuchEntryException
removeByC_C in interface AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p k
NoSuchEntryException
public int countByC_C(long classNameId,
long classPK)
countByC_C in interface AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p k
public void cacheResult(AssetEntry assetEntry)
cacheResult in interface AssetEntryPersistenceassetEntry - the asset entrypublic void cacheResult(List<AssetEntry> assetEntries)
cacheResult in interface AssetEntryPersistenceassetEntries - the asset entriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetEntry>clearCache in class BasePersistenceImpl<AssetEntry>public void clearCache(AssetEntry assetEntry)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<AssetEntry>clearCache in class BasePersistenceImpl<AssetEntry>assetEntry - the instance of this model to clear the cache forpublic void clearCache(List<AssetEntry> assetEntries)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<AssetEntry>clearCache in class BasePersistenceImpl<AssetEntry>assetEntries - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl)
public AssetEntry create(long entryId)
create in interface AssetEntryPersistenceentryId - the primary key for the new asset entry
public AssetEntry remove(long entryId)
throws NoSuchEntryException
remove in interface AssetEntryPersistenceentryId - the primary key of the asset entry
NoSuchEntryException - if a asset entry with the primary key could not be found
public AssetEntry remove(Serializable primaryKey)
throws NoSuchEntryException
remove in interface BasePersistence<AssetEntry>remove in class BasePersistenceImpl<AssetEntry>primaryKey - the primary key of the asset entry
NoSuchEntryException - if a asset entry with the primary key could not be foundprotected AssetEntry removeImpl(AssetEntry assetEntry)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<AssetEntry>assetEntry - the model instance to remove
public AssetEntry updateImpl(AssetEntry assetEntry)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface AssetEntryPersistenceupdateImpl in class BasePersistenceImpl<AssetEntry>assetEntry - the model instance to update
protected AssetEntry toUnwrappedModel(AssetEntry assetEntry)
public AssetEntry findByPrimaryKey(Serializable primaryKey)
throws NoSuchEntryException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<AssetEntry>findByPrimaryKey in class BasePersistenceImpl<AssetEntry>primaryKey - the primary key of the asset entry
NoSuchEntryException - if a asset entry with the primary key could not be found
public AssetEntry findByPrimaryKey(long entryId)
throws NoSuchEntryException
NoSuchEntryException if it could not be found.
findByPrimaryKey in interface AssetEntryPersistenceentryId - the primary key of the asset entry
NoSuchEntryException - if a asset entry with the primary key could not be foundpublic AssetEntry fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<AssetEntry>fetchByPrimaryKey in class BasePersistenceImpl<AssetEntry>primaryKey - the primary key of the asset entry
null if a asset entry with the primary key could not be foundpublic AssetEntry fetchByPrimaryKey(long entryId)
null if it could not be found.
fetchByPrimaryKey in interface AssetEntryPersistenceentryId - the primary key of the asset entry
null if a asset entry with the primary key could not be foundpublic Map<Serializable,AssetEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<AssetEntry>fetchByPrimaryKeys in interface AssetEntryPersistencefetchByPrimaryKeys in class BasePersistenceImpl<AssetEntry>public List<AssetEntry> findAll()
findAll in interface AssetEntryPersistence
public List<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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 AssetEntryPersistencestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetEntry> findAll(int start,
int end,
OrderByComparator<AssetEntry> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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 AssetEntryPersistencestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<AssetEntry> findAll(int start,
int end,
OrderByComparator<AssetEntry> orderByComparator,
boolean retrieveFromCache)
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 AssetEntryModelImpl. 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 AssetEntryPersistencestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface AssetEntryPersistencepublic int countAll()
countAll in interface AssetEntryPersistencepublic long[] getAssetCategoryPrimaryKeys(long pk)
getAssetCategoryPrimaryKeys in interface AssetEntryPersistencepk - the primary key of the asset entry
public List<AssetCategory> getAssetCategories(long pk)
getAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entry
public List<AssetCategory> getAssetCategories(long pk,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
getAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entrystart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetCategory> getAssetCategories(long pk,
int start,
int end,
OrderByComparator<AssetCategory> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
getAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entrystart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public int getAssetCategoriesSize(long pk)
getAssetCategoriesSize in interface AssetEntryPersistencepk - the primary key of the asset entry
public boolean containsAssetCategory(long pk,
long assetCategoryPK)
true if the asset category is associated with the asset entry.
containsAssetCategory in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPK - the primary key of the asset category
true if the asset category is associated with the asset entry; false otherwisepublic boolean containsAssetCategories(long pk)
true if the asset entry has any asset categories associated with it.
containsAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entry to check for associations with asset categories
true if the asset entry has any asset categories associated with it; false otherwise
public void addAssetCategory(long pk,
long assetCategoryPK)
addAssetCategory in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPK - the primary key of the asset category
public void addAssetCategory(long pk,
AssetCategory assetCategory)
addAssetCategory in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategory - the asset category
public void addAssetCategories(long pk,
long[] assetCategoryPKs)
addAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categories
public void addAssetCategories(long pk,
List<AssetCategory> assetCategories)
addAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategories - the asset categoriespublic void clearAssetCategories(long pk)
clearAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entry to clear the associated asset categories from
public void removeAssetCategory(long pk,
long assetCategoryPK)
removeAssetCategory in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPK - the primary key of the asset category
public void removeAssetCategory(long pk,
AssetCategory assetCategory)
removeAssetCategory in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategory - the asset category
public void removeAssetCategories(long pk,
long[] assetCategoryPKs)
removeAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categories
public void removeAssetCategories(long pk,
List<AssetCategory> assetCategories)
removeAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategories - the asset categories
public void setAssetCategories(long pk,
long[] assetCategoryPKs)
setAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categories to be associated with the asset entry
public void setAssetCategories(long pk,
List<AssetCategory> assetCategories)
setAssetCategories in interface AssetEntryPersistencepk - the primary key of the asset entryassetCategories - the asset categories to be associated with the asset entrypublic long[] getAssetTagPrimaryKeys(long pk)
getAssetTagPrimaryKeys in interface AssetEntryPersistencepk - the primary key of the asset entry
public List<AssetTag> getAssetTags(long pk)
getAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entry
public List<AssetTag> getAssetTags(long pk,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
getAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entrystart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)
public List<AssetTag> getAssetTags(long pk,
int start,
int end,
OrderByComparator<AssetTag> 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. 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.
getAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entrystart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public int getAssetTagsSize(long pk)
getAssetTagsSize in interface AssetEntryPersistencepk - the primary key of the asset entry
public boolean containsAssetTag(long pk,
long assetTagPK)
true if the asset tag is associated with the asset entry.
containsAssetTag in interface AssetEntryPersistencepk - the primary key of the asset entryassetTagPK - the primary key of the asset tag
true if the asset tag is associated with the asset entry; false otherwisepublic boolean containsAssetTags(long pk)
true if the asset entry has any asset tags associated with it.
containsAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entry to check for associations with asset tags
true if the asset entry has any asset tags associated with it; false otherwise
public void addAssetTag(long pk,
long assetTagPK)
addAssetTag in interface AssetEntryPersistencepk - the primary key of the asset entryassetTagPK - the primary key of the asset tag
public void addAssetTag(long pk,
AssetTag assetTag)
addAssetTag in interface AssetEntryPersistencepk - the primary key of the asset entryassetTag - the asset tag
public void addAssetTags(long pk,
long[] assetTagPKs)
addAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tags
public void addAssetTags(long pk,
List<AssetTag> assetTags)
addAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tagspublic void clearAssetTags(long pk)
clearAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entry to clear the associated asset tags from
public void removeAssetTag(long pk,
long assetTagPK)
removeAssetTag in interface AssetEntryPersistencepk - the primary key of the asset entryassetTagPK - the primary key of the asset tag
public void removeAssetTag(long pk,
AssetTag assetTag)
removeAssetTag in interface AssetEntryPersistencepk - the primary key of the asset entryassetTag - the asset tag
public void removeAssetTags(long pk,
long[] assetTagPKs)
removeAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tags
public void removeAssetTags(long pk,
List<AssetTag> assetTags)
removeAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tags
public void setAssetTags(long pk,
long[] assetTagPKs)
setAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tags to be associated with the asset entry
public void setAssetTags(long pk,
List<AssetTag> assetTags)
setAssetTags in interface AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tags to be associated with the asset entryprotected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<AssetEntry>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||