%ZHSLIB.PackageManager.Client.P4Workspace.ClientSpec
serial class %ZHSLIB.PackageManager.Client.P4Workspace.ClientSpec extends %Library.SerialObject
Captures important information about the current Perforce workspace's client specification - the root and client view. This is used to provide an equivalent to "p4 where" when Perforce is unavailable. Property names should match the field names in the output from "p4 client -o"; this class may also be extended at some point to allow editing of the current workspace view.Property Inventory
Method Inventory
Properties
property Client as %String (MAXLEN = 255);
The name of the Perforce workspace
Property methods: ClientDisplayToLogical(), ClientGet(), ClientIsValid(), ClientLogicalToDisplay(), ClientLogicalToOdbc(), ClientNormalize(), ClientSet()
property Root as %String (MAXLEN = 255);
The filesystem root of the Perforce workspace
Property methods: RootDisplayToLogical(), RootGet(), RootIsValid(), RootLogicalToDisplay(), RootLogicalToOdbc(), RootNormalize(), RootSet()
property View as array of %String (MAXLEN = 255);
Map of (depot path) to (workspace-relative path)
Property methods: ViewBuildValueArray(), ViewCollectionToDisplay(), ViewCollectionToOdbc(), ViewDisplayToCollection(), ViewDisplayToLogical(), ViewGet(), ViewGetObject(), ViewGetObjectId(), ViewGetSwizzled(), ViewIsValid(), ViewLogicalToDisplay(), ViewLogicalToOdbc(), ViewNormalize(), ViewOdbcToCollection(), ViewSet(), ViewSetObject(), ViewSetObjectId()
Methods
Given a local filepath (pLocalPath), returns in pDepotPath the corresponding depot path.
Given a file/folder path in the depot (pDepotPath), returns in pLocalPath the corresponding filesystem path.
method SaveView() as %Status
Populates an instance of this object for the current workspace.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %Delete()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %GetSwizzleObject()
- %IsA()
- %IsModified()
- %IsNull()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %SerializeObject()
- %SetModified()
- %SyncObjectIn()
- %SyncTransport()
- %ValidateObject()
- LogicalToOdbc()
- OdbcToLogical()