public class VirtualFileFolderServiceExtension extends VirtualSpringBeanExtension<FileFolderServiceExtension,FileFolderServiceTrait> implements FileFolderServiceExtension
Constructor and Description |
---|
VirtualFileFolderServiceExtension() |
Modifier and Type | Method and Description |
---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
actualNodeFrom(Reference reference) |
FileInfo |
asFileInfo(VirtualStore smartStore,
ActualEnvironment environment,
Reference reference) |
org.alfresco.query.PagingResults<FileInfo> |
asFileInfoResults(ActualEnvironment environment,
org.alfresco.query.PagingResults<Reference> results,
VirtualStore store) |
List<FileInfo> |
asFileInfos(List<Reference> references,
VirtualStore smartStore,
ActualEnvironment environment) |
protected boolean |
canVirtualize(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
List<FileInfo> |
list(org.alfresco.service.cmr.repository.NodeRef contextNodeRef) |
org.alfresco.query.PagingResults<FileInfo> |
list(org.alfresco.service.cmr.repository.NodeRef contextNodeRef,
boolean files,
boolean folders,
Set<org.alfresco.service.namespace.QName> ignoreQNames,
List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps,
org.alfresco.query.PagingRequest pagingRequest) |
org.alfresco.query.PagingResults<FileInfo> |
list(org.alfresco.service.cmr.repository.NodeRef contextNodeRef,
boolean files,
boolean folders,
String pattern,
Set<org.alfresco.service.namespace.QName> ignoreQNames,
List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps,
org.alfresco.query.PagingRequest pagingRequest) |
org.alfresco.query.PagingResults<FileInfo> |
list(org.alfresco.service.cmr.repository.NodeRef rootNodeRef,
Set<org.alfresco.service.namespace.QName> searchTypeQNames,
Set<org.alfresco.service.namespace.QName> ignoreAspectQNames,
List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps,
org.alfresco.query.PagingRequest pagingRequest) |
protected boolean |
mergeActualNode(Reference reference) |
FileInfo |
rename(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
String newName) |
List<FileInfo> |
search(org.alfresco.service.cmr.repository.NodeRef contextNodeRef,
String namePattern,
boolean includeSubFolders) |
List<FileInfo> |
search(org.alfresco.service.cmr.repository.NodeRef contextNodeRef,
String namePattern,
boolean fileSearch,
boolean folderSearch,
boolean includeSubFolders) |
void |
setEnvironment(ActualEnvironment environment) |
void |
setSmartStore(VirtualStore smartStore) |
isVirtualContextFolder
register, setExtensionPoint
acceptsTrait, acceptsTraitClass, getTrait
public void setSmartStore(VirtualStore smartStore)
public void setEnvironment(ActualEnvironment environment)
public List<FileInfo> asFileInfos(List<Reference> references, VirtualStore smartStore, ActualEnvironment environment) throws VirtualizationException
VirtualizationException
public FileInfo asFileInfo(VirtualStore smartStore, ActualEnvironment environment, Reference reference) throws VirtualizationException
VirtualizationException
public List<FileInfo> list(org.alfresco.service.cmr.repository.NodeRef contextNodeRef)
list
in interface FileFolderServiceExtension
protected boolean mergeActualNode(Reference reference) throws VirtualizationException
VirtualizationException
protected org.alfresco.service.cmr.repository.NodeRef actualNodeFrom(Reference reference) throws VirtualizationException
VirtualizationException
protected boolean canVirtualize(org.alfresco.service.cmr.repository.NodeRef nodeRef) throws VirtualizationException
VirtualizationException
public org.alfresco.query.PagingResults<FileInfo> list(org.alfresco.service.cmr.repository.NodeRef contextNodeRef, boolean files, boolean folders, String pattern, Set<org.alfresco.service.namespace.QName> ignoreQNames, List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps, org.alfresco.query.PagingRequest pagingRequest)
list
in interface FileFolderServiceExtension
public org.alfresco.query.PagingResults<FileInfo> asFileInfoResults(ActualEnvironment environment, org.alfresco.query.PagingResults<Reference> results, VirtualStore store) throws ReferenceEncodingException, VirtualizationException
public org.alfresco.query.PagingResults<FileInfo> list(org.alfresco.service.cmr.repository.NodeRef rootNodeRef, Set<org.alfresco.service.namespace.QName> searchTypeQNames, Set<org.alfresco.service.namespace.QName> ignoreAspectQNames, List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps, org.alfresco.query.PagingRequest pagingRequest)
list
in interface FileFolderServiceExtension
public List<FileInfo> search(org.alfresco.service.cmr.repository.NodeRef contextNodeRef, String namePattern, boolean includeSubFolders)
search
in interface FileFolderServiceExtension
public List<FileInfo> search(org.alfresco.service.cmr.repository.NodeRef contextNodeRef, String namePattern, boolean fileSearch, boolean folderSearch, boolean includeSubFolders)
search
in interface FileFolderServiceExtension
public FileInfo rename(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, String newName) throws FileExistsException, FileNotFoundException
rename
in interface FileFolderServiceExtension
FileExistsException
FileNotFoundException
public org.alfresco.query.PagingResults<FileInfo> list(org.alfresco.service.cmr.repository.NodeRef contextNodeRef, boolean files, boolean folders, Set<org.alfresco.service.namespace.QName> ignoreQNames, List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,Boolean>> sortProps, org.alfresco.query.PagingRequest pagingRequest)
list
in interface FileFolderServiceExtension
Copyright © 2005–2017 Alfresco Software. All rights reserved.