Interface ISubjectNode
-
- All Superinterfaces:
com4j.Com4jObject
,ISysTreeNode
- All Known Subinterfaces:
ISubjectNode2
public interface ISubjectNode extends ISysTreeNode
Represents a subject folder in a Quality Center subject tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com4j.Com4jObject
attachments()
The AttachmentFactory for the subject folder.String
description()
A description of the subject node.void
description(String pVal)
A description of the subject node.IList
findTests(String pattern, boolean matchCase, String filter)
Finds tests within the current subject folder whose name matches the specified text pattern.boolean
hasAttachment()
Checks if the SubjectNode has at least one attachment.void
move(Object parent)
Moves the current tree mode to be under the specified parent.void
removeSubjectNode(Object node, boolean deleteTests)
Removes the specified node from the subject tree.com4j.Com4jObject
testFactory()
The TestFactory object for the subject folder.int
viewOrder()
The position of the node in the tree as presented in the user interface.void
viewOrder(int pVal)
The position of the node in the tree as presented in the user interface.-
Methods inherited from interface com4j.Com4jObject
advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
-
Methods inherited from interface step.repository.alm.otaclient.ISysTreeNode
addNode, attribute, child, count, depthType, father, findChildNode, findChildren, name, name, newList, newList, nodeID, path, post, refresh, removeNode
-
-
-
-
Method Detail
-
testFactory
com4j.Com4jObject testFactory()
The TestFactory object for the subject folder.
Getter method for the COM property "TestFactory"
- Returns:
- Returns a value of type com4j.Com4jObject
-
removeSubjectNode
void removeSubjectNode(Object node, @DefaultValue("0") boolean deleteTests)
Removes the specified node from the subject tree.
- Parameters:
node
- Mandatory java.lang.Object parameter.deleteTests
- Optional parameter. Default value is false
-
description
String description()
A description of the subject node.
Getter method for the COM property "Description"
- Returns:
- Returns a value of type java.lang.String
-
description
void description(String pVal)
A description of the subject node.
Setter method for the COM property "Description"
- Parameters:
pVal
- Mandatory java.lang.String parameter.
-
attachments
com4j.Com4jObject attachments()
The AttachmentFactory for the subject folder.
Getter method for the COM property "Attachments"
- Returns:
- Returns a value of type com4j.Com4jObject
-
findTests
IList findTests(String pattern, @DefaultValue("0") boolean matchCase, @DefaultValue("") String filter)
Finds tests within the current subject folder whose name matches the specified text pattern.
- Parameters:
pattern
- Mandatory java.lang.String parameter.matchCase
- Optional parameter. Default value is falsefilter
- Optional parameter. Default value is ""- Returns:
- Returns a value of type otaclient.IList
-
viewOrder
int viewOrder()
The position of the node in the tree as presented in the user interface.
Getter method for the COM property "ViewOrder"
- Returns:
- Returns a value of type int
-
viewOrder
void viewOrder(int pVal)
The position of the node in the tree as presented in the user interface.
Setter method for the COM property "ViewOrder"
- Parameters:
pVal
- Mandatory int parameter.
-
hasAttachment
boolean hasAttachment()
Checks if the SubjectNode has at least one attachment.
Getter method for the COM property "HasAttachment"
- Returns:
- Returns a value of type boolean
-
move
void move(Object parent)
Moves the current tree mode to be under the specified parent.
- Parameters:
parent
- Mandatory java.lang.Object parameter.
-
-