C# Class Dev2.Runtime.Hosting.ServerExplorerRepository

Inheritance: IExplorerServerResourceRepository
Show file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
AddItem ( IExplorerItem itemToAdd, System.Guid workSpaceId ) : IExplorerRepositoryResult
DeleteFolder ( string path, bool deleteContents, System.Guid workSpaceId ) : IExplorerRepositoryResult
DeleteItem ( IExplorerItem itemToDelete, System.Guid workSpaceId ) : IExplorerRepositoryResult
DirectoryStructureFromPath ( string path ) : string
Load ( System.Guid workSpaceId ) : IExplorerItem
Load ( ResourceType type, System.Guid workSpaceId ) : IExplorerItem
Load ( ResourceType type, string filter ) : IExplorerItem
Load ( string filter ) : IExplorerItem
MessageSubscription ( IExplorerRepositorySync sync ) : void
MoveItem ( IExplorerItem itemToMove, string newPath, System.Guid workSpaceId ) : IExplorerRepositoryResult
RenameFolder ( string path, string newPath, System.Guid workSpaceId ) : IExplorerRepositoryResult
RenameItem ( IExplorerItem itemToRename, string newName, System.Guid workSpaceId ) : IExplorerRepositoryResult

Private Methods

Method Description
MoveVersionFolder ( string path, string newPath ) : void
MoveVersions ( IExplorerItem itemToMove, string newPath ) : void
RenameExplorerItem ( IExplorerItem itemToRename, System.Guid workSpaceId ) : IExplorerRepositoryResult
ServerExplorerRepository ( ) : System
ServerExplorerRepository ( IResourceCatalog resourceCatalog, IExplorerItemFactory explorerItemFactory, IDirectory directory, IExplorerRepositorySync sync, IServerVersionRepository versionRepository, IFile file ) : System

Method Details

AddItem() public method

public AddItem ( IExplorerItem itemToAdd, System.Guid workSpaceId ) : IExplorerRepositoryResult
itemToAdd IExplorerItem
workSpaceId System.Guid
return IExplorerRepositoryResult

DeleteFolder() public method

public DeleteFolder ( string path, bool deleteContents, System.Guid workSpaceId ) : IExplorerRepositoryResult
path string
deleteContents bool
workSpaceId System.Guid
return IExplorerRepositoryResult

DeleteItem() public method

public DeleteItem ( IExplorerItem itemToDelete, System.Guid workSpaceId ) : IExplorerRepositoryResult
itemToDelete IExplorerItem
workSpaceId System.Guid
return IExplorerRepositoryResult

DirectoryStructureFromPath() public static method

public static DirectoryStructureFromPath ( string path ) : string
path string
return string

Load() public method

public Load ( System.Guid workSpaceId ) : IExplorerItem
workSpaceId System.Guid
return IExplorerItem

Load() public method

public Load ( ResourceType type, System.Guid workSpaceId ) : IExplorerItem
type ResourceType
workSpaceId System.Guid
return IExplorerItem

Load() public method

public Load ( ResourceType type, string filter ) : IExplorerItem
type ResourceType
filter string
return IExplorerItem

Load() public method

public Load ( string filter ) : IExplorerItem
filter string
return IExplorerItem

MessageSubscription() public method

public MessageSubscription ( IExplorerRepositorySync sync ) : void
sync IExplorerRepositorySync
return void

MoveItem() public method

public MoveItem ( IExplorerItem itemToMove, string newPath, System.Guid workSpaceId ) : IExplorerRepositoryResult
itemToMove IExplorerItem
newPath string
workSpaceId System.Guid
return IExplorerRepositoryResult

RenameFolder() public method

public RenameFolder ( string path, string newPath, System.Guid workSpaceId ) : IExplorerRepositoryResult
path string
newPath string
workSpaceId System.Guid
return IExplorerRepositoryResult

RenameItem() public method

public RenameItem ( IExplorerItem itemToRename, string newName, System.Guid workSpaceId ) : IExplorerRepositoryResult
itemToRename IExplorerItem
newName string
workSpaceId System.Guid
return IExplorerRepositoryResult