Interface IBaseFactory
-
- All Superinterfaces:
com4j.Com4jObject
- All Known Subinterfaces:
IAnalysisItemFactory
,IAnalysisItemFolderFactory
,IAssetRelationFactory
,IAssetRepositoryItemFactory
,IAttachmentFactory
,IAuditPropertyFactory
,IAuditRecordFactory
,IBaseFactoryEx
,IBaselineFactory
,IBaselineRootFactory
,IBugFactory
,IBugFactory2
,IComparisonFactory
,IComparisonNodeFactory
,IComponentFactory
,IComponentFactory2
,IComponentFactory3
,IComponentFolderFactory
,IConditionFactory
,ICoverageFactory
,ICycleFactory
,IDashboardFolderFactory
,IDashboardPageFactory
,IDashboardPageItemFactory
,IFavoriteFactory
,IFavoriteFolderFactory
,IHostGroupFactory
,ILibraryFactory
,ILibraryFolderFactory
,ILibraryPartFactory
,ILinkFactory
,IParameterValueFactory
,IQCResourceFactory
,IQCResourceFolderFactory
,IReleaseFactory
,IReleaseFolderFactory
,IReqCoverageFactory
,IReqFactory
,IReqFactory2
,IReqFactory3
,IReqFactory4
,IReqTraceFactory
,IRunFactory
,ITaskFactory
,ITaskLogFactory
,ITestFactory
,ITestFactory2
,ITestParameterFactory
,ITestSetFactory
,ITestSetFactory2
,IUserAssetFactory
public interface IBaseFactory extends com4j.Com4jObject
Provides basic object basic factory services, such as adding and removing factory child objects and creating lists of child objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com4j.Com4jObject
addItem(java.lang.Object itemData)
Creates a new item object.short
fetchLevel(java.lang.String fieldName)
The Fetch level for a field.void
fetchLevel(java.lang.String fieldName, short pVal)
The Fetch level for a field.IList
fields()
The list of all available fields for the entity managed by the factory.java.lang.Object
fields(int index)
com4j.Com4jObject
filter()
The TDFilter object for the factory.com4j.Com4jObject
history()
The History object for this entity.com4j.Com4jObject
item(java.lang.Object itemKey)
Gets an object managed by the factory by its key.IList
newList(java.lang.String filter)
Creates a list of objects according to the specified filter.void
removeItem(java.lang.Object itemKey)
Removes item from the database.
-
-
-
Method Detail
-
item
com4j.Com4jObject item(java.lang.Object itemKey)
Gets an object managed by the factory by its key.
Getter method for the COM property "Item"
- Parameters:
itemKey
- Mandatory java.lang.Object parameter.- Returns:
- Returns a value of type com4j.Com4jObject
-
newList
IList newList(java.lang.String filter)
Creates a list of objects according to the specified filter.
- Parameters:
filter
- Mandatory java.lang.String parameter.- Returns:
- Returns a value of type otaclient.IList
-
fields
IList fields()
The list of all available fields for the entity managed by the factory.
Getter method for the COM property "Fields"
- Returns:
- Returns a value of type otaclient.IList
-
fields
java.lang.Object fields(int index)
-
addItem
com4j.Com4jObject addItem(java.lang.Object itemData)
Creates a new item object.
- Parameters:
itemData
- Mandatory java.lang.Object parameter.- Returns:
- Returns a value of type com4j.Com4jObject
-
removeItem
void removeItem(java.lang.Object itemKey)
Removes item from the database. Removal takes place immediately, without a Post.
- Parameters:
itemKey
- Mandatory java.lang.Object parameter.
-
filter
com4j.Com4jObject filter()
The TDFilter object for the factory.
Getter method for the COM property "Filter"
- Returns:
- Returns a value of type com4j.Com4jObject
-
history
com4j.Com4jObject history()
The History object for this entity.
Getter method for the COM property "History"
- Returns:
- Returns a value of type com4j.Com4jObject
-
fetchLevel
short fetchLevel(java.lang.String fieldName)
The Fetch level for a field.
Getter method for the COM property "FetchLevel"
- Parameters:
fieldName
- Mandatory java.lang.String parameter.- Returns:
- Returns a value of type short
-
fetchLevel
void fetchLevel(java.lang.String fieldName, short pVal)
The Fetch level for a field.
Setter method for the COM property "FetchLevel"
- Parameters:
fieldName
- Mandatory java.lang.String parameter.pVal
- Mandatory short parameter.
-
-