Package com.primavera.integration.util
Class ResourceAssignmentSpreadFactory
java.lang.Object
com.primavera.integration.util.ResourceAssignmentSpreadFactory
Factory class used to create instances of ResourceAssignmentSpreads to be used
for editing Future Bucket Planning data on ResourceAssignment business objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceAssignmentSpreadcreateInstance(Session session, SpreadPeriodType periodType) Creates a new instance of a ResourceAssignmentSpread.static ResourceAssignmentSpread[]createInstanceArray(Session session, SpreadPeriodType periodType, int numberOfInstances) Creates an array of new instances of ResourceAssignmentSpreads.
-
Method Details
-
createInstance
public static ResourceAssignmentSpread createInstance(Session session, SpreadPeriodType periodType) throws ServerException, NetworkException, ClientException Creates a new instance of a ResourceAssignmentSpread.- Returns:
- the ResourceAssignmentSpread instance
- Throws:
ServerExceptionNetworkExceptionClientException
-
createInstanceArray
public static ResourceAssignmentSpread[] createInstanceArray(Session session, SpreadPeriodType periodType, int numberOfInstances) throws ClientException, ServerException, NetworkException Creates an array of new instances of ResourceAssignmentSpreads.- Returns:
- the array of ResourceAssignmentSpread instances
- Throws:
ClientExceptionServerExceptionNetworkException
-