com.bea.content.spi.flexspi
Interface IExtensible

All Known Subinterfaces:
Repository, Ticket

public interface IExtensible

Represents an extensible repository SPI interface.


Method Summary
 Map<String,ISPIMarker> getAllInterfaces()
          Retrieve all CM SPI interfaces on this extensible (ticket or repository) object.
 Map<ICapabilityDefinition,CapabilityLevel> getCapabilitySupport(Set<ICapabilityDefinition> capabilities)
          Returns the degree of capability support for each of the specified capabilities.
 ISPIMarker getInterface(String interfaceName)
          Retrieve the specified SPI interface, or null if the extensible does not implement the specified SPI interface.
 

Method Detail

getAllInterfaces

Map<String,ISPIMarker> getAllInterfaces()
Retrieve all CM SPI interfaces on this extensible (ticket or repository) object. If the extensible does not implement any SPI interfaces, this should return an empty Map. The key should be an entry from SPIRepositoryInterfaces or SPITicketInterfaces and the value should be an implementation of ISPIMarker (the interface implementation).


getInterface

ISPIMarker getInterface(String interfaceName)
Retrieve the specified SPI interface, or null if the extensible does not implement the specified SPI interface.


getCapabilitySupport

Map<ICapabilityDefinition,CapabilityLevel> getCapabilitySupport(Set<ICapabilityDefinition> capabilities)
Returns the degree of capability support for each of the specified capabilities. The SPI implementation MUST return a value for each of the capabilities passed in.

Parameters
capabilities - The capabilities to look up.
Returns
A map of capability definition and its corresponding capability level.


Copyright © 2011, Oracle. All rights reserved.