code: public void executeWithoutTrigger(final String _fileName,
                                        final InputStream _in,
                                        final int _size)
          throws EFapsException
      {
          final Context context = Context.getThreadContext();
          Resource storeRsrc = null;
          boolean ok = false;
          try {
              getInstance().getType();
              storeRsrc = context.getStoreResource(getInstance(), Resource.StoreEvent.WRITE);
              storeRsrc.write(_in, _size, _fileName);
              storeRsrc = null;
              ok = true;
          } catch (final EFapsException e) {
              Checkin.LOG.error("could not checkin " + super.getInstance(), e);
              throw e;
          } finally {
              if (!ok) {
                  context.abort();
              }
          }
      }
docs: The check in is done without calling triggers and check of access
  rights. Executes the check in:
  <ul>
  <li>the file is checked in</li>
  <li>the file name and file length is stored in with
  {@link org.efaps.db.Update} (complete filename without path)</li>
  </ul>
  
  @param _fileName file name to check in (could include also the path)
  @param _in       input stream with the binary data
  @param _size     size of file in stream to check in (negative size means
  that all from the stream must be written)
  @throws EFapsException if checkout action fails