org.eclipse.corona.repository
Interface IRepository


public interface IRepository


Method Summary
 void addResource(java.lang.Object resourceName)
           
 void close()
          close the Repository, if connection cannot be close an exception is thrown
 java.lang.Object fetchNativeRepositoryClient()
           
 java.lang.Object fetchResource(java.lang.Object resourceId)
           
 java.lang.String getName()
           
 java.util.Properties getProperties()
           
 java.util.List getRepositoryCapabilities()
           
 java.lang.String getType()
           
 java.lang.String getVersion()
           
 void open()
          open the Repository for use, attempts to connect to Repository, if connection fails an exception is thrown
 void removeResource(java.lang.Object resourceName)
           
 java.util.List resourceChanges(java.lang.String Date, java.lang.String Time)
           
 boolean resourceExists(java.lang.String resourceName)
          determine whether a resource with resourceName is in Repository
 void setProperties(java.util.Properties respositoryProperties)
           
 

Method Detail

getName

java.lang.String getName()

setProperties

void setProperties(java.util.Properties respositoryProperties)

getProperties

java.util.Properties getProperties()

open

void open()
          throws java.lang.Exception
open the Repository for use, attempts to connect to Repository, if connection fails an exception is thrown

Throws:
java.lang.Exception

close

void close()
           throws java.lang.Exception
close the Repository, if connection cannot be close an exception is thrown

Throws:
java.lang.Exception

resourceExists

boolean resourceExists(java.lang.String resourceName)
determine whether a resource with resourceName is in Repository

Parameters:
resourceName -
Returns:

addResource

void addResource(java.lang.Object resourceName)

removeResource

void removeResource(java.lang.Object resourceName)

fetchResource

java.lang.Object fetchResource(java.lang.Object resourceId)

resourceChanges

java.util.List resourceChanges(java.lang.String Date,
                               java.lang.String Time)

getType

java.lang.String getType()
Returns:
the type of the repository, e.g. "TeamMembers"

getVersion

java.lang.String getVersion()
Returns:
the type of the repository, e.g. "TeamMembers"

fetchNativeRepositoryClient

java.lang.Object fetchNativeRepositoryClient()

getRepositoryCapabilities

java.util.List getRepositoryCapabilities()

Copyright 2006 IBM Corporation and others.
All Rights Reserved.