ItemSpecificationBuilder Members

MultiArchive SDK .NET

Collapse image Expand Image Copy image CopyHover image

[This is preliminary documentation and is subject to change.]

The ItemSpecificationBuilder type exposes the following members.

Constructors

  Name Description
Public method ItemSpecificationBuilder()()()()
Default constructor.
Public method ItemSpecificationBuilder(String, String)
Constructor that adds Archive and ItemType information to the ItemSpecification.

The Archive URN is in the following format: "urn:multiarchive:archive:A42"
The ItemType URN is in the following format: "urn:multiarchive:itemtype:A42:CUSTOMER_LETTER"

Methods

  Name Description
Public method AddContentSpecification(FileSystemInfo)
Method that creates a new ContentSpecification based on a physical file on the local filesystem.
Public method AddContentSpecification(FileSystemInfo, String)
Method that creates a new ContentSpecification based on a physical file on the local filesystem.

If a mimetype is specified in the parameters, the content file will be saved in MultiArchive with this mimetype instead of the mimetype of the actual physical file.
Public method AddContentSpecification(Stream, String, String, String)
Method that creates a new ContentSpecificaiton based on a stream specified

If a mimetype is specified in the parameters, the content file will be saved in MultiArchive with this mimetype instead of the mimetype of the actual physical file.
Public method AddContentSpecification(String, String, String, String)
Method that creates a new ContentSpecification based on the content of the contentValue-string, and adds it to the local list of ContentSpecifications.

If a mimetype is specified in the parameters, the content file will be saved in MultiArchive with this mimetype instead of the mimetype of the actual physical file.
Public method AddFieldSpecification(String, DateTime)
Method that creates a FieldSpecification object of type Date with the specified arguments and adds it to the list of FieldSpecifications.
Public method AddFieldSpecification(String, Decimal)
Method that creates a FieldSpecification object of type Decimal with the specified arguments and adds it to the list of FieldSpecifications.
Public method AddFieldSpecification(String, Int32)
Method that creates a FieldSpecification object of type Numeric with the specified arguments and adds it to the list of FieldSpecifications.
Public method AddFieldSpecification(String, String)
Method that creates a FieldSpecification object of type Character with the specified arguments and adds it to the list of FieldSpecifications.
Public method AddFieldSpecification(Fieldtypes, String, String)
Method that creates a FieldSpecification object with the specified arguments and adds it to the list of FieldSpecifications.
Public method BuildItemSpecification
Method for building the ItemSpecification based on the information added to the ItemSpecificationBuilder.
Public method CheckFieldType
Method for making sure that the specified fieldtype and fieldvalue conforms to the restrictions of the type specified by the MultiArchive webservice.
Public method CheckParameter
Method for checking that the parameter specified is not null, empty or an empty list.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property Archive
Property for holding the archive URN.
Public property ExternalID
Property for holding the external ID.
Public property ItemType
Property for holding the itemtype URN.

See Also