@utilities.arguments_not_none<EOL><INDENT>def get_activity_form_for_create(self, objective_id, activity_record_types):<DEDENT>
<EOL>if not isinstance(objective_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>for arg in activity_record_types:<EOL><INDENT>if not isinstance(arg, ABCType):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT><DEDENT>if activity_record_types == []:<EOL><INDENT>obj_form = objects.ActivityForm(<EOL>objective_bank_id=self._catalog_id,<EOL>objective_id=objective_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>else:<EOL><INDENT>obj_form = objects.ActivityForm(<EOL>objective_bank_id=self._catalog_id,<EOL>record_types=activity_record_types,<EOL>objective_id=objective_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>obj_form._for_update = False<EOL>self._forms[obj_form.get_id().get_identifier()] = not CREATED<EOL>return obj_form<EOL>
Gets the activity form for creating new activities.

        A new form should be requested for each create transaction.

        arg:    objective_id (osid.id.Id): the ``Id`` of the
                ``Objective``
        arg:    activity_record_types (osid.type.Type[]): array of
                activity record types
        return: (osid.learning.ActivityForm) - the activity form
        raise:  NotFound - ``objective_id`` is not found
        raise:  NullArgument - ``objective_id`` or
                ``activity_record_types`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        raise:  Unsupported - unable to get form for requested record
                types
        *compliance: mandatory -- This method must be implemented.*