// TODO: this logic should be optional, particularly remembering we want to keep this code simple
// it is located here to avoid the content repository implementation needing to do too much for what
// is essentially presentation code
- Set<String> namespacesToCollapse;
+ Set<String> namespacesToCollapse = new LinkedHashSet<String>();
RepositorySession repositorySession = repositorySessionFactory.createSession();
try
{
MetadataResolver metadataResolver = repositorySession.getResolver();
- namespacesToCollapse = new LinkedHashSet<String>();
for ( String repoId : selectedRepos )
{
}
-
+ // FIXME this one need peformance improvement maybe a cache?
@Override
public Collection<String> getRootNamespaces( final String repoId )
throws MetadataResolutionException
return namespaces;
}
-
+ // FIXME this one need peformance improvement maybe a cache?
@Override
public Collection<String> getNamespaces( final String repoId, final String namespaceId )
throws MetadataResolutionException
}
-
+ // FIXME this one need peformance improvement maybe a cache?
public List<String> getNamespaces( final String repoId )
throws MetadataResolutionException
{