|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portlet.documentlibrary.service.base.DLFileEntryLocalServiceBaseImpl com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl
public class DLFileEntryLocalServiceImpl
Provides the local service for accessing, adding, checking in/out, deleting, locking/unlocking, moving, reverting, updating, and verifying document library file entries.
Due to legacy code, the names of some file entry properties are not
intuitive. Each file entry has both a name and title. The name
is a unique identifier for a given file and is generally numeric, whereas the
title
is the actual name specified by the user (such as
"Budget.xls").
Field Summary | |
---|---|
static int |
DELETE_INTERVAL
|
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
DLFileEntryLocalServiceImpl()
|
Method Summary | |
---|---|
DLFileEntry |
addFileEntry(long userId,
long groupId,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
|
protected DLFileVersion |
addFileVersion(User user,
DLFileEntry dlFileEntry,
Date modifiedDate,
String extension,
String mimeType,
String title,
String description,
String changeLog,
String extraSettings,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
String version,
long size,
int status,
ServiceContext serviceContext)
|
DLFileVersion |
cancelCheckOut(long userId,
long fileEntryId)
|
void |
checkInFileEntry(long userId,
long fileEntryId,
boolean majorVersion,
String changeLog,
ServiceContext serviceContext)
|
void |
checkInFileEntry(long userId,
long fileEntryId,
String lockUuid)
Deprecated. As of 6.2.0, replaced by checkInFileEntry(long, long,
String, ServiceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
|
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId)
Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long,
long, ServiceContext) |
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId,
ServiceContext serviceContext)
|
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId,
String owner,
long expirationTime)
Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long,
long, String, long, ServiceContext) |
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext)
|
protected void |
convertExtraSettings(DLFileEntry dlFileEntry,
DLFileVersion dlFileVersion,
String[] keys)
|
protected void |
convertExtraSettings(DLFileEntry dlFileEntry,
String[] keys)
|
void |
convertExtraSettings(String[] keys)
|
protected void |
convertExtraSettings(UnicodeProperties extraSettingsProperties,
ExpandoBridge expandoBridge,
String[] keys)
|
protected void |
copyExpandoRowModifiedDate(long companyId,
long sourceFileVersionId,
long destinationFileVersionId)
|
void |
copyFileEntryMetadata(long companyId,
long fileEntryTypeId,
long fileEntryId,
long fromFileVersionId,
long toFileVersionId,
ServiceContext serviceContext)
|
protected void |
copyFileEntryMetadata(long companyId,
long fileEntryTypeId,
long fileEntryId,
long fromFileVersionId,
long toFileVersionId,
ServiceContext serviceContext,
Map<String,Fields> fieldsMap,
List<DDMStructure> ddmStructures)
|
void |
deleteFileEntries(long groupId,
long folderId)
|
void |
deleteFileEntries(long groupId,
long folderId,
boolean includeTrashedEntries)
|
DLFileEntry |
deleteFileEntry(DLFileEntry dlFileEntry)
|
DLFileEntry |
deleteFileEntry(long fileEntryId)
|
DLFileEntry |
deleteFileEntry(long userId,
long fileEntryId)
|
DLFileEntry |
deleteFileVersion(long userId,
long fileEntryId,
String version)
|
void |
deleteRepositoryFileEntries(long repositoryId,
long folderId)
|
void |
deleteRepositoryFileEntries(long repositoryId,
long folderId,
boolean includeTrashedEntries)
|
DLFileEntry |
fetchFileEntry(long groupId,
long folderId,
String title)
|
DLFileEntry |
fetchFileEntryByAnyImageId(long imageId)
|
DLFileEntry |
fetchFileEntryByName(long groupId,
long folderId,
String name)
|
List<DLFileEntry> |
getDDMStructureFileEntries(long[] ddmStructureIds)
|
List<DLFileEntry> |
getDDMStructureFileEntries(long groupId,
long[] ddmStructureIds)
|
List<DLFileEntry> |
getExtraSettingsFileEntries(int start,
int end)
|
int |
getExtraSettingsFileEntriesCount()
|
File |
getFile(long userId,
long fileEntryId,
String version,
boolean incrementCounter)
|
File |
getFile(long userId,
long fileEntryId,
String version,
boolean incrementCounter,
int increment)
|
InputStream |
getFileAsStream(long userId,
long fileEntryId,
String version)
Deprecated. As of 7.0.0, replaced by getFileAsStream(long,
String) |
InputStream |
getFileAsStream(long userId,
long fileEntryId,
String version,
boolean incrementCounter)
Deprecated. As of 7.0.0, replaced by getFileAsStream(long,
String, boolean) |
InputStream |
getFileAsStream(long userId,
long fileEntryId,
String version,
boolean incrementCounter,
int increment)
Deprecated. As of 7.0.0, replaced by getFileAsStream(long,
String, boolean, int) |
InputStream |
getFileAsStream(long fileEntryId,
String version)
|
InputStream |
getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter)
|
InputStream |
getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter,
int increment)
|
List<DLFileEntry> |
getFileEntries(int start,
int end)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long userId,
List<Long> repositoryIds,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long userId,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
List<DLFileEntry> |
getFileEntries(long folderId,
String name)
|
int |
getFileEntriesCount()
|
int |
getFileEntriesCount(long groupId,
DateRange dateRange,
long repositoryId,
QueryDefinition queryDefinition)
Deprecated. As of 7.0.0, with no direct replacement |
int |
getFileEntriesCount(long groupId,
long folderId)
|
int |
getFileEntriesCount(long groupId,
long folderId,
int status)
|
int |
getFileEntriesCount(long groupId,
long userId,
List<Long> repositoryIds,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
int |
getFileEntriesCount(long groupId,
long userId,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
DLFileEntry |
getFileEntry(long fileEntryId)
|
DLFileEntry |
getFileEntry(long groupId,
long folderId,
String title)
|
DLFileEntry |
getFileEntryByName(long groupId,
long folderId,
String name)
|
DLFileEntry |
getFileEntryByUuidAndGroupId(String uuid,
long groupId)
|
protected String |
getFileEntryURL(DLFileEntry dlFileEntry,
ServiceContext serviceContext)
|
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> |
getMisversionedFileEntries()
|
protected String |
getNextVersion(DLFileEntry dlFileEntry,
boolean majorVersion,
int workflowAction)
|
List<DLFileEntry> |
getNoAssetFileEntries()
|
List<DLFileEntry> |
getOrphanedFileEntries()
|
String |
getUniqueTitle(long groupId,
long folderId,
long fileEntryId,
String title,
String extension)
|
boolean |
hasExtraSettings()
|
boolean |
hasFileEntryLock(long userId,
long fileEntryId)
|
void |
incrementViewCounter(DLFileEntry dlFileEntry,
int increment)
|
boolean |
isFileEntryCheckedOut(long fileEntryId)
|
protected boolean |
isKeepFileVersionLabel(DLFileEntry dlFileEntry,
DLFileVersion lastDLFileVersion,
DLFileVersion latestDLFileVersion,
int workflowAction)
|
Lock |
lockFileEntry(long userId,
long fileEntryId)
|
DLFileEntry |
moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
|
protected DLFileEntry |
moveFileEntryImpl(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
|
void |
rebuildTree(long companyId)
|
protected void |
reindex(DLFileEntry dlFileEntry)
|
protected void |
removeFileVersion(DLFileEntry dlFileEntry,
DLFileVersion dlFileVersion)
|
void |
revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext serviceContext)
|
Hits |
search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end)
|
Hits |
search(long groupId,
long userId,
long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end)
|
void |
setTreePaths(long folderId,
String treePath,
boolean reindex)
|
protected void |
startWorkflowInstance(long userId,
ServiceContext serviceContext,
DLFileVersion dlFileVersion,
String syncEventType)
|
void |
unlockFileEntry(long fileEntryId)
|
DLFileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
|
protected DLFileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String extension,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
|
protected DLFileVersion |
updateFileVersion(User user,
DLFileVersion dlFileVersion,
String sourceFileName,
String extension,
String mimeType,
String title,
String description,
String changeLog,
String extraSettings,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
String version,
long size,
int status,
Date statusDate,
ServiceContext serviceContext)
|
void |
updateSmallImage(long smallImageId,
long largeImageId)
|
DLFileEntry |
updateStatus(long userId,
long fileVersionId,
int status,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
|
void |
validateFile(long groupId,
long folderId,
long fileEntryId,
String title,
String extension)
|
protected void |
validateFile(long groupId,
long folderId,
long fileEntryId,
String title,
String extension,
String sourceFileName,
File file,
InputStream is)
|
protected void |
validateFileEntryTypeId(long[] groupIds,
long folderId,
long fileEntryTypeId)
|
protected void |
validateFileExtension(String extension)
|
protected void |
validateFileName(String fileName)
|
boolean |
verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
|
boolean |
verifyFileEntryLock(long fileEntryId,
String lockUuid)
|
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DELETE_INTERVAL
Constructor Detail |
---|
public DLFileEntryLocalServiceImpl()
Method Detail |
---|
public DLFileEntry addFileEntry(long userId, long groupId, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, long fileEntryTypeId, Map<String,Fields> fieldsMap, File file, InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public DLFileVersion cancelCheckOut(long userId, long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
public void checkInFileEntry(long userId, long fileEntryId, boolean majorVersion, String changeLog, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void checkInFileEntry(long userId, long fileEntryId, String lockUuid) throws PortalException, SystemException
checkInFileEntry(long, long,
String, ServiceContext)
PortalException
SystemException
public void checkInFileEntry(long userId, long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
checkOutFileEntry(long,
long, ServiceContext)
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId, String owner, long expirationTime) throws PortalException, SystemException
checkOutFileEntry(long,
long, String, long, ServiceContext)
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void convertExtraSettings(String[] keys) throws PortalException, SystemException
PortalException
SystemException
public void copyFileEntryMetadata(long companyId, long fileEntryTypeId, long fileEntryId, long fromFileVersionId, long toFileVersionId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void deleteFileEntries(long groupId, long folderId) throws PortalException, SystemException
PortalException
SystemException
public void deleteFileEntries(long groupId, long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) public DLFileEntry deleteFileEntry(DLFileEntry dlFileEntry) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) public DLFileEntry deleteFileEntry(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=DELETE) public DLFileEntry deleteFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=REINDEX) public DLFileEntry deleteFileVersion(long userId, long fileEntryId, String version) throws PortalException, SystemException
PortalException
SystemException
public void deleteRepositoryFileEntries(long repositoryId, long folderId) throws PortalException, SystemException
PortalException
SystemException
public void deleteRepositoryFileEntries(long repositoryId, long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
PortalException
SystemException
public DLFileEntry fetchFileEntry(long groupId, long folderId, String title) throws SystemException
SystemException
public DLFileEntry fetchFileEntryByAnyImageId(long imageId) throws SystemException
SystemException
public DLFileEntry fetchFileEntryByName(long groupId, long folderId, String name) throws SystemException
SystemException
public List<DLFileEntry> getDDMStructureFileEntries(long groupId, long[] ddmStructureIds) throws SystemException
SystemException
public List<DLFileEntry> getDDMStructureFileEntries(long[] ddmStructureIds) throws SystemException
SystemException
public List<DLFileEntry> getExtraSettingsFileEntries(int start, int end) throws SystemException
SystemException
public int getExtraSettingsFileEntriesCount() throws SystemException
SystemException
public File getFile(long userId, long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
PortalException
SystemException
public File getFile(long userId, long fileEntryId, String version, boolean incrementCounter, int increment) throws PortalException, SystemException
PortalException
SystemException
@Deprecated public InputStream getFileAsStream(long userId, long fileEntryId, String version) throws PortalException, SystemException
getFileAsStream(long,
String)
PortalException
SystemException
@Deprecated public InputStream getFileAsStream(long userId, long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
getFileAsStream(long,
String, boolean)
PortalException
SystemException
@Deprecated public InputStream getFileAsStream(long userId, long fileEntryId, String version, boolean incrementCounter, int increment) throws PortalException, SystemException
getFileAsStream(long,
String, boolean, int)
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version) throws PortalException, SystemException
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter, int increment) throws PortalException, SystemException
PortalException
SystemException
public List<DLFileEntry> getFileEntries(int start, int end) throws SystemException
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId) throws SystemException
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long userId, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
Exception
public List<DLFileEntry> getFileEntries(long groupId, long userId, List<Long> repositoryIds, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
Exception
public List<DLFileEntry> getFileEntries(long folderId, String name) throws SystemException
SystemException
public int getFileEntriesCount() throws SystemException
SystemException
@Deprecated public int getFileEntriesCount(long groupId, DateRange dateRange, long repositoryId, QueryDefinition queryDefinition) throws SystemException
SystemException
public int getFileEntriesCount(long groupId, long folderId) throws SystemException
SystemException
public int getFileEntriesCount(long groupId, long folderId, int status) throws SystemException
SystemException
public int getFileEntriesCount(long groupId, long userId, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
Exception
public int getFileEntriesCount(long groupId, long userId, List<Long> repositoryIds, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
Exception
public DLFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
public DLFileEntry getFileEntry(long groupId, long folderId, String title) throws PortalException, SystemException
PortalException
SystemException
public DLFileEntry getFileEntryByName(long groupId, long folderId, String name) throws PortalException, SystemException
PortalException
SystemException
public DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
PortalException
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end) throws SystemException
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end) throws SystemException
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public int getGroupFileEntriesCount(long groupId) throws SystemException
SystemException
public int getGroupFileEntriesCount(long groupId, long userId) throws SystemException
SystemException
public List<DLFileEntry> getMisversionedFileEntries() throws SystemException
SystemException
public List<DLFileEntry> getNoAssetFileEntries() throws SystemException
SystemException
public List<DLFileEntry> getOrphanedFileEntries() throws SystemException
SystemException
public String getUniqueTitle(long groupId, long folderId, long fileEntryId, String title, String extension) throws PortalException, SystemException
PortalException
SystemException
public boolean hasExtraSettings() throws SystemException
SystemException
public boolean hasFileEntryLock(long userId, long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
@BufferedIncrement(configuration="DLFileEntry", incrementClass=NumberIncrement.class) public void incrementViewCounter(DLFileEntry dlFileEntry, int increment) throws SystemException
SystemException
public boolean isFileEntryCheckedOut(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
public Lock lockFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
@Indexable(type=REINDEX) public DLFileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void rebuildTree(long companyId) throws PortalException, SystemException
PortalException
SystemException
public void revertFileEntry(long userId, long fileEntryId, String version, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public Hits search(long groupId, long userId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public Hits search(long groupId, long userId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public void setTreePaths(long folderId, String treePath, boolean reindex) throws PortalException, SystemException
PortalException
SystemException
public void unlockFileEntry(long fileEntryId) throws SystemException
SystemException
public DLFileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, long fileEntryTypeId, Map<String,Fields> fieldsMap, File file, InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void updateSmallImage(long smallImageId, long largeImageId) throws PortalException, SystemException
PortalException
SystemException
public DLFileEntry updateStatus(long userId, long fileVersionId, int status, Map<String,Serializable> workflowContext, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
public boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
protected DLFileVersion addFileVersion(User user, DLFileEntry dlFileEntry, Date modifiedDate, String extension, String mimeType, String title, String description, String changeLog, String extraSettings, long fileEntryTypeId, Map<String,Fields> fieldsMap, String version, long size, int status, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected void convertExtraSettings(DLFileEntry dlFileEntry, DLFileVersion dlFileVersion, String[] keys) throws PortalException, SystemException
PortalException
SystemException
protected void convertExtraSettings(DLFileEntry dlFileEntry, String[] keys) throws PortalException, SystemException
PortalException
SystemException
protected void convertExtraSettings(UnicodeProperties extraSettingsProperties, ExpandoBridge expandoBridge, String[] keys)
protected void copyExpandoRowModifiedDate(long companyId, long sourceFileVersionId, long destinationFileVersionId) throws PortalException, SystemException
PortalException
SystemException
protected void copyFileEntryMetadata(long companyId, long fileEntryTypeId, long fileEntryId, long fromFileVersionId, long toFileVersionId, ServiceContext serviceContext, Map<String,Fields> fieldsMap, List<DDMStructure> ddmStructures) throws PortalException, SystemException
PortalException
SystemException
protected String getFileEntryURL(DLFileEntry dlFileEntry, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected String getNextVersion(DLFileEntry dlFileEntry, boolean majorVersion, int workflowAction) throws PortalException, SystemException
PortalException
SystemException
protected boolean isKeepFileVersionLabel(DLFileEntry dlFileEntry, DLFileVersion lastDLFileVersion, DLFileVersion latestDLFileVersion, int workflowAction) throws PortalException, SystemException
PortalException
SystemException
protected DLFileEntry moveFileEntryImpl(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected void reindex(DLFileEntry dlFileEntry) throws SearchException
SearchException
protected void removeFileVersion(DLFileEntry dlFileEntry, DLFileVersion dlFileVersion) throws PortalException, SystemException
PortalException
SystemException
protected void startWorkflowInstance(long userId, ServiceContext serviceContext, DLFileVersion dlFileVersion, String syncEventType) throws PortalException, SystemException
PortalException
SystemException
protected DLFileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String extension, String mimeType, String title, String description, String changeLog, boolean majorVersion, String extraSettings, long fileEntryTypeId, Map<String,Fields> fieldsMap, File file, InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected DLFileVersion updateFileVersion(User user, DLFileVersion dlFileVersion, String sourceFileName, String extension, String mimeType, String title, String description, String changeLog, String extraSettings, long fileEntryTypeId, Map<String,Fields> fieldsMap, String version, long size, int status, Date statusDate, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void validateFile(long groupId, long folderId, long fileEntryId, String title, String extension) throws PortalException, SystemException
PortalException
SystemException
protected void validateFile(long groupId, long folderId, long fileEntryId, String title, String extension, String sourceFileName, File file, InputStream is) throws PortalException, SystemException
PortalException
SystemException
protected void validateFileEntryTypeId(long[] groupIds, long folderId, long fileEntryTypeId) throws PortalException, SystemException
PortalException
SystemException
protected void validateFileExtension(String extension) throws PortalException
PortalException
protected void validateFileName(String fileName) throws PortalException
PortalException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |