|
Liferay 6.1.0-ce-ga1 | |||||||||
| 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<DLFileShortcut>
com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistenceImpl
public class DLFileShortcutPersistenceImpl
The persistence implementation for the document library file shortcut service.
Caching information and settings can be found in portal.properties
DLFileShortcutPersistence,
DLFileShortcutUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
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 Summary | |
|---|---|
DLFileShortcutPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the document library file shortcut persistence. |
void |
cacheResult(DLFileShortcut dlFileShortcut)
Caches the document library file shortcut in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileShortcut> dlFileShortcuts)
Caches the document library file shortcuts in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all document library file shortcuts. |
void |
clearCache(DLFileShortcut dlFileShortcut)
Clears the cache for the document library file shortcut. |
void |
clearCache(List<DLFileShortcut> dlFileShortcuts)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DLFileShortcut dlFileShortcut)
|
int |
countAll()
Returns the number of document library file shortcuts. |
int |
countByG_F_S(long groupId,
long folderId,
int status)
Returns the number of document library file shortcuts where groupId = ? and folderId = ? and status = ?. |
int |
countByG_F(long groupId,
long folderId)
Returns the number of document library file shortcuts where groupId = ? and folderId = ?. |
int |
countByToFileEntryId(long toFileEntryId)
Returns the number of document library file shortcuts where toFileEntryId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file shortcuts where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of document library file shortcuts where uuid = ?. |
DLFileShortcut |
create(long fileShortcutId)
Creates a new document library file shortcut with the primary key. |
void |
destroy()
|
DLFileShortcut |
fetchByPrimaryKey(long fileShortcutId)
Returns the document library file shortcut with the primary key or returns null if it could not be found. |
DLFileShortcut |
fetchByPrimaryKey(Serializable primaryKey)
Returns the document library file shortcut with the primary key or returns null if it could not be found. |
DLFileShortcut |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found. |
DLFileShortcut |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
int |
filterCountByG_F_S(long groupId,
long folderId,
int status)
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. |
int |
filterCountByG_F(long groupId,
long folderId)
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. |
DLFileShortcut[] |
filterFindByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. |
DLFileShortcut[] |
filterFindByG_F_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
int status)
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId)
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. |
List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. |
List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?. |
protected DLFileShortcut |
filterGetByG_F_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileShortcut |
filterGetByG_F_S_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
List<DLFileShortcut> |
findAll()
Returns all the document library file shortcuts. |
List<DLFileShortcut> |
findAll(int start,
int end)
Returns a range of all the document library file shortcuts. |
List<DLFileShortcut> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file shortcuts. |
DLFileShortcut |
findByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?. |
DLFileShortcut |
findByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?. |
DLFileShortcut[] |
findByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?. |
DLFileShortcut |
findByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
DLFileShortcut |
findByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
DLFileShortcut[] |
findByG_F_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status)
Returns all the document library file shortcuts where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and status = ?. |
List<DLFileShortcut> |
findByG_F(long groupId,
long folderId)
Returns all the document library file shortcuts where groupId = ? and folderId = ?. |
List<DLFileShortcut> |
findByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?. |
List<DLFileShortcut> |
findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?. |
DLFileShortcut |
findByPrimaryKey(long fileShortcutId)
Returns the document library file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found. |
DLFileShortcut |
findByPrimaryKey(Serializable primaryKey)
Returns the document library file shortcut with the primary key or throws a NoSuchModelException if it could not be found. |
DLFileShortcut |
findByToFileEntryId_First(long toFileEntryId,
OrderByComparator orderByComparator)
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. |
DLFileShortcut |
findByToFileEntryId_Last(long toFileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. |
DLFileShortcut[] |
findByToFileEntryId_PrevAndNext(long fileShortcutId,
long toFileEntryId,
OrderByComparator orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?. |
List<DLFileShortcut> |
findByToFileEntryId(long toFileEntryId)
Returns all the document library file shortcuts where toFileEntryId = ?. |
List<DLFileShortcut> |
findByToFileEntryId(long toFileEntryId,
int start,
int end)
Returns a range of all the document library file shortcuts where toFileEntryId = ?. |
List<DLFileShortcut> |
findByToFileEntryId(long toFileEntryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?. |
DLFileShortcut |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file shortcut in the ordered set where uuid = ?. |
DLFileShortcut |
findByUUID_G(String uuid,
long groupId)
Returns the document library file shortcut where uuid = ? and groupId = ? or throws a NoSuchFileShortcutException if it could not be found. |
DLFileShortcut |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file shortcut in the ordered set where uuid = ?. |
DLFileShortcut[] |
findByUuid_PrevAndNext(long fileShortcutId,
String uuid,
OrderByComparator orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?. |
List<DLFileShortcut> |
findByUuid(String uuid)
Returns all the document library file shortcuts where uuid = ?. |
List<DLFileShortcut> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file shortcuts where uuid = ?. |
List<DLFileShortcut> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file shortcuts where uuid = ?. |
protected DLFileShortcut |
getByG_F_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileShortcut |
getByG_F_S_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileShortcut |
getByToFileEntryId_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long toFileEntryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileShortcut |
getByUuid_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
DLFileShortcut |
remove(long fileShortcutId)
Removes the document library file shortcut with the primary key from the database. |
DLFileShortcut |
remove(Serializable primaryKey)
Removes the document library file shortcut with the primary key from the database. |
void |
removeAll()
Removes all the document library file shortcuts from the database. |
void |
removeByG_F_S(long groupId,
long folderId,
int status)
Removes all the document library file shortcuts where groupId = ? and folderId = ? and status = ? from the database. |
void |
removeByG_F(long groupId,
long folderId)
Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database. |
void |
removeByToFileEntryId(long toFileEntryId)
Removes all the document library file shortcuts where toFileEntryId = ? from the database. |
void |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file shortcut where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the document library file shortcuts where uuid = ? from the database. |
protected DLFileShortcut |
removeImpl(DLFileShortcut dlFileShortcut)
Removes the model instance from the database. |
protected DLFileShortcut |
toUnwrappedModel(DLFileShortcut dlFileShortcut)
|
DLFileShortcut |
updateImpl(DLFileShortcut dlFileShortcut,
boolean merge)
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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TOFILEENTRYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TOFILEENTRYID
public static final FinderPath FINDER_PATH_COUNT_BY_TOFILEENTRYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_F
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_S
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
@BeanReference(type=DLContentPersistence.class) protected DLContentPersistence dlContentPersistence
@BeanReference(type=DLFileEntryPersistence.class) protected DLFileEntryPersistence dlFileEntryPersistence
@BeanReference(type=DLFileEntryMetadataPersistence.class) protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence
@BeanReference(type=DLFileEntryTypePersistence.class) protected DLFileEntryTypePersistence dlFileEntryTypePersistence
@BeanReference(type=DLFileRankPersistence.class) protected DLFileRankPersistence dlFileRankPersistence
@BeanReference(type=DLFileShortcutPersistence.class) protected DLFileShortcutPersistence dlFileShortcutPersistence
@BeanReference(type=DLFileVersionPersistence.class) protected DLFileVersionPersistence dlFileVersionPersistence
@BeanReference(type=DLFolderPersistence.class) protected DLFolderPersistence dlFolderPersistence
@BeanReference(type=DLSyncPersistence.class) protected DLSyncPersistence dlSyncPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
| Constructor Detail |
|---|
public DLFileShortcutPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(DLFileShortcut dlFileShortcut)
cacheResult in interface DLFileShortcutPersistencedlFileShortcut - the document library file shortcutpublic void cacheResult(List<DLFileShortcut> dlFileShortcuts)
cacheResult in interface DLFileShortcutPersistencedlFileShortcuts - the document library file shortcutspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileShortcut>clearCache in class BasePersistenceImpl<DLFileShortcut>public void clearCache(DLFileShortcut dlFileShortcut)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileShortcut>clearCache in class BasePersistenceImpl<DLFileShortcut>dlFileShortcut - the instance of this model to clear the cache forpublic void clearCache(List<DLFileShortcut> dlFileShortcuts)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DLFileShortcut>clearCache in class BasePersistenceImpl<DLFileShortcut>dlFileShortcuts - the List instances of this model to clear the cache forprotected void clearUniqueFindersCache(DLFileShortcut dlFileShortcut)
public DLFileShortcut create(long fileShortcutId)
create in interface DLFileShortcutPersistencefileShortcutId - the primary key for the new document library file shortcut
public DLFileShortcut remove(long fileShortcutId)
throws NoSuchFileShortcutException,
SystemException
remove in interface DLFileShortcutPersistencefileShortcutId - the primary key of the document library file shortcut
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public DLFileShortcut remove(Serializable primaryKey)
throws NoSuchFileShortcutException,
SystemException
remove in interface BasePersistence<DLFileShortcut>remove in class BasePersistenceImpl<DLFileShortcut>primaryKey - the primary key of the document library file shortcut
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
protected DLFileShortcut removeImpl(DLFileShortcut dlFileShortcut)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DLFileShortcut>dlFileShortcut - the model instance to remove
SystemException - if a system exception occurred
public DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DLFileShortcutPersistenceupdateImpl in class BasePersistenceImpl<DLFileShortcut>dlFileShortcut - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected DLFileShortcut toUnwrappedModel(DLFileShortcut dlFileShortcut)
public DLFileShortcut findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DLFileShortcut>findByPrimaryKey in class BasePersistenceImpl<DLFileShortcut>primaryKey - the primary key of the document library file shortcut
NoSuchModelException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public DLFileShortcut findByPrimaryKey(long fileShortcutId)
throws NoSuchFileShortcutException,
SystemException
NoSuchFileShortcutException if it could not be found.
findByPrimaryKey in interface DLFileShortcutPersistencefileShortcutId - the primary key of the document library file shortcut
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public DLFileShortcut fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DLFileShortcut>fetchByPrimaryKey in class BasePersistenceImpl<DLFileShortcut>primaryKey - the primary key of the document library file shortcut
null if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface DLFileShortcutPersistencefileShortcutId - the primary key of the document library file shortcut
null if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public List<DLFileShortcut> findByUuid(String uuid)
throws SystemException
findByUuid in interface DLFileShortcutPersistenceuuid - the uuid
SystemException - if a system exception occurred
public List<DLFileShortcut> findByUuid(String uuid,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid in interface DLFileShortcutPersistenceuuid - the uuidstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
SystemException - if a system exception occurred
public List<DLFileShortcut> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByUuid in interface DLFileShortcutPersistenceuuid - the uuidstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public DLFileShortcut findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByUuid_First in interface DLFileShortcutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByUuid_Last in interface DLFileShortcutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByUuid_PrevAndNext in interface DLFileShortcutPersistencefileShortcutId - the primary key of the current document library file shortcutuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
protected DLFileShortcut getByUuid_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public DLFileShortcut findByUUID_G(String uuid,
long groupId)
throws NoSuchFileShortcutException,
SystemException
NoSuchFileShortcutException if it could not be found.
findByUUID_G in interface DLFileShortcutPersistenceuuid - the uuidgroupId - the group ID
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface DLFileShortcutPersistenceuuid - the uuidgroupId - the group ID
null if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface DLFileShortcutPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
throws SystemException
findByToFileEntryId in interface DLFileShortcutPersistencetoFileEntryId - the to file entry ID
SystemException - if a system exception occurred
public List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByToFileEntryId in interface DLFileShortcutPersistencetoFileEntryId - the to file entry IDstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
SystemException - if a system exception occurred
public List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByToFileEntryId in interface DLFileShortcutPersistencetoFileEntryId - the to file entry IDstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public DLFileShortcut findByToFileEntryId_First(long toFileEntryId,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByToFileEntryId_First in interface DLFileShortcutPersistencetoFileEntryId - the to file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut findByToFileEntryId_Last(long toFileEntryId,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByToFileEntryId_Last in interface DLFileShortcutPersistencetoFileEntryId - the to file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId,
long toFileEntryId,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByToFileEntryId_PrevAndNext in interface DLFileShortcutPersistencefileShortcutId - the primary key of the current document library file shortcuttoFileEntryId - the to file entry IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
protected DLFileShortcut getByToFileEntryId_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long toFileEntryId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileShortcut> findByG_F(long groupId,
long folderId)
throws SystemException
findByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public List<DLFileShortcut> findByG_F(long groupId,
long folderId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
SystemException - if a system exception occurred
public List<DLFileShortcut> findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public DLFileShortcut findByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByG_F_First in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut findByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByG_F_Last in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByG_F_PrevAndNext in interface DLFileShortcutPersistencefileShortcutId - the primary key of the current document library file shortcutgroupId - the group IDfolderId - the folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
protected DLFileShortcut getByG_F_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileShortcut> filterFindByG_F(long groupId,
long folderId)
throws SystemException
filterFindByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public List<DLFileShortcut> filterFindByG_F(long groupId,
long folderId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
SystemException - if a system exception occurred
public List<DLFileShortcut> filterFindByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
SystemException
filterFindByG_F_PrevAndNext in interface DLFileShortcutPersistencefileShortcutId - the primary key of the current document library file shortcutgroupId - the group IDfolderId - the folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
protected DLFileShortcut filterGetByG_F_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileShortcut> findByG_F_S(long groupId,
long folderId,
int status)
throws SystemException
findByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
SystemException - if a system exception occurred
public List<DLFileShortcut> findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
SystemException - if a system exception occurred
public List<DLFileShortcut> findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public DLFileShortcut findByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByG_F_S_First in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut findByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByG_F_S_Last in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public DLFileShortcut[] findByG_F_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
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.
findByG_F_S_PrevAndNext in interface DLFileShortcutPersistencefileShortcutId - the primary key of the current document library file shortcutgroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
protected DLFileShortcut getByG_F_S_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileShortcut> filterFindByG_F_S(long groupId,
long folderId,
int status)
throws SystemException
filterFindByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
SystemException - if a system exception occurred
public List<DLFileShortcut> filterFindByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
SystemException - if a system exception occurred
public List<DLFileShortcut> filterFindByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the statusstart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public DLFileShortcut[] filterFindByG_F_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
throws NoSuchFileShortcutException,
SystemException
filterFindByG_F_S_PrevAndNext in interface DLFileShortcutPersistencefileShortcutId - the primary key of the current document library file shortcutgroupId - the group IDfolderId - the folder IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
protected DLFileShortcut filterGetByG_F_S_PrevAndNext(Session session,
DLFileShortcut dlFileShortcut,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileShortcut> findAll()
throws SystemException
findAll in interface DLFileShortcutPersistenceSystemException - if a system exception occurred
public List<DLFileShortcut> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface DLFileShortcutPersistencestart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
SystemException - if a system exception occurred
public List<DLFileShortcut> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface DLFileShortcutPersistencestart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface DLFileShortcutPersistenceuuid - the uuid
SystemException - if a system exception occurred
public void removeByUUID_G(String uuid,
long groupId)
throws NoSuchFileShortcutException,
SystemException
removeByUUID_G in interface DLFileShortcutPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchFileShortcutException
public void removeByToFileEntryId(long toFileEntryId)
throws SystemException
removeByToFileEntryId in interface DLFileShortcutPersistencetoFileEntryId - the to file entry ID
SystemException - if a system exception occurred
public void removeByG_F(long groupId,
long folderId)
throws SystemException
removeByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public void removeByG_F_S(long groupId,
long folderId,
int status)
throws SystemException
removeByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface DLFileShortcutPersistenceSystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface DLFileShortcutPersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface DLFileShortcutPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public int countByToFileEntryId(long toFileEntryId)
throws SystemException
countByToFileEntryId in interface DLFileShortcutPersistencetoFileEntryId - the to file entry ID
SystemException - if a system exception occurred
public int countByG_F(long groupId,
long folderId)
throws SystemException
countByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public int filterCountByG_F(long groupId,
long folderId)
throws SystemException
filterCountByG_F in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public int countByG_F_S(long groupId,
long folderId,
int status)
throws SystemException
countByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
SystemException - if a system exception occurred
public int filterCountByG_F_S(long groupId,
long folderId,
int status)
throws SystemException
filterCountByG_F_S in interface DLFileShortcutPersistencegroupId - the group IDfolderId - the folder IDstatus - the status
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface DLFileShortcutPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||