public class NRepositoryFolderHelper extends Object
| Constructor and Description |
|---|
NRepositoryFolderHelper(NRepository repo,
NPath rootPath,
boolean cacheFolder,
String kind,
NObjectElement extraInfoElements) |
public NRepositoryFolderHelper(NRepository repo, NPath rootPath, boolean cacheFolder, String kind, NObjectElement extraInfoElements)
public boolean isReadEnabled()
public void setReadEnabled(boolean readEnabled)
public boolean isWriteEnabled()
public void setWriteEnabled(boolean writeEnabled)
public NWorkspace getWorkspace()
public NDescriptor fetchDescriptorImpl(NId id)
protected NDescriptor loadMatchingDescriptor(NPath file, NId id)
public NIterator<NId> searchVersions(NId id, NDefinitionFilter filter, boolean deep)
public NIterator<NId> searchImpl(NDefinitionFilter filter)
public NIterator<NId> findInFolder(NPath folder, NDefinitionFilter filter, int maxDepth)
public NPath getStoreLocation()
public NId searchLatestVersion(NId id, NDefinitionFilter filter)
public NDescriptor deploy(NDeployRepositoryCmd deployment, NConfirmationMode writeType)
protected NLog _LOG()
public NPath deployDescriptor(NId id, NDescriptor desc, NConfirmationMode writeType)
public boolean isDeployed(NId id, NDescriptor descriptor)
public NPath deployContent(NId id, NInputSource content, NDescriptor descriptor, NConfirmationMode writeType)
public boolean undeploy(NRepositoryUndeployCmd command)
public void reindexFolder()
Copyright © 2025 vpc open source initiative. All rights reserved.