mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-17 20:50:44 +00:00
47 lines
3.1 KiB
XML
47 lines
3.1 KiB
XML
<template name="declog" value="private static final Logger LOG = LogManager.getLogger($THIS_CLASS$.class);" description="Declare a logger object (LOG) for a class without one" toReformat="false" toShortenFQNames="true">
|
|
<variable name="THIS_CLASS" expression="fileNameWithoutExtension()" defaultValue="" alwaysStopAt="false" />
|
|
<context>
|
|
<option name="JAVA_DECLARATION" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qcount" value="CountInput countInput = new CountInput(qInstance); countInput.setSession(new QSession()); countInput.setTableName(tableName); CountOutput countOutput = new CountAction().execute(countInput); " description="Write code to execute a QQQ CountAction" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_STATEMENT" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qdf" value=".withDisplayFormat(DisplayFormat.$END$)" description="QQQ field - .withDisplayFormat()" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_EXPRESSION" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qdfcom" value=".withDisplayFormat(DisplayFormat.COMMAS)" description="QQQ field - .withDisplayFormat(COMMAS)" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_EXPRESSION" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qdfcur" value=".withDisplayFormat(DisplayFormat.CURRENCY)" description="QQQ field - .withDisplayFormat(CURRENCY)" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_EXPRESSION" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qinsert" value="InsertInput insertInput = new InsertInput(qInstance); insertInput.setSession(new QSession()); insertInput.setTableName(tableName); insertInput.setRecords($END$); InsertOutput insertOutput = new InsertAction().execute(insertInput); " description="Write code to execute a QQQ InsertAction" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_STATEMENT" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qlab" value=".withLabel("$END$")" description="QQQ meta data objects - .withLabel()" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_EXPRESSION" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qquery" value="QueryInput queryInput = new QueryInput(qInstance); queryInput.setSession(new QSession()); queryInput.setTableName(tableName); QueryOutput queryOutput = new QueryAction().execute(queryInput); " description="Write code to execute a QQQ QueryAction" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_STATEMENT" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="qupdate" value="UpdateInput updateInput = new UpdateInput($END$); updateInput.setSession(); updateInput.setTableName(); updateInput.setRecords(); UpdateOutput updateOutput = new UpdateAction().execute(updateInput); " description="Write code to execute a QQQ UpdateAction" toReformat="false" toShortenFQNames="true">
|
|
<context>
|
|
<option name="JAVA_STATEMENT" value="true" />
|
|
</context>
|
|
</template>
|