Click or drag to resize
IReadOnlyItem Interface
Represents an Aras Item that is read only. By default, the connection object returns IReadOnlyItems to encouarge treating the results as immutable

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

The IReadOnlyItem type exposes the following members.

Properties
  NameDescription
Public propertyContext
Retrieve the context used for rendering primitive values
(Inherited from IReadOnlyElement.)
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
(Inherited from IReadOnlyElement.)
Public propertyName
Local XML name of the element
(Inherited from IReadOnlyElement.)
Public propertyParent
Retrieve the parent element
(Inherited from IReadOnlyElement.)
Public propertyValue
String value of the element
(Inherited from IReadOnlyElement.)
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
(Inherited from IReadOnlyElement.)
Public methodAttributes
Retrieve all attributes specified for the element
(Inherited from IReadOnlyElement.)
Public methodClone
Creates a duplicate of the item object. All properties (including the ID) are preserved
Public methodElements
Retrieve all child elements
(Inherited from IReadOnlyElement.)
Public methodId
The ID of the item as retrieved from either the attribute or the property
(Inherited from IItemRef.)
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
(Inherited from IAmlNode.)
Public methodToAml(XmlWriter)
Write the node to the specified XmlWriter
(Inherited from IAmlNode.)
Public methodTypeName
The type of the item as retrieved from either the attribute or the property
(Inherited from IItemRef.)
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
See Also