Class BaseCmisRepository
java.lang.Object
com.liferay.portal.kernel.repository.BaseRepositoryImpl
com.liferay.document.library.repository.cmis.BaseCmisRepository
- All Implemented Interfaces:
com.liferay.portal.kernel.repository.BaseRepository
,com.liferay.portal.kernel.repository.capabilities.CapabilityProvider
,com.liferay.portal.kernel.repository.DocumentRepository
,com.liferay.portal.kernel.repository.Repository
public abstract class BaseCmisRepository
extends com.liferay.portal.kernel.repository.BaseRepositoryImpl
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.repository.BaseRepositoryImpl
assetEntryLocalService, companyLocalService, dlAppHelperLocalService, dlFolderLocalService, repositoryEntryLocalService, userLocalService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
getLatestVersionId
(String objectId) abstract String
getObjectName
(String objectId) getObjectPaths
(String objectId) abstract boolean
isCancelCheckOutAllowable
(String objectId) abstract boolean
isCheckInAllowable
(String objectId) abstract boolean
isCheckOutAllowable
(String objectId) abstract boolean
abstract com.liferay.portal.kernel.repository.model.FileEntry
toFileEntry
(String objectId) abstract com.liferay.portal.kernel.repository.model.Folder
abstract com.liferay.portal.kernel.repository.model.FileEntry
updateFileEntry
(String objectId, String mimeType, Map<String, Object> properties, InputStream inputStream, String sourceFileName, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) Methods inherited from class com.liferay.portal.kernel.repository.BaseRepositoryImpl
addFileEntry, addFolder, checkInFileEntry, checkOutFileEntry, checkOutFileEntry, clearManualCheckInRequired, deleteAll, deleteFileEntry, deleteFileVersion, deleteFileVersion, deleteFolder, getCapability, getCompanyId, getFileEntriesAndFileShortcuts, getFileEntriesAndFileShortcutsCount, getFileEntriesAndFileShortcutsCount, getFolders, getFoldersAndFileEntries, getFoldersAndFileEntries, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersAndFileEntriesCount, getFoldersAndFileEntriesCount, getFoldersCount, getGroupId, getLocalRepository, getRepositoryEntry, getRepositoryFileEntries, getRepositoryFileEntries, getRepositoryFileEntriesCount, getRepositoryFileEntriesCount, getRepositoryId, getSupportedParameters, getTypeSettingsProperties, initRepository, isCapabilityProvided, search, setAssetEntryLocalService, setCompanyId, setCompanyLocalService, setDLAppHelperLocalService, setDLFolderLocalService, setGroupId, setManualCheckInRequired, setRepositoryEntryLocalService, setRepositoryId, setTypeSettingsProperties, setUserLocalService, unlockFolder, updateFileEntry, updateFileEntry, updateFolder, verifyFileEntryLock
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.kernel.repository.DocumentRepository
addFileEntry, addFileShortcut, checkInFileEntry, copyFileEntry, deleteFileEntry, deleteFileShortcut, deleteFileShortcuts, deleteFolder, fetchFileEntry, fetchFileEntryByExternalReferenceCode, fetchFileShortcut, fetchFileShortcutByExternalReferenceCode, fetchFolderByExternalReferenceCode, getFileEntries, getFileEntries, getFileEntries, getFileEntriesCount, getFileEntriesCount, getFileEntriesCount, getFileEntry, getFileEntry, getFileEntryByExternalReferenceCode, getFileEntryByFileName, getFileEntryByUuid, getFileShortcut, getFileShortcutByExternalReferenceCode, getFileVersion, getFolder, getFolder, getFolderByExternalReferenceCode, getFolders, getFoldersCount, moveFileEntry, moveFolder, revertFileEntry, updateFileShortcut, updateFileShortcuts
Methods inherited from interface com.liferay.portal.kernel.repository.Repository
cancelCheckOut, getFileEntries, getFileEntries, getFileEntriesCount, getFileEntriesCount, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersFileEntriesCount, getMountFolders, getMountFoldersCount, getRepositoryFileShortcuts, getSubfolderIds, getSubfolderIds, lockFolder, lockFolder, refreshFileEntryLock, refreshFolderLock, search, search, search, unlockFolder, updateFolder, verifyFileEntryCheckOut, verifyInheritableLock
-
Constructor Details
-
BaseCmisRepository
public BaseCmisRepository()
-
-
Method Details
-
getLatestVersionId
-
getObjectName
public abstract String getObjectName(String objectId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectPaths
public abstract List<String> getObjectPaths(String objectId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isCancelCheckOutAllowable
public abstract boolean isCancelCheckOutAllowable(String objectId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isCheckInAllowable
public abstract boolean isCheckInAllowable(String objectId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isCheckOutAllowable
public abstract boolean isCheckOutAllowable(String objectId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isSupportsMinorVersions
public abstract boolean isSupportsMinorVersions() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
toFileEntry
public abstract com.liferay.portal.kernel.repository.model.FileEntry toFileEntry(String objectId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
toFolder
public abstract com.liferay.portal.kernel.repository.model.Folder toFolder(String objectId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFileEntry
public abstract com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(String objectId, String mimeType, Map<String, Object> properties, InputStream inputStream, String sourceFileName, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-