| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ConnectionService
| Method Summary | |
|---|---|
|  NameId | createConnection(Connection connection)Saves the given Connection object to the imaging data store for use in the system. | 
|  void | deleteConnection(NameId connNameId)Removes the specified Connection from the repository. | 
|  Connection | getConnection(NameId connNameId, Connection.SectionSet sectionSet)Retrieves the Connection for the given id | 
|  java.util.List<Connection> | getConnections(java.util.List<NameId> connNameIds, Connection.SectionSet sectionSet)Retrieves a set of Connection objects that correspond to the list of ID's given. | 
|  java.util.List<NameId> | listConnections(Connection.Ability ability)Returns a list of Connection ID's that the user has access to for the given ability | 
|  void | modifyConnection(Connection connection, Connection.SectionSet sectionSet)Saves the changes to the given Connection to the imaging data store | 
| Method Detail | 
|---|
NameId createConnection(Connection connection)
                        throws ImagingException,
                               ValidationException
connection - The Connection to saveImagingExceptionValidationException
void modifyConnection(Connection connection,
                      Connection.SectionSet sectionSet)
                      throws ImagingException,
                             ValidationException
connection - The updated Connection objectsectionSet - The sections of the Connection to saveImagingExceptionValidationException
java.util.List<NameId> listConnections(Connection.Ability ability)
                                       throws ImagingException
ability - The desired security level to the connectionImagingException
Connection getConnection(NameId connNameId,
                         Connection.SectionSet sectionSet)
                         throws ImagingException
connNameId - The ID of the Connection to retrievesectionSet - The sections of the Connection to returnImagingException
java.util.List<Connection> getConnections(java.util.List<NameId> connNameIds,
                                          Connection.SectionSet sectionSet)
                                          throws ImagingException
connNameIds - The list of Connection ID's to getsectionSet - The portions of the definition to fill outImagingException - If there is an error retrieving any of the Connections of if an ID is invalid.
void deleteConnection(NameId connNameId)
                      throws ImagingException
connNameId - The ID of the Connection to removeImagingException| 
 | Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||