public interface IPackageDataInstallation
Methods View Source GetContentTypeKey(XElement) Declaration
Guid GetContentTypeKey(XElement contentType)
Parameters Type Name Description System.Xml.Linq.XElement contentType Returns View Source GetEntityTypeAlias(XElement) Declaration
string GetEntityTypeAlias(XElement entityType)
Parameters Type Name Description System.Xml.Linq.XElement entityType Returns Type Description System.String View Source ImportContentBase<TContentBase, TContentTypeComposition>(IEnumerable<CompiledPackageContentBase>, IDictionary<String, TContentTypeComposition>, Int32, IContentTypeBaseService<TContentTypeComposition>, IContentServiceBase<TContentBase>) Declaration
IReadOnlyList<TContentBase> ImportContentBase<TContentBase, TContentTypeComposition>(IEnumerable<CompiledPackageContentBase> docs, IDictionary<string, TContentTypeComposition> importedDocumentTypes, int userId, IContentTypeBaseService<TContentTypeComposition> typeService, IContentServiceBase<TContentBase> service)
where TContentBase : class, IContentBase where TContentTypeComposition : IContentTypeComposition
Parameters Returns Type Description IReadOnlyList<TContentBase> Type Parameters Name Description TContentBase TContentTypeComposition View Source ImportDataTypes(IReadOnlyCollection<XElement>, Int32)
Imports and saves package xml as IDataType
DeclarationIReadOnlyList<IDataType> ImportDataTypes(IReadOnlyCollection<XElement> dataTypeElements, int userId)
Parameters Type Name Description IReadOnlyCollection<System.Xml.Linq.XElement> dataTypeElements
Xml to import
System.Int32 userIdOptional id of the user
Returns Type Description IReadOnlyList<IDataType>An enumerable list of generated DataTypeDefinitions
View Source ImportDictionaryItem(XElement, Int32, Nullable<Guid>) DeclarationIEnumerable<IDictionaryItem> ImportDictionaryItem(XElement dictionaryItemElement, int userId, Guid? parentId)
Parameters Type Name Description System.Xml.Linq.XElement dictionaryItemElement System.Int32 userId System.Nullable<Guid> parentId Returns View Source ImportDictionaryItems(IEnumerable<XElement>, Int32)
Imports and saves the 'DictionaryItems' part of the package xml as a list of IDictionaryItem
DeclarationIReadOnlyList<IDictionaryItem> ImportDictionaryItems(IEnumerable<XElement> dictionaryItemElementList, int userId)
Parameters Type Name Description IEnumerable<System.Xml.Linq.XElement> dictionaryItemElementList
Xml to import
System.Int32 userId Returns Type Description IReadOnlyList<IDictionaryItem>An enumerable list of dictionary items
View Source ImportDocumentType(XElement, Int32) DeclarationIReadOnlyList<IContentType> ImportDocumentType(XElement docTypeElement, int userId)
Parameters Type Name Description System.Xml.Linq.XElement docTypeElement System.Int32 userId Returns View Source ImportDocumentTypes(IEnumerable<XElement>, Int32)
Imports and saves package xml as IContentType
DeclarationIReadOnlyList<IContentType> ImportDocumentTypes(IEnumerable<XElement> docTypeElements, int userId)
Parameters Type Name Description IEnumerable<System.Xml.Linq.XElement> docTypeElements
Xml to import
System.Int32 userIdOptional id of the User performing the operation. Default is zero (admin).
Returns Type Description IReadOnlyList<IContentType>An enumerable list of generated ContentTypes
View Source ImportLanguages(IEnumerable<XElement>, Int32)Imports and saves the 'Languages' part of a package xml as a list of ILanguage
DeclarationIReadOnlyList<ILanguage> ImportLanguages(IEnumerable<XElement> languageElements, int userId)
Parameters Type Name Description IEnumerable<System.Xml.Linq.XElement> languageElements
Xml to import
System.Int32 userIdOptional id of the User performing the operation
Returns Type Description IReadOnlyList<ILanguage>An enumerable list of generated languages
View Source ImportMediaTypes(IEnumerable<XElement>, Int32)Imports and saves package xml as IContentType
DeclarationIReadOnlyList<IMediaType> ImportMediaTypes(IEnumerable<XElement> docTypeElements, int userId)
Parameters Type Name Description IEnumerable<System.Xml.Linq.XElement> docTypeElements
Xml to import
System.Int32 userIdOptional id of the User performing the operation. Default is zero (admin).
Returns Type Description IReadOnlyList<IMediaType>An enumerable list of generated ContentTypes
View Source ImportTemplate(XElement, Int32) DeclarationIEnumerable<ITemplate> ImportTemplate(XElement templateElement, int userId)
Parameters Type Name Description System.Xml.Linq.XElement templateElement System.Int32 userId Returns View Source ImportTemplateAsync(XElement, Int32) Declaration
virtual Task<IEnumerable<ITemplate>> ImportTemplateAsync(XElement templateElement, int userId)
Parameters Type Name Description System.Xml.Linq.XElement templateElement System.Int32 userId Returns Type Description Task<IEnumerable<ITemplate>> View Source ImportTemplates(IReadOnlyCollection<XElement>, Int32)
Imports and saves package xml as ITemplate
DeclarationIReadOnlyList<ITemplate> ImportTemplates(IReadOnlyCollection<XElement> templateElements, int userId)
Parameters Type Name Description IReadOnlyCollection<System.Xml.Linq.XElement> templateElements
Xml to import
System.Int32 userIdOptional user id
Returns Type Description IReadOnlyList<ITemplate>An enumerable list of generated Templates
View Source ImportTemplatesAsync(IReadOnlyCollection<XElement>, Int32)Imports and saves package xml as ITemplate
Declarationvirtual Task<IReadOnlyList<ITemplate>> ImportTemplatesAsync(IReadOnlyCollection<XElement> templateElements, int userId)
Parameters Type Name Description IReadOnlyCollection<System.Xml.Linq.XElement> templateElements
Xml to import
System.Int32 userIdOptional user id
Returns Type Description Task<IReadOnlyList<ITemplate>>An enumerable list of generated Templates
View Source InstallPackageData(CompiledPackage, Int32) DeclarationInstallationSummary InstallPackageData(CompiledPackage compiledPackage, int userId)
Parameters Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4