Class PdoDeleteBy

java.lang.Object
org.wurbelizer.wurblet.AbstractWurblet
org.wurbelizer.wurblet.AbstractJavaWurblet
All Implemented Interfaces:
org.wurbelizer.wurblet.Wurblet

public class PdoDeleteBy extends DbModelWurblet
(@wurblet) Generate code to delete entities.

usage:
@wurblet <tag> PdoDeleteBy [--private] [--noif] [--append=<sqltext>] [--classvar=<classvariables>] <expression>

arguments:

  • --private: makes the method private (default is public).
  • --noif: not defined in an interface, i.e. no @Override will be generated.
  • --append=<sqltext>: appends an sql-string.
  • --classvar=<classvariables>: reference to classvariables, if pick the statement-IDs from there.
  • <expression>: see WurbletArgumentParser.
For more options, see DbModelWurblet.
  • Constructor Details

    • PdoDeleteBy

      public PdoDeleteBy()
  • Method Details

    • run

      public void run() throws org.wurbelizer.wurbel.WurbelException
      Specified by:
      run in interface org.wurbelizer.wurblet.Wurblet
      Overrides:
      run in class DbModelWurblet
      Throws:
      org.wurbelizer.wurbel.WurbelException
    • process

      public String process(String code)
      Specified by:
      process in interface org.wurbelizer.wurblet.Wurblet
      Overrides:
      process in class org.wurbelizer.wurblet.AbstractWurblet