internal
protected
static
List<Mapping> GetDefaultMapping()
{
var mappingsList =
new
List<Mapping>();
mappingsList.Add(PublishingSystemFactory.CreateMapping(PublishingConstants.FieldTitle, ConcatenationTranslator.TranslatorName,
true
, PublishingConstants.FieldTitle));
mappingsList.Add(PublishingSystemFactory.CreateMapping(PublishingConstants.FieldContent, ConcatenationTranslator.TranslatorName,
true
, PublishingConstants.FieldDescription));
mappingsList.Add(PublishingSystemFactory.CreateMapping(PublishingConstants.FieldItemHash, TransparentTranslator.TranslatorName,
false
, PublishingConstants.FieldItemHash));
mappingsList.Add(PublishingSystemFactory.CreateMapping(PublishingConstants.FieldPipeId, TransparentTranslator.TranslatorName,
false
, PublishingConstants.FieldPipeId));
return
mappingsList;
}
internal
protected
static
IList<IDefinitionField> CreateDefaultPipeDefinitions()
{
return
new
IDefinitionField[]
{
new
SimpleDefinitionField(PublishingConstants.FieldTitle, Res.Get<PublishingMessages>().ContentTitle),
new
SimpleDefinitionField(PublishingConstants.FieldContent, Res.Get<PublishingMessages>().ContentContent),
new
SimpleDefinitionField(PublishingConstants.FieldItemHash, Res.Get<PublishingMessages>().ItemHash),
new
SimpleDefinitionField(PublishingConstants.FieldPipeId, Res.Get<PublishingMessages>().PipeId),
new
SimpleDefinitionField(PublishingConstants.FieldOriginalContentId, Res.Get<PublishingMessages>().OriginalItemId),
};
}