org.gatein.mop.api.content
Interface ContentManager


public interface ContentManager

Provides access to content as seen by the framework.

Version:
$Revision$
Author:
Julien Viet

Method Summary
<S> Content<S>
getContent(ContentType<S> contentType, String contentId)
          Returns the representation of a specified content or null if it cannot be found.
 Content<?> getContent(String mimeType, String contentId)
          Returns the representation of a specified content or null if it cannot be found.
 

Method Detail

getContent

<S> Content<S> getContent(ContentType<S> contentType,
                          String contentId)
Returns the representation of a specified content or null if it cannot be found.

Type Parameters:
S - the state type
Parameters:
contentType - the content type
contentId - the content id
Returns:
the content

getContent

Content<?> getContent(String mimeType,
                      String contentId)
Returns the representation of a specified content or null if it cannot be found.

Parameters:
mimeType - the mime type
contentId - the content id
Returns:
the content


Copyright © 2009 eXo Platform SAS. All Rights Reserved.