Class ClassificationReportGenerator
java.lang.Object
com.ptc.windchill.partslink.utils.ClassificationReportGenerator
ClassificationReportGenerator is utility class which provides capability to report parts whose names are
not confirming to auto naming rule defined on classification node.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Constructor Summary
ConstructorsConstructorDescriptionClassificationReportGenerator(int pagesize, String a_node, String a_type, String a_bindingAttribute)
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionvoidCloses paging session created by report generator.
Supported API: trueboolean
Supported API: true
-
Constructor Details
-
ClassificationReportGenerator
public ClassificationReportGenerator(int pagesize, String a_node, String a_type, String a_bindingAttribute)
Supported API: true- Parameters:
pagesize- page size of page to be returned bygetPartsToReportPageAPInode- classification node internal name for which report is to be generated.type- type of object for which report is to be generated.bindingAttribute- classification binding attribute.
-
-
Method Details
-
getPartsToReportPage
public Set<PartClassificationReport> getPartsToReportPage() throws ClassificationReportException, WTException, WTPropertyVetoException
Supported API: true- Returns:
- returns java.util.Set of PartClassificationReport objects.
- Throws:
ClassificationReportExceptionWTExceptionWTPropertyVetoException
-
hasMorePages
public boolean hasMorePages()
Supported API: true- Returns:
- returns boolean value indicating if more number of parts available for reporting.
-
closeReportSession
Closes paging session created by report generator. Should be used whenhasMorePagesreturns false to close session.
Supported API: true- Throws:
WTExceptionWTPropertyVetoException
-