IContentManager
.@Deprecated public class MetaDataManager extends Object implements IMetaDataManager
Constructor and Description |
---|
MetaDataManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public MetaDataConfig get(SessionConfig sessionConfig, String metaDataId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
get
in interface IMetaDataManager
ManagerException
PortalException
public Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, String itemId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getByItemId
in interface IMetaDataManager
ManagerException
PortalException
public Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, String itemId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getByItemId
in interface IMetaDataManager
ManagerException
PortalException
public Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, String sourceId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getByItemIdAndServiceId
in interface IMetaDataManager
ManagerException
PortalException
public Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, String sourceId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getByItemIdAndServiceId
in interface IMetaDataManager
considerInactiveVersion
- TODOManagerException
PortalException
public MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getByItemIdAndServiceInstanceId
in interface IMetaDataManager
ManagerException
PortalException
public MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getByItemIdAndServiceInstanceId
in interface IMetaDataManager
considerInactiveVersion
- TODOManagerException
PortalException
public String getParentServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getParentServiceInstanceId
in interface IMetaDataManager
ManagerException
PortalException
public Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getIdsByServiceInstanceId
in interface IMetaDataManager
ManagerException
PortalException
public int getNumComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getNumComments
in interface IMetaDataManager
ManagerException
PortalException
public List<CommentConfig> getComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getComments
in interface IMetaDataManager
ManagerException
PortalException
public int getNumVersions(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction) throws ManagerException, PortalException
IMetaDataManager
getNumVersions
in interface IMetaDataManager
ManagerException
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.