/** Helper function for constructors. */
 protected static FormServiceCursor createFormServiceCursor(
     IForm form,
     CommonFieldsBase entity,
     ExternalServicePublicationOption externalServiceOption,
     ExternalServiceType type,
     CallingContext cc)
     throws ODKDatastoreException {
   FormServiceCursor formServiceCursor =
       FormServiceCursor.createFormServiceCursor(form, type, entity, cc);
   formServiceCursor.setExternalServiceOption(externalServiceOption);
   formServiceCursor.setIsExternalServicePrepared(false);
   formServiceCursor.setOperationalStatus(OperationalStatus.ESTABLISHED);
   formServiceCursor.setEstablishmentDateTime(new Date());
   formServiceCursor.setUploadCompleted(false);
   return formServiceCursor;
 }