org.exoplatform.services.wcm.metadata
Interface PageMetadataService

All Known Implementing Classes:
PageMetadataServiceImpl

public interface PageMetadataService

Created by The eXo Platform SAS Author : Hoa Pham hoa.phamvu@exoplatform.com Nov 4, 2008


Field Summary
static java.lang.String DESCRIPTION
          The Constant HTTP META TAG DESCRIPTION.
static java.lang.String KEYWORDS
          The Constant HTTP META TAG KEYWORDS.
static java.lang.String PAGE_TITLE
          The Constant eXO Metatag PAGE_TITLE.
static java.lang.String ROBOTS
          The Constant HTTP META TAG ROBOTS.
static java.lang.String SITE_TITLE
          The Constant eXo META TAG SITE_TITLE.
 
Method Summary
 java.util.HashMap<java.lang.String,java.lang.String> extractMetadata(javax.jcr.Node node)
          Extract metadata information from node.
 java.util.HashMap<java.lang.String,java.lang.String> getPortalMetadata(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider, java.lang.String uri)
          Retrieves the portal metadata information for each request uri.
 

Field Detail

KEYWORDS

static final java.lang.String KEYWORDS
The Constant HTTP META TAG KEYWORDS.


ROBOTS

static final java.lang.String ROBOTS
The Constant HTTP META TAG ROBOTS.


DESCRIPTION

static final java.lang.String DESCRIPTION
The Constant HTTP META TAG DESCRIPTION.


SITE_TITLE

static final java.lang.String SITE_TITLE
The Constant eXo META TAG SITE_TITLE.

See Also:
Constant Field Values

PAGE_TITLE

static final java.lang.String PAGE_TITLE
The Constant eXO Metatag PAGE_TITLE.

See Also:
Constant Field Values
Method Detail

extractMetadata

java.util.HashMap<java.lang.String,java.lang.String> extractMetadata(javax.jcr.Node node)
                                                                     throws java.lang.Exception
Extract metadata information from node.

Parameters:
node - the node
Returns:
the hash map< string, string>
Throws:
java.lang.Exception - the exception

getPortalMetadata

java.util.HashMap<java.lang.String,java.lang.String> getPortalMetadata(org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider,
                                                                       java.lang.String uri)
                                                                       throws java.lang.Exception
Retrieves the portal metadata information for each request uri.

Parameters:
uri - the uri
sessionProvider - the session provider
Returns:
the portal metadata
Throws:
java.lang.Exception - the exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.