|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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. |
String |
getName()
Gets the name of this Repository. |
Properties |
getProperties()
Gets the configuration properties for this repository. |
void |
setName(String name)
Sets the name of this Repository. |
void |
setProperties(Properties properties)
Sets the configuration properties for this repository. |
| Method Detail |
public 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.
public 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.public String getName()
public Properties getProperties()
public void setName(String name)
public void setProperties(Properties properties)
properties - - the repository configuration properties.
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||