public class NutsRepositoryFolderHelper extends Object
| Constructor and Description |
|---|
NutsRepositoryFolderHelper(NutsRepository repo,
NutsWorkspace ws,
Path rootPath,
boolean cacheFolder) |
public NutsRepositoryFolderHelper(NutsRepository repo, NutsWorkspace ws, Path rootPath, boolean cacheFolder)
public boolean isReadEnabled()
public void setReadEnabled(boolean readEnabled)
public boolean isWriteEnabled()
public void setWriteEnabled(boolean writeEnabled)
public Path getLongNameIdLocalFolder(NutsId id, NutsSession session)
public Path getLongNameIdLocalFile(NutsId id, NutsSession session)
public Path getShortNameIdLocalFolder(NutsId id, NutsSession session)
public NutsContent fetchContentImpl(NutsId id, String localPath, NutsSession session)
public NutsWorkspace getWorkspace()
protected String getIdFilename(NutsId id, NutsSession session)
public Path getGoodPath(NutsId id, NutsSession session)
protected NutsDescriptor fetchDescriptorImpl(NutsId id, NutsSession session)
protected NutsDescriptor loadMatchingDescriptor(Path file, NutsId id, NutsSession session)
public Path getLocalGroupAndArtifactFile(NutsId id, NutsSession session)
public Iterator<NutsId> searchVersions(NutsId id, NutsIdFilter filter, boolean deep, NutsSession session)
public Iterator<NutsId> searchImpl(NutsIdFilter filter, NutsSession session)
public Iterator<NutsId> findInFolder(Path folder, NutsIdFilter filter, int maxDepth, NutsSession session)
public Path getStoreLocation()
public NutsId searchLatestVersion(NutsId id, NutsIdFilter filter, NutsSession session)
public NutsDescriptor deploy(NutsDeployRepositoryCommand deployment, NutsConfirmationMode writeType)
protected NutsLogger _LOG(NutsSession session)
public Path deployDescriptor(NutsId id, NutsDescriptor desc, NutsConfirmationMode writeType, NutsSession session)
public boolean isDeployed(NutsId id, NutsDescriptor descriptor, NutsSession session)
public Path deployContent(NutsId id, Object content, NutsDescriptor descriptor, NutsConfirmationMode writeType, NutsSession session)
public boolean undeploy(NutsRepositoryUndeployCommand command)
public void reindexFolder(NutsSession session)
Copyright © 2021 vpc open source initiative. All rights reserved.