|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents the attribute schema of a single repository
| Method Summary | |
AttributeProperties |
getAttribute(String tableCode,
String attrCode)
Returns an attribute with the specified code belonging to the specified taxonomy table |
AttributeProperties |
getAttribute(String tableCode,
String attrCode,
boolean loadTextValues)
Returns an attribute with the specified code belonging to the specified taxonomy table |
AttributeProperties |
getAttribute(TableId tableId,
AttributeId attrId)
Returns attribute with the specified ID belonging to the specified taxonomy table |
AttributeProperties |
getAttribute(TableId tableId,
AttributeId attrId,
boolean loadTextValues)
Returns an attribute with the specified ID belonging to the specified taxonomy table |
AttributeProperties |
getAttribute(TableId tableId,
String attrCode)
Returns attribute with the specified code belonging to the specified taxonomy table |
AttributeProperties |
getAttribute(TableId tableId,
String attrCode,
boolean loadTextValues)
Returns an attribute with the specified code belonging to the specified taxonomy table |
String |
getAttributeCode(TableId tableId,
AttributeId attrId)
Converts the attribute ID to attribute code. |
AttributeId |
getAttributeId(String tableCode,
String attrCode)
Converts the specified attribute code into attribute ID. |
AttributeId |
getAttributeId(TableId tableId,
String attrCode)
Converts the attribute Code to attribute ID. |
AttributeProperties[] |
getAttributes(String tableCode)
Returns all attributes belonging to the specified taxonomy table |
AttributeProperties[] |
getAttributes(String tableCode,
boolean loadTextValues)
Returns all attributes belonging to the specified taxonomy table |
AttributeProperties[] |
getAttributes(TableId tableId)
Returns all attribute belonging to the specified taxonomy table |
AttributeProperties[] |
getAttributes(TableId tableId,
boolean loadTextValues)
Returns all attributes belonging to the specified taxonomy table |
LinkedAttribute[] |
getLinkedAttributes(String tableCode,
RecordId category)
Returns linked attributes related to the specified category record in the specified taxonomy table |
LinkedAttribute[] |
getLinkedAttributes(String tableCode,
RecordId category,
boolean loadTextValues)
Returns linked attributes related to the specified category record in the specified taxonomy table |
LinkedAttribute[] |
getLinkedAttributes(TableId tableId,
RecordId category)
Returns linked attributes related to the specified category record in the specified taxonomy table |
LinkedAttribute[] |
getLinkedAttributes(TableId tableId,
RecordId category,
boolean loadTextValues)
Returns linked attributes related to the specified category record in the specified taxonomy table |
RepositoryProperties |
getRepositoryProperties()
Returns repository properties |
String[] |
getTaxonomyTableCodes()
Returns codes of taxonomy tables |
TableId[] |
getTaxonomyTableIds()
Returns IDs of taxonomy tables |
| Method Detail |
public RepositoryProperties getRepositoryProperties()
public String[] getTaxonomyTableCodes()
public TableId[] getTaxonomyTableIds()
public AttributeProperties[] getAttributes(TableId tableId)
throws IllegalArgumentException
tableId - ID of taxonomy table
AttributeProperties. Empty array is returned if no attributes are
defined for this taxonomy table
IllegalArgumentException - if specified taxonomy table does not exist
public AttributeProperties getAttribute(TableId tableId,
AttributeId attrId)
throws IllegalArgumentException
tableId - ID of taxonomy tableattrId - attribute ID
IllegalArgumentException - if specified taxonomy table does not exist
public AttributeProperties getAttribute(TableId tableId,
String attrCode)
throws IllegalArgumentException
tableId - ID of taxonomy tableattrCode - attribute code
IllegalArgumentException - if specified taxonomy table does not exist
public LinkedAttribute[] getLinkedAttributes(TableId tableId,
RecordId category)
throws IllegalArgumentException
tableId - ID of taxonomy tablecategory - category record ID
IllegalArgumentException - if specified taxonomy table does not exist
public String getAttributeCode(TableId tableId,
AttributeId attrId)
throws IllegalArgumentException
tableId - ID of taxonomy tableattrId - the attribute ID.
IllegalArgumentException - if attribute doesn't exist
public AttributeId getAttributeId(TableId tableId,
String attrCode)
throws IllegalArgumentException
tableId - the ID of taxonomy tableattrCode - the attribute code.
IllegalArgumentException - if attribute doesn't exist
public AttributeProperties[] getAttributes(String tableCode)
throws IllegalArgumentException
tableCode - the code of the taxonomy table
AttributeProperties, empty array if no attributes are
defined for this taxonomy table
IllegalArgumentException - if the specified taxonomy table does not exist
public AttributeProperties getAttribute(String tableCode,
String attrCode)
throws IllegalArgumentException
tableCode - the code of the taxonomy tableattrCode - the attribute code
AttributeProperties or null if the attribute does not exist
IllegalArgumentException - if the specified taxonomy table does not exist
public LinkedAttribute[] getLinkedAttributes(String tableCode,
RecordId category)
throws IllegalArgumentException
tableCode - the code of the taxonomy tablecategory - the category record ID
LinkedAttribute or null
if linked attributes for this category were not loaded
An empty array is returned if there are no attributes linked to the specified category
IllegalArgumentException - if the specified taxonomy table does not exist
public AttributeId getAttributeId(String tableCode,
String attrCode)
throws IllegalArgumentException
tableCode - the code of the taxonomy tableattrCode - the attribute code
IllegalArgumentException - if the attribute no exist
public AttributeProperties[] getAttributes(TableId tableId,
boolean loadTextValues)
throws IllegalArgumentException
tableId - the ID of the taxonomy tableloadTextValues - a boolean indicating if the values for text attributes should be loaded
AttributeProperties or empty array if no attributes are
defined for this taxonomy table
IllegalArgumentException - if the specified taxonomy table does not exist
public AttributeProperties[] getAttributes(String tableCode,
boolean loadTextValues)
throws IllegalArgumentException
tableCode - the code of the taxonomy tableloadTextValues - a boolean indicating if the values for text attributes should be loaded
AttributeProperties or empty array if no attributes are
defined for this taxonomy table
IllegalArgumentException - if the specified taxonomy table does not exist
public AttributeProperties getAttribute(TableId tableId,
AttributeId attrId,
boolean loadTextValues)
throws IllegalArgumentException
tableId - the ID of the taxonomy tableattrId - the attribute IDloadTextValues - a boolean indicating if the values for text attributes should be loaded
AttributeProperties or null if the attribute does not exist
IllegalArgumentException - if the specified taxonomy table does not exist
public AttributeProperties getAttribute(String tableCode,
String attrCode,
boolean loadTextValues)
throws IllegalArgumentException
tableCode - the code of the taxonomy tableattrCode - the attribute codeloadTextValues - a boolean indicating if the values for text attributes should be loaded
AttributeProperties or null if the attribute does not exist
IllegalArgumentException - if the specified taxonomy table does not exist
public AttributeProperties getAttribute(TableId tableId,
String attrCode,
boolean loadTextValues)
throws IllegalArgumentException
tableId - the ID of the taxonomy tableattrCode - the attribute codeloadTextValues - a boolean indicating if the values for text attributes should be loaded
AttributeProperties or null if the attribute does not exist
IllegalArgumentException - if the specified taxonomy table does not exist
public LinkedAttribute[] getLinkedAttributes(TableId tableId,
RecordId category,
boolean loadTextValues)
throws IllegalArgumentException
tableId - the ID of the taxonomy tablecategory - the category record IDloadTextValues - a boolean indicating if the values for text attributes should be loaded
LinkedAttribute or empty array if there are no attributes
linked to the specified category
IllegalArgumentException - if the specified taxonomy table does not exist
public LinkedAttribute[] getLinkedAttributes(String tableCode,
RecordId category,
boolean loadTextValues)
throws IllegalArgumentException
tableCode - the code of the taxonomy tablecategory - the category record IDloadTextValues - a boolean indicating if the values for text attributes should be loaded
LinkedAttribute or empty array if there are no attributes
linked to the specified category
IllegalArgumentException - if the specified taxonomy table does not exist
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 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.