|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
Represents a content repository and facilitates connecting to it.
Method Summary | |
---|---|
Ticket |
connect(Credentials credentials) Returns a ticket if the user can be authenticated. |
Ticket |
connect(String username, String password) Returns a ticket if the user can be authenticated. |
Map<String,String> |
getDescription() Retrieve a map of repository description data. |
String |
getName() Gets the name of this Repository. |
Properties |
getProperties() Gets the configuration properties for this repository. |
Set<ICapabilityDefinition> |
getRepositoryDefinedCapabilities() Retrieve any capability definitions defined by the underlying repository. |
void |
setName(String name) Sets the name of this Repository. |
void |
setProperties(Properties properties) Sets the configuration properties for this repository. |
Methods inherited from interface com.bea.content.spi.flexspi.IExtensible |
---|
getAllInterfaces, getCapabilitySupport, getInterface |
Method Detail |
---|
Ticket connect(Credentials credentials) throws AuthenticationException, RepositoryException
credentials
- - the credentials of the user connecting to the Repository.AuthenticationException
- if the authentication fails.RepositoryException
- if a non-authentication error occurs.Ticket connect(String username, String password) throws AuthenticationException, RepositoryException
username
- - the username to authenticate.password
- - the password for the user.AuthenticationException
- if the authentication fails.RepositoryException
- if a non-authentication error occurs.String getName()
void setName(String name)
Properties getProperties()
void setProperties(Properties properties)
properties
- - the repository configuration properties.Set<ICapabilityDefinition> getRepositoryDefinedCapabilities()
Map<String,String> getDescription()
SPIDescriptionKeys
class and keys provided by the repository author.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.