|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceWrapper
public class DLFileEntryLocalServiceWrapper
This class is a wrapper for DLFileEntryLocalService
.
DLFileEntryLocalService
Constructor Summary | |
---|---|
DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
|
Method Summary | |
---|---|
DLFileEntry |
addDLFileEntry(DLFileEntry dlFileEntry)
Adds the d l file entry to the database. |
DLFileEntry |
addFileEntry(long userId,
long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
DLFileEntry |
addFileEntry(long userId,
long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
File file,
ServiceContext serviceContext)
|
DLFileEntry |
addFileEntry(long userId,
long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
InputStream is,
long size,
ServiceContext serviceContext)
|
void |
addFileEntryResources(DLFileEntry fileEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFileEntryResources(DLFileEntry fileEntry,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addFileEntryResources(long fileEntryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFileEntryResources(long fileEntryId,
String[] communityPermissions,
String[] guestPermissions)
|
DLFileEntry |
addOrOverwriteFileEntry(long userId,
long groupId,
long folderId,
String name,
String sourceName,
String title,
String description,
String changeLog,
String extraSettings,
File file,
ServiceContext serviceContext)
|
DLFileEntry |
createDLFileEntry(long fileEntryId)
Creates a new d l file entry with the primary key. |
void |
deleteDLFileEntry(DLFileEntry dlFileEntry)
Deletes the d l file entry from the database. |
void |
deleteDLFileEntry(long fileEntryId)
Deletes the d l file entry with the primary key from the database. |
void |
deleteFileEntries(long groupId,
long folderId)
|
void |
deleteFileEntry(DLFileEntry fileEntry)
|
void |
deleteFileEntry(long groupId,
long folderId,
String name)
|
void |
deleteFileEntry(long groupId,
long folderId,
String name,
String version)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int start,
int end)
|
List<DLFileEntry> |
getCompanyFileEntries(long companyId,
int start,
int end,
OrderByComparator obc)
|
int |
getCompanyFileEntriesCount(long companyId)
|
List<DLFileEntry> |
getDLFileEntries(int start,
int end)
Gets a range of all the d l file entries. |
int |
getDLFileEntriesCount()
Gets the number of d l file entries. |
DLFileEntry |
getDLFileEntry(long fileEntryId)
Gets the d l file entry with the primary key. |
DLFileEntry |
getDLFileEntryByUuidAndGroupId(String uuid,
long groupId)
Gets the d l file entry with the UUID and group id. |
InputStream |
getFileAsStream(long companyId,
long userId,
long groupId,
long folderId,
String name)
|
InputStream |
getFileAsStream(long companyId,
long userId,
long groupId,
long folderId,
String name,
String version)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
|
int |
getFileEntriesCount(long groupId,
long folderId)
|
DLFileEntry |
getFileEntry(long fileEntryId)
|
DLFileEntry |
getFileEntry(long groupId,
long folderId,
String name)
|
DLFileEntry |
getFileEntryByTitle(long groupId,
long folderId,
String title)
|
DLFileEntry |
getFileEntryByUuidAndGroupId(String uuid,
long groupId)
|
int |
getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupFileEntriesCount(long groupId)
|
int |
getGroupFileEntriesCount(long groupId,
long userId)
|
List<DLFileEntry> |
getNoAssetFileEntries()
|
DLFileEntryLocalService |
getWrappedDLFileEntryLocalService()
|
DLFileEntry |
moveFileEntry(long userId,
long groupId,
long folderId,
long newFolderId,
String name,
ServiceContext serviceContext)
|
void |
updateAsset(long userId,
DLFileEntry fileEntry,
DLFileVersion fileVersion,
long[] assetCategoryIds,
String[] assetTagNames)
|
DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry)
Updates the d l file entry in the database. |
DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry,
boolean merge)
Updates the d l file entry in the database. |
DLFileEntry |
updateFileEntry(long userId,
long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
DLFileEntry |
updateFileEntry(long userId,
long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
File file,
ServiceContext serviceContext)
|
DLFileEntry |
updateFileEntry(long userId,
long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
InputStream is,
long size,
ServiceContext serviceContext)
|
DLFileEntry |
updateStatus(long userId,
long fileEntryId,
int status,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
Method Detail |
---|
public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
addDLFileEntry
in interface DLFileEntryLocalService
dlFileEntry
- the d l file entry to add
SystemException
- if a system exception occurredpublic DLFileEntry createDLFileEntry(long fileEntryId)
createDLFileEntry
in interface DLFileEntryLocalService
fileEntryId
- the primary key for the new d l file entry
public void deleteDLFileEntry(long fileEntryId) throws PortalException, SystemException
deleteDLFileEntry
in interface DLFileEntryLocalService
fileEntryId
- the primary key of the d l file entry to delete
PortalException
- if a d l file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
deleteDLFileEntry
in interface DLFileEntryLocalService
dlFileEntry
- the d l file entry to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DLFileEntryLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, 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.
dynamicQuery
in interface DLFileEntryLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, 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.
dynamicQuery
in interface DLFileEntryLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DLFileEntryLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic DLFileEntry getDLFileEntry(long fileEntryId) throws PortalException, SystemException
getDLFileEntry
in interface DLFileEntryLocalService
fileEntryId
- the primary key of the d l file entry to get
PortalException
- if a d l file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDLFileEntryByUuidAndGroupId
in interface DLFileEntryLocalService
uuid
- the UUID of d l file entry to getgroupId
- the group id of the d l file entry to get
PortalException
- if a d l file entry with the UUID and group id could not be found
SystemException
- if a system exception occurredpublic List<DLFileEntry> getDLFileEntries(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.
getDLFileEntries
in interface DLFileEntryLocalService
start
- the lower bound of the range of d l file entries to returnend
- the upper bound of the range of d l file entries to return (not inclusive)
SystemException
- if a system exception occurredpublic int getDLFileEntriesCount() throws SystemException
getDLFileEntriesCount
in interface DLFileEntryLocalService
SystemException
- if a system exception occurredpublic DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
updateDLFileEntry
in interface DLFileEntryLocalService
dlFileEntry
- the d l file entry to update
SystemException
- if a system exception occurredpublic DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge) throws SystemException
updateDLFileEntry
in interface DLFileEntryLocalService
dlFileEntry
- the d l file entry to updatemerge
- whether to merge the d l file entry with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic DLFileEntry addFileEntry(long userId, long groupId, long folderId, String name, String title, String description, String changeLog, String extraSettings, byte[] bytes, ServiceContext serviceContext) throws PortalException, SystemException
addFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry addFileEntry(long userId, long groupId, long folderId, String name, String title, String description, String changeLog, String extraSettings, File file, ServiceContext serviceContext) throws PortalException, SystemException
addFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry addFileEntry(long userId, long groupId, long folderId, String name, String title, String description, String changeLog, String extraSettings, InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
addFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void addFileEntryResources(DLFileEntry fileEntry, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addFileEntryResources
in interface DLFileEntryLocalService
PortalException
SystemException
public void addFileEntryResources(DLFileEntry fileEntry, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
addFileEntryResources
in interface DLFileEntryLocalService
PortalException
SystemException
public void addFileEntryResources(long fileEntryId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addFileEntryResources
in interface DLFileEntryLocalService
PortalException
SystemException
public void addFileEntryResources(long fileEntryId, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
addFileEntryResources
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry addOrOverwriteFileEntry(long userId, long groupId, long folderId, String name, String sourceName, String title, String description, String changeLog, String extraSettings, File file, ServiceContext serviceContext) throws PortalException, SystemException
addOrOverwriteFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteFileEntries(long groupId, long folderId) throws PortalException, SystemException
deleteFileEntries
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteFileEntry(DLFileEntry fileEntry) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteFileEntry(long groupId, long folderId, String name) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteFileEntry(long groupId, long folderId, String name, String version) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end) throws SystemException
getCompanyFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end, OrderByComparator obc) throws SystemException
getCompanyFileEntries
in interface DLFileEntryLocalService
SystemException
public int getCompanyFileEntriesCount(long companyId) throws SystemException
getCompanyFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public InputStream getFileAsStream(long companyId, long userId, long groupId, long folderId, String name) throws PortalException, SystemException
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public InputStream getFileAsStream(long companyId, long userId, long groupId, long folderId, String name, String version) throws PortalException, SystemException
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public int getFileEntriesCount(long groupId, long folderId) throws SystemException
getFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public DLFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
getFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry getFileEntry(long groupId, long folderId, String name) throws PortalException, SystemException
getFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry getFileEntryByTitle(long groupId, long folderId, String title) throws PortalException, SystemException
getFileEntryByTitle
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getFileEntryByUuidAndGroupId
in interface DLFileEntryLocalService
PortalException
SystemException
public int getFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status) throws SystemException
getFoldersFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public int getGroupFileEntriesCount(long groupId) throws SystemException
getGroupFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public int getGroupFileEntriesCount(long groupId, long userId) throws SystemException
getGroupFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getNoAssetFileEntries() throws SystemException
getNoAssetFileEntries
in interface DLFileEntryLocalService
SystemException
public DLFileEntry moveFileEntry(long userId, long groupId, long folderId, long newFolderId, String name, ServiceContext serviceContext) throws PortalException, SystemException
moveFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void updateAsset(long userId, DLFileEntry fileEntry, DLFileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames) throws PortalException, SystemException
updateAsset
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry updateFileEntry(long userId, long groupId, long folderId, String name, String sourceFileName, String title, String description, String changeLog, boolean majorVersion, String extraSettings, byte[] bytes, ServiceContext serviceContext) throws PortalException, SystemException
updateFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry updateFileEntry(long userId, long groupId, long folderId, String name, String sourceFileName, String title, String description, String changeLog, boolean majorVersion, String extraSettings, File file, ServiceContext serviceContext) throws PortalException, SystemException
updateFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry updateFileEntry(long userId, long groupId, long folderId, String name, String sourceFileName, String title, String description, String changeLog, boolean majorVersion, String extraSettings, InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
updateFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry updateStatus(long userId, long fileEntryId, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntryLocalService getWrappedDLFileEntryLocalService()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |