|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRepositoryAdapter
Field Summary | |
---|---|
static java.lang.String |
ATTRIBUTE_ACCESS_TYPE
|
static java.lang.String |
ATTRIBUTE_ADAPTER_CLASS
|
static java.lang.String |
ATTRIBUTE_CONTENT_TYPE
|
static java.lang.String |
ELEMENT_ADAPTER
|
static java.lang.String |
ELEMENT_DESCRIPTOR
|
static java.lang.String |
EXTENSION_POINT_ID
|
Method Summary | |
---|---|
void |
addResource(java.lang.Object resourceObject)
add a resource object to the repository |
void |
close()
close the Repository, if connection cannot be close an exception is thrown |
java.lang.Object |
fetchResource(java.lang.Object resourceId)
return the resource object with the given identifier from the repository. |
RepositoryDescriptor |
getDescriptor()
get the RepositoryDescriptor Model for this repository adapter |
java.lang.String |
getName()
get the name of the repository |
java.util.Properties |
getProperties()
retrieve the user or platform specific properties used by this repository adapter. |
java.util.List |
listResourceIds()
get a list of resource identifiers from the repository |
void |
open()
open the Repository for use, attempts to connect to Repository, if connection fails an exception is thrown |
void |
removeResource(java.lang.Object resourceId)
remove a resource object with the given resource identifier from the repository |
boolean |
resourceExists(java.lang.Object resourceId)
determine whether a resource with resourceName is in Repository |
void |
setDescriptor(RepositoryDescriptor repoDescriptor)
set the RepositoryDescriptor Model for this repository adapter |
void |
setProperties(java.util.Properties respositoryProperties)
pass platform specific properties into a repository adapter. |
Field Detail |
---|
static final java.lang.String EXTENSION_POINT_ID
static final java.lang.String ELEMENT_DESCRIPTOR
static final java.lang.String ATTRIBUTE_CONTENT_TYPE
static final java.lang.String ATTRIBUTE_ACCESS_TYPE
static final java.lang.String ELEMENT_ADAPTER
static final java.lang.String ATTRIBUTE_ADAPTER_CLASS
Method Detail |
---|
void setDescriptor(RepositoryDescriptor repoDescriptor)
repoDescriptor
- the RepositoryDescriptor Model object which
holds information about connecting to the repositoryRepositoryDescriptor getDescriptor()
java.lang.String getName()
void setProperties(java.util.Properties respositoryProperties)
respositoryProperties
- user or platform specific properties needed by a repository
adapterjava.util.Properties getProperties()
void open() throws java.lang.Exception
java.lang.Exception
void close() throws java.lang.Exception
java.lang.Exception
boolean resourceExists(java.lang.Object resourceId)
resourceName
-
void addResource(java.lang.Object resourceObject)
resourceObject
- void removeResource(java.lang.Object resourceId)
resourceId
- identifier of resource to be removed from the repository.java.lang.Object fetchResource(java.lang.Object resourceId)
resourceId
- identifier of resource to be returned.
java.util.List listResourceIds()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |