Class BinaryStorableTransferObject
The transfer object for Blob instances.
Inheritance
Implements
Namespace: EPiServer.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class BinaryStorableTransferObject : Object, IFileTransferObject
Constructors
BinaryStorableTransferObject()
Initializes a new instance of the Binary
Declaration
public BinaryStorableTransferObject()
Remarks
This is used at import side from XmlSerializer.
BinaryStorableTransferObject(IBlobFactory)
Initializes a new instance of the Binary
Declaration
public BinaryStorableTransferObject(IBlobFactory blobFactory)
Parameters
Type | Name | Description |
---|---|---|
IBlob |
blobFactory | The BLOB factory. |
Properties
PermanentLinkVirtualPath
Gets the permanent link virtual path
Declaration
public virtual string PermanentLinkVirtualPath { get; set; }
Property Value
Type | Description |
---|---|
System. |
The permanent link virtual path |
ProviderName
Gets or sets the name of the provider for the transfered file.
Declaration
public virtual string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System. |
The name of the provider. |
ProviderRelativePath
Gets or sets the provider relative path for the transfered file.
Declaration
public virtual string ProviderRelativePath { get; set; }
Property Value
Type | Description |
---|---|
System. |
The provider relative path. |
ProviderRelativeUnifiedPath
Gets or sets the unified path to the UnifiedPath (reltive the specified provider) that ACL is specified on
Declaration
public virtual string ProviderRelativeUnifiedPath { get; set; }
Property Value
Type | Description |
---|---|
System. |
The unified path. |
RawACL
The ACL for the file
Declaration
public virtual RawACE[] RawACL { get; set; }
Property Value
Type | Description |
---|---|
Raw |
Url
Gets or sets the URL for the file
Declaration
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
System. |
The URL. |
Methods
CheckIn(String)
Check in the file.
Declaration
public virtual void CheckIn(string commment)
Parameters
Type | Name | Description |
---|---|---|
System. |
commment | The commment. |
OpenRead()
Opens the read stream for this file.
Declaration
public virtual Stream OpenRead()
Returns
Type | Description |
---|---|
System. |
A read stream. |
OpenWrite(IContentTransferContext)
Opens a write stream for the file.
Declaration
public virtual Stream OpenWrite(IContentTransferContext context)
Parameters
Type | Name | Description |
---|---|---|
IContent |
context | The context. |
Returns
Type | Description |
---|---|
System. |