C# 클래스 WhiteCore.Modules.Archivers.InventoryArchiveWriteRequest

파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_archiveWriter WhiteCore.Framework.Serialization.TarArchiveWriter
m_assetGatherer WhiteCore.Framework.SceneInfo.UuidGatherer
m_assetUuids AssetType>.Dictionary
m_assetsToAdd List
m_defaultFolderToSave WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
m_id System.Guid
m_registry IRegistryCore
m_userUuids int>.Dictionary

공개 메소드들

메소드 설명
CreateArchiveFolderName ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : string

Create the archive name for a particular folder.

CreateArchiveFolderName ( string name, UUID id ) : string

Create an archive folder name given its constituent components

CreateArchiveItemName ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : string

Create the archive name for a particular item.

CreateArchiveItemName ( string name, UUID id ) : string

Create an archive item name given its constituent components

CreateControlFile ( bool saveAssets ) : string

Create the control file for a 0.1 version archive

Execute ( ) : void

Execute the inventory write request

InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, Stream saveStream, bool UseAssets, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folderBase, List assetsToAdd, string checkPermissions ) : System

Constructor

InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, string savePath, bool UseAssets, string checkPermissions ) : System

Constructor

보호된 메소드들

메소드 설명
ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
SaveInvFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void

Save an inventory folder

SaveInvItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase inventoryItem, string path ) : void
SaveUsers ( ) : void

Save information for the users that we've collected.

비공개 메소드들

메소드 설명
CanUserArchiveObject ( UUID UserID, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase InvItem ) : bool

Checks whether the user has permission to export an inventory item to an IAR.

메소드 상세

CreateArchiveFolderName() 공개 정적인 메소드

Create the archive name for a particular folder.
public static CreateArchiveFolderName ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folder ) : string
folder WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
리턴 string

CreateArchiveFolderName() 공개 정적인 메소드

Create an archive folder name given its constituent components
public static CreateArchiveFolderName ( string name, UUID id ) : string
name string
id UUID
리턴 string

CreateArchiveItemName() 공개 정적인 메소드

Create the archive name for a particular item.
public static CreateArchiveItemName ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase item ) : string
item WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
리턴 string

CreateArchiveItemName() 공개 정적인 메소드

Create an archive item name given its constituent components
public static CreateArchiveItemName ( string name, UUID id ) : string
name string
id UUID
리턴 string

CreateControlFile() 공개 정적인 메소드

Create the control file for a 0.1 version archive
public static CreateControlFile ( bool saveAssets ) : string
saveAssets bool
리턴 string

Execute() 공개 메소드

Execute the inventory write request
public Execute ( ) : void
리턴 void

InventoryArchiveWriteRequest() 공개 메소드

Constructor
public InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, Stream saveStream, bool UseAssets, WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase folderBase, List assetsToAdd, string checkPermissions ) : System
id System.Guid
module WhiteCore.Modules.Archivers.InventoryArchiverModule
registry IRegistryCore
userInfo WhiteCore.Framework.Services.UserAccount
invPath string
saveStream Stream
UseAssets bool
folderBase WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase
assetsToAdd List
checkPermissions string
리턴 System

InventoryArchiveWriteRequest() 공개 메소드

Constructor
public InventoryArchiveWriteRequest ( System.Guid id, WhiteCore.Modules.Archivers.InventoryArchiverModule module, IRegistryCore registry, UserAccount userInfo, string invPath, string savePath, bool UseAssets, string checkPermissions ) : System
id System.Guid
module WhiteCore.Modules.Archivers.InventoryArchiverModule
registry IRegistryCore
userInfo WhiteCore.Framework.Services.UserAccount
invPath string
savePath string
UseAssets bool
checkPermissions string
리턴 System

ReceivedAllAssets() 보호된 메소드

protected ReceivedAllAssets ( ICollection assetsFoundUuids, ICollection assetsNotFoundUuids ) : void
assetsFoundUuids ICollection
assetsNotFoundUuids ICollection
리턴 void

SaveInvFolder() 보호된 메소드

Save an inventory folder
protected SaveInvFolder ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase inventoryFolder, string path, bool saveThisFolderItself ) : void
inventoryFolder WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase The inventory folder to save
path string The path to which the folder should be saved
saveThisFolderItself bool If true, save this folder itself. If false, only saves contents
리턴 void

SaveInvItem() 보호된 메소드

protected SaveInvItem ( WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase inventoryItem, string path ) : void
inventoryItem WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryItemBase
path string
리턴 void

SaveUsers() 보호된 메소드

Save information for the users that we've collected.
protected SaveUsers ( ) : void
리턴 void

프로퍼티 상세

m_archiveWriter 보호되어 있는 프로퍼티

protected TarArchiveWriter,WhiteCore.Framework.Serialization m_archiveWriter
리턴 WhiteCore.Framework.Serialization.TarArchiveWriter

m_assetGatherer 보호되어 있는 프로퍼티

protected UuidGatherer,WhiteCore.Framework.SceneInfo m_assetGatherer
리턴 WhiteCore.Framework.SceneInfo.UuidGatherer

m_assetUuids 보호되어 있는 프로퍼티

protected Dictionary m_assetUuids
리턴 AssetType>.Dictionary

m_assetsToAdd 보호되어 있는 프로퍼티

protected List m_assetsToAdd
리턴 List

m_defaultFolderToSave 보호되어 있는 프로퍼티

protected InventoryFolderBase,WhiteCore.Framework.Services.ClassHelpers.Inventory m_defaultFolderToSave
리턴 WhiteCore.Framework.Services.ClassHelpers.Inventory.InventoryFolderBase

m_id 보호되어 있는 프로퍼티

protected Guid,System m_id
리턴 System.Guid

m_registry 보호되어 있는 프로퍼티

protected IRegistryCore m_registry
리턴 IRegistryCore

m_userUuids 보호되어 있는 프로퍼티

protected Dictionary m_userUuids
리턴 int>.Dictionary