lumis.portal.metatag
Class MetaTagManager

Package class diagram package MetaTagManager
java.lang.Object
  extended by lumis.portal.metatag.MetaTagManager
All Implemented Interfaces:
IMetaTagManager

public class MetaTagManager
extends Object
implements IMetaTagManager

Implementation for the Meta Tag Manager

Since:
4.0.11

Constructor Summary
MetaTagManager()
           
 
Method Summary
 String add(SessionConfig sessionConfig, MetaTagConfig metaTagConfig, ITransaction transaction)
          Adds a meta-tag
 void addOrUpdate(SessionConfig sessionConfig, MetaTagConfig metaTagConfig, ITransaction transaction)
          Update a meta-tag.
 void delete(SessionConfig sessionConfig, String id, ITransaction transaction)
          Delete a meta-tag.
 MetaTagConfig get(SessionConfig sessionConfig, String id, ITransaction transaction)
          Get a meta-tag object
 List<String> getIdsByParentId(SessionConfig sessionConfig, String parentId, ITransaction transaction)
          Get a list of meta-tag ids given the parent channelId or pageId
 void update(SessionConfig sessionConfig, MetaTagConfig metaTagConfig, ITransaction transaction)
          Update a meta-tag configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaTagManager

public MetaTagManager()
Method Detail

add

public String add(SessionConfig sessionConfig,
                  MetaTagConfig metaTagConfig,
                  ITransaction transaction)
           throws PortalException
Description copied from interface: IMetaTagManager
Adds a meta-tag

Specified by:
add in interface IMetaTagManager
Returns:
Throws:
PortalException

addOrUpdate

public void addOrUpdate(SessionConfig sessionConfig,
                        MetaTagConfig metaTagConfig,
                        ITransaction transaction)
                 throws PortalException
Description copied from interface: IMetaTagManager
Update a meta-tag. If the meta-tag don't exist, it is added.

Specified by:
addOrUpdate in interface IMetaTagManager
Throws:
PortalException

delete

public void delete(SessionConfig sessionConfig,
                   String id,
                   ITransaction transaction)
            throws PortalException
Description copied from interface: IMetaTagManager
Delete a meta-tag.

Specified by:
delete in interface IMetaTagManager
Throws:
PortalException

get

public MetaTagConfig get(SessionConfig sessionConfig,
                         String id,
                         ITransaction transaction)
                  throws PortalException
Description copied from interface: IMetaTagManager
Get a meta-tag object

Specified by:
get in interface IMetaTagManager
Returns:
Throws:
PortalException

getIdsByParentId

public List<String> getIdsByParentId(SessionConfig sessionConfig,
                                     String parentId,
                                     ITransaction transaction)
                              throws PortalException
Description copied from interface: IMetaTagManager
Get a list of meta-tag ids given the parent channelId or pageId

Specified by:
getIdsByParentId in interface IMetaTagManager
Returns:
Throws:
PortalException

update

public void update(SessionConfig sessionConfig,
                   MetaTagConfig metaTagConfig,
                   ITransaction transaction)
            throws PortalException
Description copied from interface: IMetaTagManager
Update a meta-tag configuration.

Specified by:
update in interface IMetaTagManager
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.