info.magnolia.repository.definition
Class RepositoryMappingDefinition

java.lang.Object
  extended by info.magnolia.repository.definition.RepositoryMappingDefinition

public class RepositoryMappingDefinition
extends Object

Represents the configuration defined in repositories.xml.

Version:
$Id$

Constructor Summary
RepositoryMappingDefinition()
           
 
Method Summary
 void addMapping(String logicalWorkspaceName, String repositoryName, String workspaceName)
           
 void addRepository(RepositoryDefinition repositoryDefinition)
           
 Collection<RepositoryDefinition> getRepositories()
           
 Collection<WorkspaceMappingDefinition> getWorkspaceMappings()
           
 void setMappings(Map<String,WorkspaceMappingDefinition> workspaceMappings)
           
 void setRepositories(Collection<RepositoryDefinition> repositories)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryMappingDefinition

public RepositoryMappingDefinition()
Method Detail

setMappings

public void setMappings(Map<String,WorkspaceMappingDefinition> workspaceMappings)

addMapping

public void addMapping(String logicalWorkspaceName,
                       String repositoryName,
                       String workspaceName)

setRepositories

public void setRepositories(Collection<RepositoryDefinition> repositories)

addRepository

public void addRepository(RepositoryDefinition repositoryDefinition)

getWorkspaceMappings

public Collection<WorkspaceMappingDefinition> getWorkspaceMappings()

getRepositories

public Collection<RepositoryDefinition> getRepositories()


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.