Click or drag to resize
ItemWrapper Class
Wraps an Aras item so that additional functionality can be provided
Inheritance Hierarchy

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public abstract class ItemWrapper : IReadOnlyItem, 
	IReadOnlyElement, ICloneable, IAmlNode, IItemRef

The ItemWrapper type exposes the following members.

Constructors
  NameDescription
Public methodItemWrapper
Initializes a new instance of the ItemWrapper class
Top
Properties
  NameDescription
Public propertyContext
Retrieve the context used for rendering primitive values
Public propertyExists
Returns true if this element actually exists in the underlying AML, otherwise, returns false to indicate that the element is just a null placeholder put in place to reduce unnecessary null reference checks
Public propertyName
Local XML name of the element
Public propertyParent
Retrieve the parent element
Public propertyValue
String value of the element
Top
Methods
  NameDescription
Public methodAsResult
Convert the Item to a Result object that can be returned by a server method
Public methodAttribute
Retrieve the attribute with the specified name
Public methodAttributes
Retrieve all attributes specified for the element
Public methodClone
Creates a duplicate of the item object. All properties (including the ID) are preserved
Public methodElements
Retrieve all child elements
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodId
The ID of the item as retrieved from either the attribute or the property
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProperty(String)
Returns a reference to the property with the specified name
Public methodProperty(String, String)
Returns a reference to the property with the specified name and language
Public methodRelationships
Returns the set of relationships associated with this item
Public methodRelationships(String)
Returns the set of relationships associated with this item of the specified type
Public methodToAml
Render the node to a string
Public methodToAml(XmlWriter)
Write the node to the specified XmlWriter
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTypeName
The type of the item as retrieved from either the attribute or the property
Top
Extension Methods
  NameDescription
Public Extension MethodAction
Retrieve the action attribute of the item
(Defined by Core.)
Public Extension MethodApply
Apply this item in the database
(Defined by ItemExtensions.)
Public Extension MethodClassification
Retrieve the classification property of the item
(Defined by Core.)
Public Extension MethodClassStartsWith
Determine if the classification starts with one of the specified root paths
(Defined by ItemExtensions.)
Public Extension MethodConfigId
Retrieve the config_id property of the item
(Defined by Core.)
Public Extension MethodCreatedById
Retrieve the created_by_id property of the item
(Defined by Core.)
Public Extension MethodCode exampleCreatedOn
Retrieve the created_on property of the item
(Defined by Core.)
Public Extension MethodCss
Retrieve the css property of the item
(Defined by Core.)
Public Extension MethodCurrentState
Retrieve the current_state property of the item
(Defined by Core.)
Public Extension MethodDoGetItem
Retrieve the doGetItem attribute of the item
(Defined by Core.)
Public Extension MethodEdit
Send an AML edit query to the database with the body of the Item tab being the contents specified
(Defined by ItemExtensions.)
Public Extension MethodFetchLockStatus
Retrieve the lock status from the database
(Defined by ItemExtensions.)
Public Extension MethodGeneration
Retrieve the generation property of the item
(Defined by Core.)
Public Extension MethodIdList
Retrieve the idlist attribute of the item
(Defined by Core.)
Public Extension MethodIsCurrent
Retrieve the is_current property of the item
(Defined by Core.)
Public Extension MethodIsReleased
Retrieve the is_released property of the item
(Defined by Core.)
Public Extension MethodKeyedName
Retrieve the keyed_name property of the item
(Defined by Core.)
Public Extension MethodLazyMapT
Maps an item to a new object. If there are properties which couldn't be found during the initial mapping, the method will query the database and run the mapper again with the database results
(Defined by ItemExtensions.)
Public Extension MethodLock (Defined by ItemExtensions.)
Public Extension MethodLockedById
Retrieve the locked_by_id property of the item
(Defined by Core.)
Public Extension MethodLockStatus (Defined by ItemExtensions.)
Public Extension MethodMajorRev
Retrieve the major_rev property of the item
(Defined by Core.)
Public Extension MethodManagedById
Retrieve the managed_by_id property of the item
(Defined by Core.)
Public Extension MethodMaxRecords
Retrieve the maxRecords attribute of the item
(Defined by Core.)
Public Extension MethodMinorRev
Retrieve the minor_rev property of the item
(Defined by Core.)
Public Extension MethodModifiedById
Retrieve the modified_by_id property of the item
(Defined by Core.)
Public Extension MethodModifiedOn
Retrieve the modified_on property of the item
(Defined by Core.)
Public Extension MethodNewVersion
Retrieve the new_version property of the item
(Defined by Core.)
Public Extension MethodNotLockable
Retrieve the not_lockable property of the item
(Defined by Core.)
Public Extension MethodOrderBy
Retrieve the orderBy attribute of the item
(Defined by Core.)
Public Extension MethodOwnedById
Retrieve the owned_by_id property of the item
(Defined by Core.)
Public Extension MethodPage
Retrieve the page attribute of the item
(Defined by Core.)
Public Extension MethodPageSize
Retrieve the pagesize attribute of the item
(Defined by Core.)
Public Extension MethodPermissionId
Retrieve the permission_id property of the item
(Defined by Core.)
Public Extension MethodCode examplePromote
Promote the itme to the specified state
(Defined by ItemExtensions.)
Public Extension MethodQueryDate
Retrieve the queryDate attribute of the item
(Defined by Core.)
Public Extension MethodQueryType
Retrieve the queryType attribute of the item
(Defined by Core.)
Public Extension MethodRelatedExpand
Retrieve the related_expand attribute of the item
(Defined by Core.)
Public Extension MethodRelatedId
Retrieve the related_id property of the item
(Defined by Core.)
Public Extension MethodRelatedItem
Retrieve the value of the related_id property as an Item
(Defined by Core.)
Public Extension MethodSelect
Retrieve the select attribute of the item
(Defined by Core.)
Public Extension MethodServerEvents
Retrieve the serverEvents attribute of the item
(Defined by Core.)
Public Extension MethodSourceId
Retrieve the source_id property of the item
(Defined by Core.)
Public Extension MethodSourceItem
Retrieve the value of the source_id property as an Item
(Defined by Core.)
Public Extension MethodState
Retrieve the state property of the item
(Defined by Core.)
Public Extension MethodToXml
Renders an AML node to XML
(Defined by ItemExtensions.)
Public Extension MethodType
Retrieve the type attribute of the item
(Defined by Core.)
Public Extension MethodTypeId
Retrieve the typeId attribute of the item
(Defined by Core.)
Public Extension MethodUnlock (Defined by ItemExtensions.)
Public Extension MethodWhere
Retrieve the where attribute of the item
(Defined by Core.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICloneableClone
Creates a new object that is a copy of the current instance.
Top
See Also