lumis.content.metadata
Class MetaDataManager

Package class diagram package MetaDataManager
java.lang.Object
  extended by lumis.content.metadata.MetaDataManager
All Implemented Interfaces:
IMetaDataManager

Deprecated. Since 4.2.0, replaced by IContentManager.

@Deprecated
public class MetaDataManager
extends Object
implements IMetaDataManager

Manager for meta data

Since:
4.0.4

Constructor Summary
MetaDataManager()
          Deprecated.  
 
Method Summary
 MetaDataConfig get(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
          Deprecated. Gets the meta data config.
 Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, String itemId, boolean considerInactiveVersion, ITransaction transaction)
          Deprecated. Gets a Collection of meta data configs associated to the same content (identified by the itemId).
 Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, String itemId, ITransaction transaction)
          Deprecated. Gets a Collection of meta data configs associated to the same content (identified by the itemId).
 Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, String sourceId, boolean considerInactiveVersion, ITransaction transaction)
          Deprecated. Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId).
 Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, String sourceId, ITransaction transaction)
          Deprecated. Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId).
 MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, boolean considerInactiveVersion, ITransaction transaction)
          Deprecated. Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).
 MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction)
          Deprecated. Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).
 List<CommentConfig> getComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
          Deprecated. Gets the comments associated with the given meta data.
 Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction)
          Deprecated. Gets all meta data ids associated with the given service instance.
 int getNumComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
          Deprecated. Gets the number of comments associated with given meta data.
 int getNumVersions(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction)
          Deprecated. Gets the number of versions (ignoring meta data plurality) existent for a given content.
 String getParentServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceId, ITransaction transaction)
          Deprecated. Gets the service instance where the given content (identified by itemId and serviceId) was created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataManager

public MetaDataManager()
Deprecated. 
Method Detail

get

public MetaDataConfig get(SessionConfig sessionConfig,
                          String metaDataId,
                          ITransaction transaction)
                   throws ManagerException,
                          PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets the meta data config.

Specified by:
get in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getByItemId

public Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig,
                                              String itemId,
                                              ITransaction transaction)
                                       throws ManagerException,
                                              PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId). The collection will contain meta data configs for all the service instances that the content is published to.

Specified by:
getByItemId in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getByItemId

public Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig,
                                              String itemId,
                                              boolean considerInactiveVersion,
                                              ITransaction transaction)
                                       throws ManagerException,
                                              PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId). The collection will contain meta data configs for all the service instances that the content is published to.

Specified by:
getByItemId in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getByItemIdAndServiceId

public Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig,
                                                          String itemId,
                                                          String serviceId,
                                                          String sourceId,
                                                          ITransaction transaction)
                                                   throws ManagerException,
                                                          PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId). The collection will contain meta data configs for all the service instances that the content is published to.

Specified by:
getByItemIdAndServiceId in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getByItemIdAndServiceId

public Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig,
                                                          String itemId,
                                                          String serviceId,
                                                          String sourceId,
                                                          boolean considerInactiveVersion,
                                                          ITransaction transaction)
                                                   throws ManagerException,
                                                          PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId). The collection will contain meta data configs for all the service instances that the content is published to.

Specified by:
getByItemIdAndServiceId in interface IMetaDataManager
considerInactiveVersion - TODO
Returns:
Throws:
ManagerException
PortalException

getByItemIdAndServiceInstanceId

public MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig,
                                                      String itemId,
                                                      String serviceInstanceId,
                                                      String sourceId,
                                                      ITransaction transaction)
                                               throws ManagerException,
                                                      PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).

Specified by:
getByItemIdAndServiceInstanceId in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getByItemIdAndServiceInstanceId

public MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig,
                                                      String itemId,
                                                      String serviceInstanceId,
                                                      String sourceId,
                                                      boolean considerInactiveVersion,
                                                      ITransaction transaction)
                                               throws ManagerException,
                                                      PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).

Specified by:
getByItemIdAndServiceInstanceId in interface IMetaDataManager
considerInactiveVersion - TODO
Returns:
Throws:
ManagerException
PortalException

getParentServiceInstanceId

public String getParentServiceInstanceId(SessionConfig sessionConfig,
                                         String itemId,
                                         String serviceId,
                                         ITransaction transaction)
                                  throws ManagerException,
                                         PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets the service instance where the given content (identified by itemId and serviceId) was created.

Specified by:
getParentServiceInstanceId in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getIdsByServiceInstanceId

public Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig,
                                                    String serviceInstanceId,
                                                    ITransaction transaction)
                                             throws ManagerException,
                                                    PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets all meta data ids associated with the given service instance.

Specified by:
getIdsByServiceInstanceId in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getNumComments

public int getNumComments(SessionConfig sessionConfig,
                          String metaDataId,
                          ITransaction transaction)
                   throws ManagerException,
                          PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets the number of comments associated with given meta data.

Specified by:
getNumComments in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getComments

public List<CommentConfig> getComments(SessionConfig sessionConfig,
                                       String metaDataId,
                                       ITransaction transaction)
                                throws ManagerException,
                                       PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets the comments associated with the given meta data.

Specified by:
getComments in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException

getNumVersions

public int getNumVersions(SessionConfig sessionConfig,
                          String itemId,
                          String serviceInstanceId,
                          String sourceId,
                          ITransaction transaction)
                   throws ManagerException,
                          PortalException
Deprecated. 
Description copied from interface: IMetaDataManager
Gets the number of versions (ignoring meta data plurality) existent for a given content. That means, for example, if a given content is published for two service instances (and so associated with two meta datas) and has three edited versions for each, this method will return three, instead of six (that is the actual number of rows on meta data version table for this content).

Specified by:
getNumVersions in interface IMetaDataManager
Returns:
Throws:
ManagerException
PortalException


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