|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MediaObjectTypeRegistry<T extends Map<Class<? extends Media>,String>>
A registry that manages extensions to the media framework. Certain features are relevant to content that would be
an extensions of the Media interface. By registering the extension to Media and the associated implemenation
of MediaObjectType the generic behavior that applies to all media types will be provided.
| Method Summary | |
|---|---|
Class<? extends Media> |
getMediaObjectTypeClass(int objectTypeID)
Returns an instance of media that corresponds to the media object type with an id matching the given id |
Class<? extends Media> |
getMediaObjectTypeClass(String objectTypeName)
Returns an instance of media that corresponds to the media object type with a name matching the given name. |
List<Integer> |
getRegisteredObjectTypeIDs()
Returns a list of all MediaObjectType ids as defined by getID() in the
JiveObjectType implementation. |
List<String> |
getRegisteredObjectTypeNames()
Returns a list of all MediaObjectType names as defined by getName() in the
JiveObjectType implementation. |
List<T> |
getRegisteredTypes()
Returns a list of all registered types that extend the Media interface mapped to the name of the JiveObjectType implementation for each of those extensions. |
void |
register(T mediaType)
Registers a specific type of media so that it can receive the behaviors with generic implementations in the media implementation of the object type framework. |
| Method Detail |
|---|
void register(T mediaType)
mediaType - - a mapping of an interface (or class) that extends Media to the name of a
JiveObjectType implemation. The name of an object type is the value returned from
JiveObjectType.getName()List<T> getRegisteredTypes()
JiveObjectType implementation for each of those extensions.
Media and MediaObjectTypeList<String> getRegisteredObjectTypeNames()
MediaObjectType names as defined by getName() in the
JiveObjectType implementation.
List<Integer> getRegisteredObjectTypeIDs()
MediaObjectType ids as defined by getID() in the
JiveObjectType implementation.
Class<? extends Media> getMediaObjectTypeClass(int objectTypeID)
Class<? extends Media> getMediaObjectTypeClass(String objectTypeName)
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||