com.sapportals.wcm.repository.batch
Class ResourcePropertyMap
[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
java.lang.Object
|
+--com.sapportals.wcm.repository.batch.ResourcePropertyMap
- public final class ResourcePropertyMap
- extends java.lang.Object
Helper class that can be used to handle the return value of IResourceBatch#getProperties(IPropertyNameList, ResourceErrors).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourcePropertyMap
public ResourcePropertyMap(java.util.Map map)
- Constructs a new instance.
- Parameters:
map - A map returned by IResourceBatch#getProperties(IPropertyNameList, ResourceErrors).
getProperties
public IPropertyMap getProperties(RID rid)
- Returns the property map for the specified RID. If none of the requested properties exist
a empty map is returned.
- Parameters:
rid - The RID to get the properties for.- Returns:
- the property map for the specified RID.
calculateNotContainedNames
public IPropertyNameList calculateNotContainedNames(RID rid,
IPropertyNameList checkNames)
- Returns a list of names of properties that are not contained in the map for the specified RID.
The returned list will be a subset of the names to check for.
- Parameters:
rid - The RID to check the properties for.checkNames - The list of property names to check against the available properties.- Returns:
- a list of names of properties that are not contained in the map for the specified RID.
calculateContainedNames
public IPropertyNameList calculateContainedNames(RID rid,
IPropertyNameList checkNames)
- Returns a list of names of properties that are contained in the map for the specified RID.
The returned list will be a subset of the names to check for.
- Parameters:
rid - The RID to check the properties for.checkNames - The list of property names to check against the available properties.- Returns:
- a list of names of properties that are contained in the map for the specified RID.
getExceptions
public ResourceErrors getExceptions(RID rid)
- Returns a collection of exceptions that occurred for a specified RID.
- Parameters:
rid - The rid to get the excpetion for.- Returns:
- Returns a collection of exceptions that occurred for a specified RID.
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.