public interface IUseCaseCategory
extends com.arcway.cockpit.modulelib2.client.docgen.provider.interfaces.IModuleData, com.arcway.cockpit.docgen.provider.interfaces.ICustomPropertiesAccess
IUseCaseCategory object allows to read attribute values of a use case category
from the COCKPIT use case module. Starting with this object, you can get references to
the use cases of the category.Item type constant: "ucm.useCaseSet"
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsUseCases()
Checks whether the category contains any use cases.
|
java.lang.String |
getName()
Returns the name of the category.
|
java.lang.String |
getUniqueIdentifier()
Returns a unique identifier that uniquely identifies this object
within its project.
|
java.util.List<? extends IUseCase> |
getUseCases()
Returns all use cases of the category.
|
java.util.List<? extends IUseCase> |
getUseCases(int sortingCriterion)
Returns all use cases of the category.
|
java.util.List<? extends IUseCase> |
getUseCases(java.lang.String sortingProperty)
Returns all use cases of the category.
|
java.util.List<? extends IUseCase> |
getUseCasesWithCategory(java.lang.String categoryID)
Returns all use cases of the category that belongs to the specified category.
|
java.util.List<? extends IUseCase> |
getUseCasesWithCategory(java.lang.String categoryID,
int sortingCriterion)
Returns all use cases of the category that belongs to the specified category.
|
java.util.List<? extends IUseCase> |
getUseCasesWithCategory(java.lang.String categoryID,
java.lang.String sortingProperty)
Returns all use cases of the category that belongs to the specified category.
|
java.util.List<? extends IUseCase> |
getUseCasesWithDefaultCategory()
Returns all use cases of the category that belongs to the default category.
|
java.util.List<? extends IUseCase> |
getUseCasesWithDefaultCategory(int sortingCriterion)
Returns all use cases of the category that belongs to the default category.
|
java.util.List<? extends IUseCase> |
getUseCasesWithDefaultCategory(java.lang.String sortingProperty)
Returns all use cases of the category that belongs to the default category.
|
com.arcway.cockpit.docgen.provider.interfaces.IRecord |
toRecord()
Converts this generic module data into a record.
|
getCategoryID, getCategoryLabel, getDateTimeProperty_MilliSecondsSince_01_01_1970, getFileProperty, getFileProperty, getFilePropertyAsBase64StringList, getFilePropertyAsFileName, getFilePropertyAsFileName, getFilePropertyAsRawStringList, getFilePropertyAsStringList, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringList, hasCustomPropertyValues, hasDefaultCategory, hasPropertyValue, readImageInfoOfFilePropertygetCommitVersion, getCreationDate_MilliSecondsSince_01_01_1970, getCreationDate, getCreator, getDateOfLastModification_MilliSecondsSince_01_01_1970, getDateOfLastModification, getDisplayName, getLastModifier, getModificationCount, getProjectUniqueIdentifier, getTypeID, getTypeName, toRecordjava.lang.String getUniqueIdentifier()
getUniqueIdentifier in interface com.arcway.cockpit.docgen.provider.interfaces.ICockpitDatajava.lang.String getName()
boolean containsUseCases()
java.util.List<? extends IUseCase> getUseCases()
The use cases are sorted by id.
java.util.List<? extends IUseCase> getUseCasesWithCategory(java.lang.String categoryID)
The use cases are sorted by id.
categoryID - the categoryIDjava.util.List<? extends IUseCase> getUseCasesWithDefaultCategory()
The use cases are sorted by id.
java.util.List<? extends IUseCase> getUseCases(int sortingCriterion)
sortingCriterion - specifies the criterion for sorting. Use the
integer constants in IUseCaseDataProvider.java.util.List<? extends IUseCase> getUseCasesWithCategory(java.lang.String categoryID, int sortingCriterion)
categoryID - the categoryIDsortingCriterion - specifies the criterion for sorting. Use the
integer constants in IUseCaseDataProvider.java.util.List<? extends IUseCase> getUseCasesWithDefaultCategory(int sortingCriterion)
sortingCriterion - specifies the criterion for sorting. Use the
integer constants in IUseCaseDataProvider.java.util.List<? extends IUseCase> getUseCases(java.lang.String sortingProperty)
sortingProperty - specifies the custom property which shall be used as a criterion for
sorting.java.util.List<? extends IUseCase> getUseCasesWithCategory(java.lang.String categoryID, java.lang.String sortingProperty)
categoryID - the categoryIDsortingProperty - specifies the custom property which shall be used as a criterion for
sorting.java.util.List<? extends IUseCase> getUseCasesWithDefaultCategory(java.lang.String sortingProperty)
sortingProperty - specifies the custom property which shall be used as a criterion for
sorting.com.arcway.cockpit.docgen.provider.interfaces.IRecord toRecord()
In addition to all fields documented at ICustomPropertiesAccess.toRecord(), in
the created record, the following fields are filled accoring to the wrapped cockpit data:
IRecord.NAME_KEYtoRecord in interface com.arcway.cockpit.docgen.provider.interfaces.ICockpitDatatoRecord in interface com.arcway.cockpit.docgen.provider.interfaces.ICustomPropertiesAccess