Class Reference
%Studio.SourceControl.ItemSet
|
|
![]() |
|||
Private Storage |
Class which lists things coming to or from the client as part of the CCR process
|
|
|
This is the string used for naming the default proxy CSPApplication that is referenced for exporting/importing files
The MANAGEDEXTENT parameter can be set to 0 (zero) to cause the Extent Manager to ignore this class. If set to 1 then the Extent Manager will register globals used by the class and detect collisions. Unmanaged extents (MANAGEDEXTENT = 0) are not checked. Currently, only classes using default storage (%Library.CacheStorage) can be managed. This is required since each Namespace will have it's own Change extent
This Parameter should be updated when synced from Perforce
Revision number of this class when compiled as part of the //custom_ccrs/_common/config/... branch. This version will not be updated (by design) when the class is integrated to other branches. This allows the user to tell what version of the Studio client tools are in use.
|
CCR for which this ItemSet was created
Indicates that this ItemSet (created on a Client) has been committed to Perforce by the CCR Servera value of 0 means that it has not been committed
a value of 1 means that it is currently being committed
a value of 2 means that it has been committed successfully
a value of -1 means that it has been aborted
Time the ItemSet was committed to Perforce
Time the ItemSet was created
User who created or imported this ItemSet; this should be a CCR Username
Environment for/from which this ItemSet was created
Time the ItemSet was exported
Additional identifying Label for the Payload filename
Time the ItemSet was imported
List of Items in this ItemSet, where the key is the item name, and the value is add/edit/delete/failed
Location path and filename on local file system where exported XML for this ItemSet is stored
name of ItemSet file for this ItemSet
Perforce Job that was exported in this ItemSet; or Job associated with this CCR on this Server
Global stream storing the most recent Log for this system
Global stream storing the cumulative logs for this ItemSet on this system
readable name of this ItemSet; used for file names and project name
Object forthe payload file for this ItemSet
Location on local file system where Payload for this ItemSet is stored
name of Payload for this ItemSet
Transient property to store the server-side ID for this ItemSet
Transient property to store the session token to pull this ItemSet from the Server
Name of the server where this ItemSet was created
System for which this CCR was created
generic intended destination for this ItemSet
|
Wrapper method for bundling pending changes, and added them to an ItemSet which can be uploaded to CCR for check-in Can be either interactive or scripted
Utility method to change mount setting for CACHELIB; passing no mode argument will return the current status
method takes a file name, or an array of filenames, and changes the pReadonly state to the pReadOnly value
Given a list of files on the OS, returns a list of those that are Readonly, and a list of those that are writable
Method to create a ItemSet and Payload file which can be passed to another system for import pItems is an array subscripted by the item name (full file name on file system), with a value of add/edit/delete
Displays the LogHistory of an ItemSet
Wrapper method for interactively downloading list of ItemSets from server via Web Service, and then selecting and saving one to disk
Export the ItemSet to the file system
Export the ItemSet to the file system
as cspapplication paths must be unique, if multiple namespaces on this instance need to send/receive ItemSets, then we may be using a secondary cspApp naming convention which is '/..#CSPAppLink/' When this is the case, this method exchanges the values in an XML file on disk to or from the standard (/..#CSPAppLink/) or local csp application name.
the Utility CSPApplication, called '/itemsetsourcelink*' acts as a mechanism to 'tar' and 'untar' ItemSets for transport to/from Server/Client this makes sure that the CSP Application is defined for this namespace, and finds where it points on the file system
Import a ItemSet from the file system
Returns value the Major.Minor version for this instance, so it can be used in comparison code which makes sure certain features are used in appropriate versions
Utility method to check the OS username of the current process make sure for UNIX it matches the username that the instance is running as
Wrapper method for importing, loading to file system (OS), loading to namespace and compiling ItemSet into this namespace Can be either interactive or scripted
Loads the files from the file system into the namespace; creates a project and (optionally) compiles the projectWhen pCompileProject=1, the project will be compiled after load is complete
When pCompileProject=2, the project will only be compiled after load if the ItemSet does not contain this class in it's payload (i.e. pIncPercent'=2)
Load the items in this ItemSet into the local file system If the file already exists and is ReadOnly, then it will be changed to ReadWrite, loaded to the OS, and then marked as ReadOnly again If the file exists and is ReadWrite, it will not be overwritten by the ItemSet load, unless pOverwrite is set to true
holder method for output redirect tags; returns the name of the compiled routine where these tags exist [Previously private]
Logging instance method for this object; redirects IO to ..Log, and then saves it to ..LogHistory and saves the object when logging is turned off
Logging class method; redirects IO to either a %Stream.GlobalCharacter or a %Stream.FileCharacter
takes an item name (or an array of names), and converts it from the file system representation to the csp application representation, or vice versa if pName includes a Perforce version identifier (e.g. <file>#<ver> ignore the version when validating the file's existanceWhen
pValidate is '1', when the method will confirm that the file exists and that it is not empty (there is no usecase for passing empty files in ItemSets, and it can mess up the import of the ItemSet in some versions of Caché).
Logic used on the server to submit contents of a ChangeList to Perforce
Returns the count of ItemSets destined for the Server
This is a Get accessor method for theServerItemSetID property.
This is a Set accessor method for theServerItemSetID property.
This is a Get accessor method for theSessionToken property.
This is a Set accessor method for theSessionToken property.
Proxy configuration for un-authenticated proxy connection
Wrapper method for Uploading uncommitted changes to CCR for check-in Can be either interactive or scripted
Wrapper that calls ConfirmLoad WebService to send back the results of an ItemSetLoad
Wrapper that calls Download WebService to download an ItemSet XML for a given ID to the local filesystem
Wrapper that calls List WebService to get a result-set listing ItemSets for a given pJob and pEnv
Wrapper that calls Upload WebService to upload an ItemSet XML for a given ID to the ItemSet Server
|
SQL Query :
SELECT ID, Name, CreateTimestamp
FROM ItemSet
WHERE CCR = :pRID AND Target='Client'
ORDER BY CreateTimestamp DESC
SQL Query :
SELECT COUNT(ID) As Num FROM ItemSet WHERE CCR = :pRID AND Target='Server'
SQL Query :
SELECT ID, Name, CreateTimestamp, CommittedTimestamp, ImportTimestamp
FROM ItemSet WHERE CCR = :pRID AND Target='Server' AND ''=:pCommitted UNION
SELECT ID, Name, CreateTimestamp, CommittedTimestamp, ImportTimestamp
FROM ItemSet WHERE CCR = :pRID AND Target='Server' AND Committed=:pCommitted
ORDER BY CommittedTimestamp DESC, CreateTimestamp DESC, ImportTimestamp DESC
|