|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| 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.
ExtendedRepository| 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 |
|---|
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.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||