class %ZHSLIB.PackageManager.Client.P4Workspace.PackageService extends %ZHSLIB.PackageManager.Client.Filesystem.PackageService

Property Inventory (Including Private)

Method Inventory (Including Private)


property Available as %Boolean [ Private ];
Property methods: AvailableDisplayToLogical(), AvailableGet(), AvailableIsValid(), AvailableLogicalToDisplay(), AvailableNormalize(), AvailableSet()
property FileSpec as %String [ ReadOnly ];
Property methods: FileSpecDisplayToLogical(), FileSpecGet(), FileSpecIsValid(), FileSpecLogicalToDisplay(), FileSpecLogicalToOdbc(), FileSpecNormalize()
property P4Workspace as %ZHSLIB.PackageManager.Client.P4Workspace;
Property methods: P4WorkspaceGet(), P4WorkspaceGetObject(), P4WorkspaceGetObjectId(), P4WorkspaceGetSwizzled(), P4WorkspaceIsValid(), P4WorkspaceNewObject(), P4WorkspaceSet(), P4WorkspaceSetObject(), P4WorkspaceSetObjectId(), P4WorkspaceUnSwizzle()


private method %OnNew(pRoot As %String, pFileSpec As %String) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

classmethod CreateForWorkspace(pWorkspace As %ZHSLIB.PackageManager.Client.P4Workspace) as %ZHSLIB.PackageManager.Client.P4Workspace.PackageService [ Language = objectscript ]
classmethod GetDepotPathFromLocalPath(pLocalPath As %String) as %String [ Language = objectscript ]
classmethod GetLocalPathFromDepotPath(pDepotPath As %String) as %String [ Language = objectscript ]
method GetModule(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Stream.Object [ Language = objectscript ]
method GetModuleDirectory(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %String [ Language = objectscript ]
method HandlePerforceError(pSC As %Status) as %Status [ Language = objectscript ]
Attempts to determine if pSC occurred due to Perforce becoming unavailable. Returns $$$OK if Perforce was available previously and no longer is, and pSC otherwise.
method IsAvailable() as %Boolean [ Language = objectscript ]
For run-time checks to ensure the service is available before attempting to invoke it. Always returns true, although also checks to see whether Perforce or the local filesystem should be used.
method PerforceIsAvailable() as %Boolean [ Language = objectscript ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)