public class DataObjectDefinitionDeleteAndUpdate
extends java.lang.Object
Constructor and Description |
---|
DataObjectDefinitionDeleteAndUpdate() |
Modifier and Type | Method and Description |
---|---|
static void |
generateDeleteActionToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module)
generates the delete action for the data object
|
static void |
generateDeleteAndShowParentActionToFile(DataObjectDefinition dataobject,
LinkedToParent<?> relevantlinkedtoparent,
SourceGenerator sg,
Module module)
generates the delete and show parent action for the data object
|
static void |
generateDeleteAttachment(java.lang.String name,
SourceGenerator sg,
Module module)
generates the delete attachment action for the data object
|
static void |
generateDeleteAutolinkAndShowObjectActionToFile(java.lang.String name,
AutolinkObject<?> autolink,
SourceGenerator sg,
Module module)
generate the deletion action for an auto-link object showing the object being
linked
|
static void |
generateDeleteLinkAndShowLeftToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module)
generates the delete link and show left action for the data object
|
static void |
generateDeleteLinkAndShowRightToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module)
generates the delete link and show right action for the data object
|
static void |
generateMassiveDeleteAndShowParentActionToFile(SourceGenerator sg,
Module module,
java.lang.String name,
LinkedToParent<?> relevantlinkedtoparent)
generates the massive delete and show parent action
|
static void |
generateMassUpdateActionToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module)
generate a mass update action
|
static void |
generateMassUpdateAndShowLeftToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module,
LinkObject<?,?> linkobject)
generate a mass update of link objects and show the left object after the
action
|
static void |
generateMassUpdateAndShowParentToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module,
LinkedToParent<?> linkedtoparent)
generate a mass update of children objects and show the parent object after
the action
|
static void |
generatePrepareupdateActionToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module)
generate the code for the prepare update action
|
static void |
generateUpdateActionToFile(DataObjectDefinition dataobject,
SourceGenerator sg,
Module module)
generate the unitary update action to file
|
public static void generateDeleteActionToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module) throws java.io.IOException
name
- java name of the data objectsg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source codepublic static void generateDeleteAutolinkAndShowObjectActionToFile(java.lang.String name, AutolinkObject<?> autolink, SourceGenerator sg, Module module) throws java.io.IOException
name
- name of the data objectautolink
- autolink propertysg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source codepublic static void generateDeleteAttachment(java.lang.String name, SourceGenerator sg, Module module) throws java.io.IOException
name
- java name of the data objectsg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source codepublic static void generateDeleteAndShowParentActionToFile(DataObjectDefinition dataobject, LinkedToParent<?> relevantlinkedtoparent, SourceGenerator sg, Module module) throws java.io.IOException
dataobject
- parent data objectrelevantlinkedtoparent
- linked to parentsg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source codepublic static void generateDeleteLinkAndShowLeftToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module) throws java.io.IOException
dataobject
- data objectsg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source codepublic static void generateDeleteLinkAndShowRightToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module) throws java.io.IOException
dataobject
- data objectsg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source codepublic static void generatePrepareupdateActionToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module) throws java.io.IOException
dataobject
- Data Object to generate the file forsg
- source generatormodule
- parent modulejava.io.IOException
- if anyting bad happens while writing the source codepublic static void generateMassiveDeleteAndShowParentActionToFile(SourceGenerator sg, Module module, java.lang.String name, LinkedToParent<?> relevantlinkedtoparent) throws java.io.IOException
sg
- source generatormodule
- parent modulename
- name of the data objectrelevantlinkedtoparent
- relevant linked to parent for the generationjava.io.IOException
- if anything bad happens while writing the source codepublic static void generateMassUpdateAndShowLeftToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module, LinkObject<?,?> linkobject) throws java.io.IOException
dataobject
- data objectsg
- source generatormodule
- parent modulelinkobject
- link objectjava.io.IOException
- if anything bad happens while writing the source codepublic static void generateMassUpdateAndShowParentToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module, LinkedToParent<?> linkedtoparent) throws java.io.IOException
dataobject
- data objectsg
- source generatormodule
- parent modulelinkobject
- link objectjava.io.IOException
- if anything bad happens while writing the source codepublic static void generateMassUpdateActionToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module) throws java.io.IOException
dataobject
- data objectsg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source codepublic static void generateUpdateActionToFile(DataObjectDefinition dataobject, SourceGenerator sg, Module module) throws java.io.IOException
dataobject
- data objectsg
- source generatormodule
- parent modulejava.io.IOException
- if anything bad happens while writing the source code