• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class CreatedPackageSchemaRepository

    Manages the storage of created package definitions

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class CreatedPackageSchemaRepository : ICreatedPackagesRepository, IPackageDefinitionRepository

    Constructors

    View Source

    CreatedPackageSchemaRepository(IHostingEnvironment, FileSystems, IEntityXmlSerializer, IDataTypeService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IContentTypeService, IScopeAccessor, ITemplateService, IDictionaryItemService, ILanguageService, String, String)

    Initializes a new instance of the CreatedPackageSchemaRepository class.

    Declaration
    public CreatedPackageSchemaRepository(IHostingEnvironment hostingEnvironment, FileSystems fileSystems, IEntityXmlSerializer serializer, IDataTypeService dataTypeService, IFileService fileService, IMediaService mediaService, IMediaTypeService mediaTypeService, IContentService contentService, MediaFileManager mediaFileManager, IContentTypeService contentTypeService, IScopeAccessor scopeAccessor, ITemplateService templateService, IDictionaryItemService dictionaryItemService, ILanguageService languageService, string mediaFolderPath = null, string tempFolderPath = null)
    Parameters
    Type Name Description
    IHostingEnvironment hostingEnvironment
    FileSystems fileSystems
    IEntityXmlSerializer serializer
    IDataTypeService dataTypeService
    IFileService fileService
    IMediaService mediaService
    IMediaTypeService mediaTypeService
    IContentService contentService
    MediaFileManager mediaFileManager
    IContentTypeService contentTypeService
    IScopeAccessor scopeAccessor
    ITemplateService templateService
    IDictionaryItemService dictionaryItemService
    ILanguageService languageService
    System.String mediaFolderPath
    System.String tempFolderPath
    View Source

    CreatedPackageSchemaRepository(IUmbracoDatabaseFactory, IHostingEnvironment, IOptions<GlobalSettings>, FileSystems, IEntityXmlSerializer, IDataTypeService, ILocalizationService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IContentTypeService, String, String)

    Declaration
    public CreatedPackageSchemaRepository(IUmbracoDatabaseFactory umbracoDatabaseFactory, IHostingEnvironment hostingEnvironment, IOptions<GlobalSettings> globalSettings, FileSystems fileSystems, IEntityXmlSerializer serializer, IDataTypeService dataTypeService, ILocalizationService localizationService, IFileService fileService, IMediaService mediaService, IMediaTypeService mediaTypeService, IContentService contentService, MediaFileManager mediaFileManager, IContentTypeService contentTypeService, string mediaFolderPath = null, string tempFolderPath = null)
    Parameters
    Type Name Description
    IUmbracoDatabaseFactory umbracoDatabaseFactory
    IHostingEnvironment hostingEnvironment
    IOptions<GlobalSettings> globalSettings
    FileSystems fileSystems
    IEntityXmlSerializer serializer
    IDataTypeService dataTypeService
    ILocalizationService localizationService
    IFileService fileService
    IMediaService mediaService
    IMediaTypeService mediaTypeService
    IContentService contentService
    MediaFileManager mediaFileManager
    IContentTypeService contentTypeService
    System.String mediaFolderPath
    System.String tempFolderPath
    View Source

    CreatedPackageSchemaRepository(IUmbracoDatabaseFactory, IHostingEnvironment, IOptions<GlobalSettings>, FileSystems, IEntityXmlSerializer, IDataTypeService, ILocalizationService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IContentTypeService, IScopeAccessor, String, String)

    Declaration
    public CreatedPackageSchemaRepository(IUmbracoDatabaseFactory umbracoDatabaseFactory, IHostingEnvironment hostingEnvironment, IOptions<GlobalSettings> globalSettings, FileSystems fileSystems, IEntityXmlSerializer serializer, IDataTypeService dataTypeService, ILocalizationService localizationService, IFileService fileService, IMediaService mediaService, IMediaTypeService mediaTypeService, IContentService contentService, MediaFileManager mediaFileManager, IContentTypeService contentTypeService, IScopeAccessor scopeAccessor, string mediaFolderPath = null, string tempFolderPath = null)
    Parameters
    Type Name Description
    IUmbracoDatabaseFactory umbracoDatabaseFactory
    IHostingEnvironment hostingEnvironment
    IOptions<GlobalSettings> globalSettings
    FileSystems fileSystems
    IEntityXmlSerializer serializer
    IDataTypeService dataTypeService
    ILocalizationService localizationService
    IFileService fileService
    IMediaService mediaService
    IMediaTypeService mediaTypeService
    IContentService contentService
    MediaFileManager mediaFileManager
    IContentTypeService contentTypeService
    IScopeAccessor scopeAccessor
    System.String mediaFolderPath
    System.String tempFolderPath

    Methods

    View Source

    Delete(Int32)

    Declaration
    public void Delete(int id)
    Parameters
    Type Name Description
    System.Int32 id
    View Source

    ExportPackage(PackageDefinition)

    Declaration
    public string ExportPackage(PackageDefinition definition)
    Parameters
    Type Name Description
    PackageDefinition definition
    Returns
    Type Description
    System.String
    View Source

    GetAll()

    Declaration
    public IEnumerable<PackageDefinition> GetAll()
    Returns
    Type Description
    IEnumerable<PackageDefinition>
    View Source

    GetById(Int32)

    Declaration
    public PackageDefinition GetById(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    PackageDefinition
    View Source

    GetByKey(Guid)

    Declaration
    public PackageDefinition GetByKey(Guid key)
    Parameters
    Type Name Description
    Guid key
    Returns
    Type Description
    PackageDefinition
    View Source

    SavePackage(PackageDefinition)

    Declaration
    public bool SavePackage(PackageDefinition definition)
    Parameters
    Type Name Description
    PackageDefinition definition
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CreatedPackageSchemaRepository(IHostingEnvironment, FileSystems, IEntityXmlSerializer, IDataTypeService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IContentTypeService, IScopeAccessor, ITemplateService, IDictionaryItemService, ILanguageService, String, String)
      • CreatedPackageSchemaRepository(IUmbracoDatabaseFactory, IHostingEnvironment, IOptions<GlobalSettings>, FileSystems, IEntityXmlSerializer, IDataTypeService, ILocalizationService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IContentTypeService, String, String)
      • CreatedPackageSchemaRepository(IUmbracoDatabaseFactory, IHostingEnvironment, IOptions<GlobalSettings>, FileSystems, IEntityXmlSerializer, IDataTypeService, ILocalizationService, IFileService, IMediaService, IMediaTypeService, IContentService, MediaFileManager, IContentTypeService, IScopeAccessor, String, String)
    • Methods
      • Delete(Int32)
      • ExportPackage(PackageDefinition)
      • GetAll()
      • GetById(Int32)
      • GetByKey(Guid)
      • SavePackage(PackageDefinition)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX