C# Class Dev2.Runtime.Hosting.ServerVersionRepository

Inheritance: IServerVersionRepository
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Protected Properties

Свойство Type Description
LockObject object

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

DeleteVersion() public méthode

public DeleteVersion ( System.Guid resourceId, string versionNumber ) : IList
resourceId System.Guid
versionNumber string
Résultat IList

GetLatestVersionNumber() public méthode

public GetLatestVersionNumber ( System.Guid resourceId ) : IExplorerItem
resourceId System.Guid
Résultat IExplorerItem

GetVersion() public méthode

public GetVersion ( IVersionInfo version ) : StringBuilder
version IVersionInfo
Résultat StringBuilder

GetVersions() public méthode

public GetVersions ( System.Guid resourceId ) : IList
resourceId System.Guid
Résultat IList

MoveVersions() public méthode

public MoveVersions ( System.Guid resourceId, string newPath ) : void
resourceId System.Guid
newPath string
Résultat void

RollbackTo() public méthode

public RollbackTo ( System.Guid resourceId, string versionNumber ) : IRollbackResult
resourceId System.Guid
versionNumber string
Résultat IRollbackResult

ServerVersionRepository() public méthode

public ServerVersionRepository ( IVersionStrategy versionStrategy, IResourceCatalog catalogue, IDirectory directory, string rootPath, IFile file ) : System
versionStrategy IVersionStrategy
catalogue IResourceCatalog
directory IDirectory
rootPath string
file IFile
Résultat System

StoreVersion() public méthode

public StoreVersion ( IResource resource, string userName, string reason, System.Guid workSpaceId ) : void
resource IResource
userName string
reason string
workSpaceId System.Guid
Résultat void

Property Details

LockObject protected_oe static_oe property

protected static object LockObject
Résultat object