C# 클래스 Dev2.Runtime.Hosting.ServerVersionRepository

상속: IServerVersionRepository
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
LockObject object

공개 메소드들

메소드 설명
DeleteVersion ( System.Guid resourceId, string versionNumber ) : IList
GetLatestVersionNumber ( System.Guid resourceId ) : IExplorerItem
GetVersion ( IVersionInfo version ) : StringBuilder
GetVersions ( System.Guid resourceId ) : IList
MoveVersions ( System.Guid resourceId, string newPath ) : void
RollbackTo ( System.Guid resourceId, string versionNumber ) : IRollbackResult
ServerVersionRepository ( IVersionStrategy versionStrategy, IResourceCatalog catalogue, IDirectory directory, string rootPath, IFile file ) : System
StoreVersion ( IResource resource, string userName, string reason, System.Guid workSpaceId ) : void

비공개 메소드들

메소드 설명
CreateNameFromPath ( string path ) : string
CreateVersionFromFilePath ( string path, IResource resource ) : IExplorerItem
CreateVersionInfoFromFilePath ( string path, System.Guid resourceId ) : IVersionInfo
GetDateString ( System.DateTime dateTimeStamp ) : string
GetDirectoryFromResource ( IResource resource ) : string
GetFolderFromResource ( IResource resource ) : string
GetVersionFolderFromResource ( IResource resource ) : string
StoreAndDeleteCurrentIfRenamed ( IResource res, Resource oldResource ) : void
UpdateCategoryIfRenamed ( IResource res, Resource oldResource, System.Xml.Linq.XElement xml ) : void
UpdateVersionInfoIfNotExists ( System.Guid resourceId, System.Xml.Linq.XElement xml, IResource res ) : void

메소드 상세

DeleteVersion() 공개 메소드

public DeleteVersion ( System.Guid resourceId, string versionNumber ) : IList
resourceId System.Guid
versionNumber string
리턴 IList

GetLatestVersionNumber() 공개 메소드

public GetLatestVersionNumber ( System.Guid resourceId ) : IExplorerItem
resourceId System.Guid
리턴 IExplorerItem

GetVersion() 공개 메소드

public GetVersion ( IVersionInfo version ) : StringBuilder
version IVersionInfo
리턴 StringBuilder

GetVersions() 공개 메소드

public GetVersions ( System.Guid resourceId ) : IList
resourceId System.Guid
리턴 IList

MoveVersions() 공개 메소드

public MoveVersions ( System.Guid resourceId, string newPath ) : void
resourceId System.Guid
newPath string
리턴 void

RollbackTo() 공개 메소드

public RollbackTo ( System.Guid resourceId, string versionNumber ) : IRollbackResult
resourceId System.Guid
versionNumber string
리턴 IRollbackResult

ServerVersionRepository() 공개 메소드

public ServerVersionRepository ( IVersionStrategy versionStrategy, IResourceCatalog catalogue, IDirectory directory, string rootPath, IFile file ) : System
versionStrategy IVersionStrategy
catalogue IResourceCatalog
directory IDirectory
rootPath string
file IFile
리턴 System

StoreVersion() 공개 메소드

public StoreVersion ( IResource resource, string userName, string reason, System.Guid workSpaceId ) : void
resource IResource
userName string
reason string
workSpaceId System.Guid
리턴 void

프로퍼티 상세

LockObject 보호되어 있는 정적으로 프로퍼티

protected static object LockObject
리턴 object