C# 클래스 DD4T.Templates.Base.Utils.BinaryPublisher

파일 보기 프로젝트 열기: sdl/DD4T.TridionTemplates 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
engine Engine
log TemplatingLogger
package Package

공개 메소드들

메소드 설명
BinaryPublisher ( Package package, Engine engine ) : System
BinaryPublisher ( Package package, Engine engine, string targetStructureGroup ) : System
PublishBinariesInRichTextField ( string xhtml, BuildProperties buildProperties ) : string
PublishMultimediaComponent ( string uri, BuildProperties buildProperties ) : string

보호된 메소드들

메소드 설명
GetECLUrl ( string uri ) : string
GetReferencePath ( System.Item item, string uri ) : string

Return the reference path for the binary which has just been published. This path is stored in the XML which is published to the broker, and may be used in the presentation engine to retrieve the binary. In this implementation, the reference path is the same as the publish path, but the method can be overridden to implement other logic. It could (for example) return the path to the binary through a CDN.

PublishItem ( System.Item item, TcmUri itemUri ) : void

비공개 메소드들

메소드 설명
ConstructFileName ( Component mmComp, string variantId ) : string

메소드 상세

BinaryPublisher() 공개 메소드

public BinaryPublisher ( Package package, Engine engine ) : System
package Package
engine Engine
리턴 System

BinaryPublisher() 공개 메소드

public BinaryPublisher ( Package package, Engine engine, string targetStructureGroup ) : System
package Package
engine Engine
targetStructureGroup string
리턴 System

GetECLUrl() 보호된 메소드

protected GetECLUrl ( string uri ) : string
uri string
리턴 string

GetReferencePath() 보호된 메소드

Return the reference path for the binary which has just been published. This path is stored in the XML which is published to the broker, and may be used in the presentation engine to retrieve the binary. In this implementation, the reference path is the same as the publish path, but the method can be overridden to implement other logic. It could (for example) return the path to the binary through a CDN.
protected GetReferencePath ( System.Item item, string uri ) : string
item System.Item The templating Item containing the multimedia component (including the publish path)
uri string The uri of the multimedia component
리턴 string

PublishBinariesInRichTextField() 공개 메소드

public PublishBinariesInRichTextField ( string xhtml, BuildProperties buildProperties ) : string
xhtml string
buildProperties BuildProperties
리턴 string

PublishItem() 보호된 메소드

protected PublishItem ( System.Item item, TcmUri itemUri ) : void
item System.Item
itemUri TcmUri
리턴 void

PublishMultimediaComponent() 공개 메소드

public PublishMultimediaComponent ( string uri, BuildProperties buildProperties ) : string
uri string
buildProperties BuildProperties
리턴 string

프로퍼티 상세

engine 보호되어 있는 프로퍼티

protected Engine engine
리턴 Engine

log 보호되어 있는 프로퍼티

protected TemplatingLogger log
리턴 TemplatingLogger

package 보호되어 있는 프로퍼티

protected Package package
리턴 Package