public interface IVCS
extends com4j.Com4jObject
Modifier and Type | Method and Description |
---|---|
void |
addObjectToVcs(String ignored,
String comments)
Adds an object to the Version control database.
|
void |
checkIn(String ignored,
String comments,
boolean ignored1,
boolean ignored2)
Checks in an object.
|
void |
checkInEx(String ignored,
String comments,
boolean ignored1,
boolean ignored2,
boolean forceCheckin,
int ignored3)
Checks in an object.
|
void |
checkOut(String version,
String comment,
boolean ignored,
boolean readOnly,
boolean ignored1)
Checks out an object
|
com4j.Com4jObject |
checkoutInfo()
A reference to a VersionItem object, containing the checkout information of the current object.
|
void |
clearView(String bstrVersion)
For future use.
|
String |
currentVersion()
The current object latest version.
|
void |
deleteObjectFromVCS()
Deletes the object from the Version Control database.
|
boolean |
isCheckedOut()
Checks if the object is in CHECKED-OUT or GET status.
|
boolean |
isLocked()
Obsolete.
|
String |
lockedBy()
The name of the locking user.
|
void |
lockVcsObject()
For HP use.
|
void |
refresh()
Refreshes the VCS object from the server to the client, overwriting values in memory.
|
void |
setCurrentVersion(String version)
[DEPRECATED]This method is potentially destructive.
|
void |
undoCheckout(boolean ignored)
Undoes the check out operation, falling back to the current version on the server.
|
String |
version()
The version the current user is viewing.
|
com4j.Com4jObject |
versionInfo(String version)
A reference to a VersionItem object containing information about a specific version, specified by the Version argument.
|
IList |
versions()
For HP use.
|
Object |
versions(int index) |
IList |
versionsEx()
A list of IVersionItem references for accessing the details of each version in the object.
|
Object |
versionsEx(int index) |
void |
viewVersion(String bstrVersion,
com4j.Holder<String> bstrViewPath)
For HP use.
|
String version()
The version the current user is viewing.
Getter method for the COM property "Version"
boolean isCheckedOut()
Checks if the object is in CHECKED-OUT or GET status.
Getter method for the COM property "IsCheckedOut"
boolean isLocked()
Obsolete. Always returns false.
Getter method for the COM property "IsLocked"
void addObjectToVcs(@DefaultValue(value="1.1.1") String ignored, @DefaultValue(value="Object Created in VCS") String comments)
Adds an object to the Version control database.
ignored
- Optional parameter. Default value is "1.1.1"comments
- Optional parameter. Default value is "Object Created in VCS"void deleteObjectFromVCS()
Deletes the object from the Version Control database.
void checkOut(String version, String comment, boolean ignored, @DefaultValue(value="0") boolean readOnly, @DefaultValue(value="-1") boolean ignored1)
Checks out an object
version
- Mandatory java.lang.String parameter.comment
- Mandatory java.lang.String parameter.ignored
- Mandatory boolean parameter.readOnly
- Optional parameter. Default value is falseignored1
- Optional parameter. Default value is falsevoid checkIn(String ignored, String comments, @DefaultValue(value="-1") boolean ignored1, @DefaultValue(value="-1") boolean ignored2)
Checks in an object.
ignored
- Mandatory java.lang.String parameter.comments
- Mandatory java.lang.String parameter.ignored1
- Optional parameter. Default value is falseignored2
- Optional parameter. Default value is falsevoid setCurrentVersion(String version)
[DEPRECATED]This method is potentially destructive. Use only if necessary and with care. Sets the VCS object current version.
version
- Mandatory java.lang.String parameter.void lockVcsObject()
For HP use. Changes VCS object status from GET to CHECK-OUT. The object must be in a GET status to use this method.
void undoCheckout(boolean ignored)
Undoes the check out operation, falling back to the current version on the server.
ignored
- Mandatory boolean parameter.String currentVersion()
The current object latest version.
Getter method for the COM property "CurrentVersion"
com4j.Com4jObject checkoutInfo()
A reference to a VersionItem object, containing the checkout information of the current object.
Getter method for the COM property "CheckoutInfo"
IList versions()
For HP use. Returns a list of references to the VersionItem objects of this entity.
Getter method for the COM property "Versions"
Object versions(int index)
String lockedBy()
The name of the locking user.
Getter method for the COM property "LockedBy"
com4j.Com4jObject versionInfo(String version)
A reference to a VersionItem object containing information about a specific version, specified by the Version argument.
Getter method for the COM property "VersionInfo"
version
- Mandatory java.lang.String parameter.void viewVersion(String bstrVersion, com4j.Holder<String> bstrViewPath)
For HP use. Method ViewVersion.
bstrVersion
- Mandatory java.lang.String parameter.bstrViewPath
- Mandatory Holdervoid clearView(@DefaultValue(value="") String bstrVersion)
For future use.
bstrVersion
- Optional parameter. Default value is ""IList versionsEx()
A list of IVersionItem references for accessing the details of each version in the object. .
Getter method for the COM property "VersionsEx"
Object versionsEx(int index)
void refresh()
Refreshes the VCS object from the server to the client, overwriting values in memory.
void checkInEx(String ignored, String comments, @DefaultValue(value="-1") boolean ignored1, @DefaultValue(value="-1") boolean ignored2, @DefaultValue(value="0") boolean forceCheckin, @DefaultValue(value="0") int ignored3)
Checks in an object.
ignored
- Mandatory java.lang.String parameter.comments
- Mandatory java.lang.String parameter.ignored1
- Optional parameter. Default value is falseignored2
- Optional parameter. Default value is falseforceCheckin
- Optional parameter. Default value is falseignored3
- Optional parameter. Default value is 0Copyright © 2020. All rights reserved.