C# 클래스 Dev2.Workspaces.WorkspaceRepository

A workspace repository.
상속: IWorkspaceRepository
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ServerWorkspaceID System.Guid
ServerWorkspacePath string

공개 메소드들

메소드 설명
Delete ( IWorkspace workspace ) : void

Deletes the specified workspace from storage.

Get ( System.Guid workspaceID, bool force = false, bool loadResources = true ) : IWorkspace

Gets the IWorkspace with the specified ID from storage if it does not exist in the repository.

GetLatest ( IWorkspace workspace, IList servicesToIgnore ) : void

Overwrites this workspace with the server versions except for those provided.

GetWorkspaceGuids ( ) : ICollection
GetWorkspaceID ( System.Security.Principal.WindowsIdentity identity ) : System.Guid
RefreshWorkspaces ( ) : void

Refreshes all workspaces from storage.

Save ( IWorkspace workspace ) : void

Saves the specified workspace to storage.

WorkspaceRepository ( ) : System
WorkspaceRepository ( IResourceCatalog resourceCatalog ) : System

비공개 메소드들

메소드 설명
Delete ( System.Guid workspaceID ) : void
GetFileName ( System.Guid workspaceID ) : string
GetUserMapFileName ( ) : string
Read ( System.Guid workdspaceID ) : IWorkspace
ReadUserMap ( ) : Guid>.ConcurrentDictionary
Write ( IWorkspace workspace ) : void
WriteUserMap ( Guid>.ConcurrentDictionary userMap ) : void

메소드 상세

Delete() 공개 메소드

Deletes the specified workspace from storage.
public Delete ( IWorkspace workspace ) : void
workspace IWorkspace The workspace to be deleted.
리턴 void

Get() 공개 메소드

Gets the IWorkspace with the specified ID from storage if it does not exist in the repository.
public Get ( System.Guid workspaceID, bool force = false, bool loadResources = true ) : IWorkspace
workspaceID System.Guid The workdspace ID to be queried.
force bool true if the workspace should be re-read even it is found; false otherwise.
loadResources bool true if resources should be loaded; false otherwise.
리턴 IWorkspace

GetLatest() 공개 메소드

Overwrites this workspace with the server versions except for those provided.
public GetLatest ( IWorkspace workspace, IList servicesToIgnore ) : void
workspace IWorkspace The workspace to be queried.
servicesToIgnore IList The services being to be ignored.
리턴 void

GetWorkspaceGuids() 공개 메소드

public GetWorkspaceGuids ( ) : ICollection
리턴 ICollection

GetWorkspaceID() 공개 메소드

public GetWorkspaceID ( System.Security.Principal.WindowsIdentity identity ) : System.Guid
identity System.Security.Principal.WindowsIdentity
리턴 System.Guid

RefreshWorkspaces() 공개 메소드

Refreshes all workspaces from storage.
public RefreshWorkspaces ( ) : void
리턴 void

Save() 공개 메소드

Saves the specified workspace to storage.
public Save ( IWorkspace workspace ) : void
workspace IWorkspace The workspace to be saved.
리턴 void

WorkspaceRepository() 공개 메소드

public WorkspaceRepository ( ) : System
리턴 System

WorkspaceRepository() 공개 메소드

public WorkspaceRepository ( IResourceCatalog resourceCatalog ) : System
resourceCatalog IResourceCatalog
리턴 System

프로퍼티 상세

ServerWorkspaceID 공개적으로 정적으로 프로퍼티

The server workspace ID.
public static Guid,System ServerWorkspaceID
리턴 System.Guid

ServerWorkspacePath 공개적으로 정적으로 프로퍼티

public static string ServerWorkspacePath
리턴 string