public class ClientStructureExecutionHelper extends AbstractClientHelper
| Constructor and Description |
|---|
ClientStructureExecutionHelper(Client _client) |
| Modifier and Type | Method and Description |
|---|---|
Lesezeichen |
getBookmarkByTid(java.lang.String tid,
java.lang.String entityName)
Retrieves a single
Lesezeichen uniquely identified by its tid and entity name. |
Lesezeichen[] |
getBookmarks(EntityI entity,
boolean reload)
Returns all
Lesezeichen instances associated with the specified entity, sorted by priority
in descending order (highest priority first). |
Formular |
getFormByTid(java.lang.String tid,
java.lang.String entityName)
Retrieves a single
Formular uniquely identified by its tid and entity name. |
Formular[] |
getForms(EntityI entity,
boolean reload)
Returns all
Formular instances associated with the specified entity, sorted by priority
in descending order (highest priority first). |
Report |
getReportByTid(java.lang.String tid,
java.lang.String entityName)
Retrieves a single
Report uniquely identified by its tid and entity name. |
Report[] |
getReports(EntityI entity,
boolean reload)
Returns all
Report instances associated with the specified entity, sorted by priority
in descending order (highest priority first). |
Struktur[] |
getStrukturenForEntity(java.lang.String entityName,
boolean reload,
boolean directOnly,
EntityI[] entitiesOnly)
Returns all structures for a given entity-name
|
Struktur[] |
getStrukturenForSearchString(java.lang.String searchString,
int searchType,
boolean reload,
boolean directOnly,
EntityI[] entitiesOnly)
Searches entities for a given string and generates/retrieves the structures for them
|
Schablone |
getTemplateByTid(java.lang.String tid,
java.lang.String entityName)
Retrieves a single
Schablone uniquely identified by its tid and entity name. |
Schablone[] |
getTemplates(EntityI entity,
boolean reload)
Returns all
Schablone instances associated with the specified entity, sorted by priority
in descending order (highest priority first). |
Schablone[] |
getTemplatesForSubEntitiesInAdminsOrdner(EntityI entity,
boolean reload,
boolean uniqueEntities,
java.util.Set entitiesToExclude)
Internal specialized lookup for templates across polymorphic sub-entities located in administrator folders.
|
FormElementI |
openForm(Formular form,
BO bo) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
FormElementI origin) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean ignoreOpenInstance) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean ignoreOpenInstance,
boolean reuseOpenIfNew) |
FormElementI |
openForm(Formular form,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean ignoreOpenInstance,
boolean reuseOpenIfNew,
boolean skipTxLoadedNewBOs)
Opens a form without an explicit Transaction context.
|
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean ignoreOpenInstance) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean ignoreOpenInstance,
boolean reuseOpenIfNew) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean ignoreOpenInstance,
boolean reuseOpenIfNew,
boolean skipTxLoadedNewBOs) |
FormElementI |
openForm(Formular form,
Transaction tx,
BO bo,
java.util.Map parameters,
java.lang.String title,
FormContextI ftx,
boolean massChange,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean ignoreOpenInstance,
boolean reuseOpenIfNew,
boolean skipTxLoadedNewBOs,
FormElementI origin)
Opens a form bound to the specified Transaction, dispatching synchronously to the EDT.
|
FormElementI |
openNew(Schablone s) |
FormElementI |
openNew(Schablone s,
java.util.Map parameters) |
FormElementI |
openNew(Schablone s,
java.util.Map parameters,
FormElementI origin) |
FormElementI |
openView(BO bo) |
FormElementI |
openView(BO bo,
java.util.Map parameters) |
FormElementI |
openView(BO bo,
java.util.Map parameters,
java.lang.String title) |
FormElementI |
openView(BO bo,
java.util.Map parameters,
java.lang.String title,
boolean reloadFormList) |
FormElementI |
openView(BO bo,
java.util.Map parameters,
java.lang.String title,
boolean reloadFormList,
boolean useAutomatic) |
FormElementI |
openView(Lesezeichen l) |
FormElementI |
openView(Lesezeichen l,
java.util.Map parameters) |
FormElementI |
reopenView(FormElementI fe,
Struktur useStruktur,
boolean _reloadBO) |
clientpublic ClientStructureExecutionHelper(Client _client)
public FormElementI openNew(Schablone s)
public FormElementI openNew(Schablone s, java.util.Map parameters)
public FormElementI openNew(Schablone s, java.util.Map parameters, FormElementI origin)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, FormElementI origin)
public FormElementI openForm(Formular form, BO bo)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean ignoreOpenInstance)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean ignoreOpenInstance, boolean reuseOpenIfNew)
public FormElementI openForm(Formular form, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean ignoreOpenInstance, boolean reuseOpenIfNew, boolean skipTxLoadedNewBOs)
form - the form definition to displaybo - the business object to bind to the formparameters - optional parameter map passed to the form instancetitle - custom window title, or null to use the form's defaultftx - custom form context, or null for default resolutionmassChange - true if opened in batch/mass-edit mode; false otherwiseviewType - explicit desktop view mode (defaults to MDIManagerI.VIEWTYPE_FORMULAR)forcedBounds - explicit initial screen bounds, or null for default positioningmaximize - true to open the window maximized; false for standard boundsignoreOpenInstance - true to force a new window even if an instance for this BO is already openreuseOpenIfNew - true to allow reusing an open window even when the BO is newly createdskipTxLoadedNewBOs - true to prevent auto-including/frapping newly created BOs loaded by the form's transactionpublic FormElementI openForm(Formular form, Transaction tx, BO bo)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean ignoreOpenInstance)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean ignoreOpenInstance, boolean reuseOpenIfNew)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean ignoreOpenInstance, boolean reuseOpenIfNew, boolean skipTxLoadedNewBOs)
public FormElementI openForm(Formular form, Transaction tx, BO bo, java.util.Map parameters, java.lang.String title, FormContextI ftx, boolean massChange, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean ignoreOpenInstance, boolean reuseOpenIfNew, boolean skipTxLoadedNewBOs, FormElementI origin)
form - the form definition to displaytx - the transaction managing the lifecycle and persistence of the BObo - the business object to bind to the formparameters - optional parameter map passed to the form instancetitle - custom window title, or null to use the form's defaultftx - custom form context, or null for default resolutionmassChange - true if opened in batch/mass-edit mode; false otherwiseviewType - explicit desktop view mode (defaults to MDIManagerI.VIEWTYPE_FORMULAR)forcedBounds - explicit initial screen bounds, or null for default positioningmaximize - true to open the window maximized; false for standard boundsignoreOpenInstance - true to force a new window even if an instance for this BO is already openreuseOpenIfNew - true to allow reusing an open window even when the BO is newly createdskipTxLoadedNewBOs - true to prevent auto-including/frapping newly created BOs loaded by the form's transactionorigin - the initiating UI component, or nullpublic FormElementI openView(Lesezeichen l)
public FormElementI openView(Lesezeichen l, java.util.Map parameters)
public FormElementI openView(BO bo)
public FormElementI openView(BO bo, java.util.Map parameters)
public FormElementI openView(BO bo, java.util.Map parameters, java.lang.String title)
public FormElementI openView(BO bo, java.util.Map parameters, java.lang.String title, boolean reloadFormList)
public FormElementI openView(BO bo, java.util.Map parameters, java.lang.String title, boolean reloadFormList, boolean useAutomatic)
public FormElementI reopenView(FormElementI fe, Struktur useStruktur, boolean _reloadBO)
public Struktur[] getStrukturenForSearchString(java.lang.String searchString, int searchType, boolean reload, boolean directOnly, EntityI[] entitiesOnly)
searchString - the String to which the entities are comparedsearchType - defines the type of matching done. see DynamischerOrdnerreload - force a reloaddirectOnly - only return structure that is for the entity directly, that is resolved from the path, no parent class structureentitiesOnly - only returns structure of the passed EntityI; no restriction if nullpublic Struktur[] getStrukturenForEntity(java.lang.String entityName, boolean reload, boolean directOnly, EntityI[] entitiesOnly)
entity - The entity name for which to collect the structuresreload - force a reloaddirectOnly - only return structures that are for the entity directly, no parent class structuresentitiesOnly - only adds structures of the passed EntityI; no restriction if nullpublic Schablone[] getTemplates(EntityI entity, boolean reload)
Schablone instances associated with the specified entity, sorted by priority
in descending order (highest priority first). Only templates assigned to at least one group of the
current user are returned.entity - the target entity for which to retrieve templatesreload - if true, forces a fresh database query; if false, cached instances from
the StrukturCache may be usedSchablone instances, or an empty array if none are foundMissingArgumentException - if entity is nullpublic Schablone[] getTemplatesForSubEntitiesInAdminsOrdner(EntityI entity, boolean reload, boolean uniqueEntities, java.util.Set entitiesToExclude)
PolymorphicTemplateSelectionTree).entity - the parent entity defining the polymorphic subtree scopereload - if true, forces a fresh database query bypass of the cacheuniqueEntities - if true, restricts the output to at most one template per sub-entity typeentitiesToExclude - optional set of EntityI instances to skip during traversal; may be nullSchablone instances assigned to the current user's groupsMissingArgumentException - if entity is nullpublic Formular[] getForms(EntityI entity, boolean reload)
Formular instances associated with the specified entity, sorted by priority
in descending order (highest priority first). Only forms assigned to at least one group of the
current user are returned.entity - the target entity for which to retrieve formsreload - if true, forces a fresh database query; if false, cached instances from
the StrukturCache may be usedFormular instances, or an empty array if none are foundMissingArgumentException - if entity is nullpublic Lesezeichen[] getBookmarks(EntityI entity, boolean reload)
Lesezeichen instances associated with the specified entity, sorted by priority
in descending order (highest priority first). Only bookmarks assigned to at least one group of the
current user are returned.entity - the target entity for which to retrieve bookmarksreload - if true, forces a fresh database query; if false, cached instances from
the StrukturCache may be usedLesezeichen instances, or an empty array if none are foundMissingArgumentException - if entity is nullpublic Report[] getReports(EntityI entity, boolean reload)
Report instances associated with the specified entity, sorted by priority
in descending order (highest priority first). Only reports assigned to at least one group of the
current user are returned.entity - the target entity for which to retrieve reportsreload - if true, forces a fresh database query; if false, cached instances from
the StrukturCache may be usedReport instances, or an empty array if none are foundMissingArgumentException - if entity is nullpublic Schablone getTemplateByTid(java.lang.String tid, java.lang.String entityName)
Schablone uniquely identified by its tid and entity name. Only templates assigned to at least one
group of the current user are returned.tid - the tid of the templateentityName - the simple name of the target entitySchablone, or null if no template matches or if no matching template is assigned to at
least one group of the current user; if multiple templates match, the one with the highest priority is returnedEntityResolveException - if entityName is null or cannot be resolved to a valid entitypublic Formular getFormByTid(java.lang.String tid, java.lang.String entityName)
Formular uniquely identified by its tid and entity name. Only forms assigned to at least one
group of the current user are returned.tid - the tid of the formentityName - the simple name of the target entityFormular, or null if no form matches or if no matching form is assigned to at
least one group of the current user; if multiple forms match, the one with the highest priority is returnedEntityResolveException - if entityName is null or cannot be resolved to a valid entitypublic Lesezeichen getBookmarkByTid(java.lang.String tid, java.lang.String entityName)
Lesezeichen uniquely identified by its tid and entity name. Only bookmarks assigned to at least one
group of the current user are returned.tid - the tid of the bookmarkentityName - the simple name of the target entityLesezeichen, or null if no bookmark matches or if no matching bookmark is assigned to at
least one group of the current user; if multiple bookmarks match, the one with the highest priority is returnedEntityResolveException - if entityName is null or cannot be resolved to a valid entitypublic Report getReportByTid(java.lang.String tid, java.lang.String entityName)
Report uniquely identified by its tid and entity name. Only reports assigned to at least one
group of the current user are returned.tid - the tid of the reportentityName - the simple name of the target entityReport, or null if no report matches or if no matching report is assigned to at
least one group of the current user; if multiple reports match, the one with the highest priority is returnedEntityResolveException - if entityName is null or cannot be resolved to a valid entityCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.