com.fatwire.agent
Class RepositoryInfo

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.util.List<java.lang.String>>
          extended by com.fatwire.agent.Properties
              extended by com.fatwire.agent.RepositoryInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.util.List<java.lang.String>>

public class RepositoryInfo
extends Properties

Content repository information block. It holds basic repository information. It is used as an intermediary between catalog facility and the Agent runtime or during the repository instantiation/creation.

See Also:
ProviderInfo., Serialized Form

Constructor Summary
RepositoryInfo(java.lang.String name)
          Constructor.
RepositoryInfo(java.lang.String providerid, java.lang.String repid, java.lang.String name)
          Constructor.
RepositoryInfo(java.lang.String providerid, java.lang.String repid, java.lang.String name, java.lang.String owner, java.lang.String peerPath)
          Constructor.
RepositoryInfo(java.lang.String providerid, java.lang.String repid, java.lang.String name, java.lang.String owner, java.lang.String peerPath, java.util.Date created, java.util.Date modified)
          Constructor.
 
Method Summary
 java.util.Date getDateCreated()
          Gets repository creation date.
 java.util.Date getDateModified()
          Gets repository last modification date.
 java.lang.String getName()
          Gets repository name.
 java.lang.String getOwner()
          Gets repository owner.
 java.lang.String getPeerPath()
          Path of this repository in the source system.
 java.lang.String getProviderID()
          Gets the identifier of the provider this repository belongs to.
 java.lang.String getRepositoryID()
          Gets repository unique identifier.
 
Methods inherited from class com.fatwire.agent.Properties
getPropertyValue, getPropertyValue, getPropertyValues, setPropertyValue, setPropertyValues
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

RepositoryInfo

public RepositoryInfo(java.lang.String providerid,
                      java.lang.String repid,
                      java.lang.String name,
                      java.lang.String owner,
                      java.lang.String peerPath,
                      java.util.Date created,
                      java.util.Date modified)
Constructor.

Parameters:
providerid - provider identifier this repository belongs to.
repid - repository identifier to use.
name - repository name.
owner - repository owner.
peerPath - path of this repository in the source system. Typically used to store associated link id.
created - repository creation time.
modified - repository last modification time.

RepositoryInfo

public RepositoryInfo(java.lang.String providerid,
                      java.lang.String repid,
                      java.lang.String name,
                      java.lang.String owner,
                      java.lang.String peerPath)
Constructor.

Parameters:
providerid - provider identifier this repository belongs to.
repid - repository identifier to use.
name - repository name.
owner - repository owner.
peerPath - path of this repository in the source system. Typically used to store associated link id.

RepositoryInfo

public RepositoryInfo(java.lang.String providerid,
                      java.lang.String repid,
                      java.lang.String name)
Constructor.

Parameters:
providerid - provider identifier this repository belongs to.
repid - repository identifier to use.
name - repository name.

RepositoryInfo

public RepositoryInfo(java.lang.String name)
Constructor.

Use this constructor to create a new repository.

Parameters:
name - repository name.
Method Detail

getProviderID

public java.lang.String getProviderID()
Gets the identifier of the provider this repository belongs to.

Returns:
provider identifier.

getName

public java.lang.String getName()
Gets repository name.

Returns:
repository name.

getRepositoryID

public java.lang.String getRepositoryID()
Gets repository unique identifier.

Returns:
repository identifier.

getOwner

public java.lang.String getOwner()
Gets repository owner.

Returns:
repository owner.

getPeerPath

public java.lang.String getPeerPath()
Path of this repository in the source system. Typically used to store associated link id.

Returns:
peer path.

getDateCreated

public java.util.Date getDateCreated()
Gets repository creation date.

Returns:
repository creation date.

getDateModified

public java.util.Date getDateModified()
Gets repository last modification date.

Returns:
repository last modification date.