Uses of Class
com.simplicite.util.ObjectDB
-
Packages that use ObjectDB Package Description com.simplicite.bpm com.simplicite.util com.simplicite.util.integration com.simplicite.util.tools com.simplicite.webapp com.simplicite.webapp.services com.simplicite.webapp.tools -
-
Uses of ObjectDB in com.simplicite.bpm
Methods in com.simplicite.bpm with parameters of type ObjectDB Modifier and Type Method Description Alert
Processus. loadAlert(int type, java.lang.String name, ObjectDB obj)
Load the alert definitionAlert
Processus. loadAlert(java.lang.String id, int type, ObjectDB obj)
Load the alert definitionAlert
ProcessusDirect. loadAlert(int type, java.lang.String name, ObjectDB obj)
Load the alert definitionAlert
ProcessusDirect. loadAlert(java.lang.String id, int type, ObjectDB obj)
Load the alert definitionAlert
ProcessusEJB. loadAlert(int type, java.lang.String name, ObjectDB obj)
Load the alert definitionAlert
ProcessusEJB. loadAlert(java.lang.String id, int type, ObjectDB obj)
Load the alert definitionAlert
ProcessusInterface. loadAlert(int type, java.lang.String name, ObjectDB obj)
Alert
ProcessusInterface. loadAlert(java.lang.String id, int type, ObjectDB obj)
java.util.List<ObjectFieldSearch>
ActivityFile. loadFilters(ObjectDB obj, Processus p)
Load filters.java.lang.String
Alert. prepareText(java.lang.String text, ObjectDB obj)
Prepare text.void
Alert. send(ObjectDB obj)
Send the alert from an object.void
Alert. send(ObjectDB obj, java.util.List<DocumentDB> docs)
Send the alert with additional attachmentsvoid
Alert. send(java.lang.String subject, java.lang.String body, Grant grant, java.util.List<DocumentDB> docs, ObjectDB target)
Send the alert on each mediasjava.lang.String
ActivityFile. toJSON(ObjectDB obj, boolean metadata)
Generates a JSON string representation of the activity file.Message
Processus. validate(ActivityFile context, ObjectDB obj)
Common activity validationMessage
ProcessusDirect. validate(ActivityFile context, ObjectDB obj)
Common activity validationMessage
ProcessusEJB. validate(ActivityFile context, ObjectDB obj)
Common activity validationMessage
ProcessusInterface. validate(ActivityFile context, ObjectDB obj)
-
Uses of ObjectDB in com.simplicite.util
Subclasses of ObjectDB in com.simplicite.util Modifier and Type Class Description class
ObjectService
Service business objectclass
ObjectServiceLDAP
This class is for mapping a remote LDAP® entities as a business object.class
ObjectServiceMongoDB
This class is for mapping a remote MongoDB® entities as a business object.class
ObjectServiceOpenDataSoft
This class is for remote OpenDataSoft® dataset
This is used when the table name is set to "service-opendatasoft" (and the dataset name is stored in the search spec)class
ObjectServiceREST
This class is for mapping a remote REST service entities as a business object.class
ObjectServiceSalesForce
This class is for remote SalesForce® objects
This is used when the table name is set to "service-salesforce" (the connection details are stored as JSON in the search spec)class
ObjectServiceServiceNow
This class is for remote ServiceNow® tables
This is used when the table name is set to "service-servicenow" (the connection details are stored as JSON in the search spec)class
ObjectServiceSimplicite
This class is for remote Simplicité® objects.class
ScriptedObjectDB
Business object stored in database with scripted implementationFields in com.simplicite.util declared as ObjectDB Modifier and Type Field Description ObjectDB
Timesheet.GanttNode. m_object
Methods in com.simplicite.util that return ObjectDB Modifier and Type Method Description ObjectDB
ObjectPoolFactory. create(java.lang.String name)
ObjectDB
Grant. getAgendaObject(java.lang.String name)
Gets the agenda object definition instance (instance name is agenda_[ajax_]<object name>)ObjectDB
Grant. getAjaxObject(java.lang.String name)
Gets the main Ajax business object definition instance (instance name is the_ajax_<object name>)ObjectDB
Grant. getBatchObject(java.lang.String name)
Gets the batch business object definition instance (instance name is eai_<object name>)ObjectDB
Grant. getCronObject(java.lang.String name)
Gets the cron business object definition instance (instance name is cron_<object name>)ObjectDB
Grant. getDataMapObject(java.lang.String name)
Gets the datamap business object definition instance (instance name is datamap_[ajax_]<object name>)ObjectDB
Grant. getExportObject(java.lang.String name)
Gets the export object definition instance (instance name is export_<object name>)ObjectDB
ModelTemplate.LinkTemplate. getFromObject()
ObjectDB
Grant. getHomeObject(java.lang.String name)
Gets the home business object definition instance (instance name is home_[ajax_]<object name>)ObjectDB
Grant. getIsolatedObject(java.lang.String name)
Gets a memory isolated business object definition instance (instance name is tmp_<object name>_<timestamp>)
Beware, the Object GC cron must run to clean periodically the instancesstatic ObjectDB
View. getItemObject(Grant g, View.Item item, boolean bHome, ObjectDB parent, boolean ajax)
Parse the item to find the object (if any)ObjectDB
Grant. getJobObject(java.lang.String name)
Gets the job business object definition instance (instance name is job_<object name>)ObjectDB
ModelTemplate.LinkTemplate. getLinkObject()
ObjectDB
Grant. getMainObject(java.lang.String name)
Gets the main business object definition instance (instance name is the_[ajax_]<object name>)ObjectDB
Grant. getMergeObject(java.lang.String name)
Gets the merge object definition instance (instance name is merge_[ajax_]<object name>)ObjectDB
Grant. getMergePanelObject(java.lang.String name, java.lang.String refField)
Gets the merge panel business object definition instance (instance name is mergepanel_[ajax_]<object name>_<ref name>)ObjectDB
Grant. getModelObject(java.lang.String name)
ObjectDB
Grant. getModelObject(java.lang.String name, java.lang.String template)
Gets the modeler object definition instance (instance name is model_[ajax_]<object name>_<template name>)ObjectDB
Crosstab. getObject()
Get pivot table objectObjectDB
Grant. getObject(java.lang.String instance, java.lang.String name)
Gets the specified business object definition instanceObjectDB
ModelTemplate.NodeTemplate.ContentTemplate. getObject()
ObjectDB
ModelTemplate.NodeTemplate. getObject()
ObjectDB
Notification. getObject()
Get object linked to notificationObjectDB
PrintTemplate. getObject()
Get objectObjectDB
TreeView.TreeViewNode. getObject()
Get objectObjectDB
Timesheet. getObjectAssign()
Get the assignment objectstatic ObjectDB
View. getObjectInstance(Grant g, boolean home, java.lang.String objName, java.lang.String ext, java.lang.String subSearch, boolean ajax)
The only way to instantiate one object in the viewObjectDB
Timesheet. getObjectResource1()
Get instance of resource 1ObjectDB
Timesheet. getObjectResource2()
Get instance of resource 2ObjectDB
Timesheet. getObjectTimesheet()
Get the timesheet object to store all inputsObjectDB
Grant. getPanelObject(java.lang.String name)
Deprecated.Use getPanelObject(name, refField)ObjectDB
Grant. getPanelObject(java.lang.String name, java.lang.String refField)
Gets the panel business object definition instance (instance name is panel_[ajax_]<object name>_<ref name>)ObjectDB
Link. getParent()
Get parent objectObjectDB
ObjectDB. getParentObject()
Get the parent object for child listsObjectDB
Grant. getProcessObject(java.lang.String name)
Gets the process business object definition instance (instance name is bpm_[ajax_]<object name>)ObjectDB
Grant. getRefObject(java.lang.String name)
Gets the reference business object definition instance (instance name is ref_[ajax_]<object name>)ObjectDB
ModelTemplate.NodeTemplate.ContentTemplate. getRelation()
ObjectDB
Grant. getTmpObject(java.lang.String name)
Gets the temporary business object definition instance (instance name is tmp_[ajax_]<object name>)ObjectDB
ModelTemplate.LinkTemplate. getToObject()
ObjectDB
Grant. getTreeviewObject(java.lang.String tree, java.lang.String name)
Gets the treeview object definition instance (instance name is tree_[ajax_]<tree name>_<object name>)ObjectDB
Grant. getWebServiceObject(java.lang.String name)
Gets the web service business object definition instance (instance name is ws_[ajax_]<object name>)ObjectDB
ObjectDB. init(java.lang.String name, Grant grant)
Load the object definition from the repositoryObjectDB
ObjectDB. load(Grant grant)
Object definition loadingObjectDB
ObjectDB. load(Grant grant, java.lang.String obj)
Default object definition loading, called by load(Grant)ObjectDB
ObjectService. load(Grant grant)
ObjectDB
ObjectDB. storeParentContext(ObjectDB parent, java.lang.String refField, java.lang.String[] values)
Store parent object context / must be called before any count/search of child liststatic ObjectDB
ObjectDB. storeParentContext(java.lang.String prefix, ObjectDB parent, java.lang.String childObject, java.lang.String childField, java.lang.String[] values)
Store parent object context / must be called before any count/search of child listMethods in com.simplicite.util that return types with arguments of type ObjectDB Modifier and Type Method Description java.util.List<ObjectDB>
Grant. getObjectInstances()
List all objects instantiated for the userjava.util.List<ObjectDB>
Grant. getObjectInstances(java.lang.String name)
List all objects instantiated for the userjava.util.List<ObjectDB>
Grant. getObjectInstances(java.lang.String name, java.lang.String param, java.lang.String value)
List objects instantiated for the user and/or containing a parameterorg.apache.commons.pool2.PooledObject<ObjectDB>
ObjectPoolFactory. wrap(ObjectDB obj)
Methods in com.simplicite.util with parameters of type ObjectDB Modifier and Type Method Description Crosstab.Axis
Crosstab. addAxis(java.lang.String fullInput, char type, int order, ObjectField field, ObjectDB obj, char method, java.lang.String chart, int precision, boolean subtotal, java.lang.String formula, java.lang.String display, boolean hidden)
Deprecated.Crosstab.Axis
Crosstab. addAxis(java.lang.String fullInput, char type, int order, ObjectField field, ObjectDB obj, char method, java.lang.String chart, int yaxis, java.lang.String palette, int precision, boolean subtotal, java.lang.String formula, java.lang.String display, boolean hidden)
Add a field in the crosstabLink
ObjectDB. addLink(ObjectDB object, ObjectField fk, java.lang.String display, java.lang.String help, java.lang.String card, int order, boolean copy, char associate, boolean visible, boolean inline, char cascad, java.lang.String icon)
Add dynamically a link (and its single view) to the objectLink
ObjectDB. addLinkMetaObject(ObjectDB object, int order)
Add dynamically a meta-object link (ant its single view) to the objectvoid
ObjectContext. addMessage(ObjectDB obj, java.lang.String msg, Grant g)
Convert not empty message into a FormMessagevoid
ObjectContext. addMessage(ObjectDB obj, java.lang.String msg, Grant g, java.lang.String lineId)
Convert not empty message into a FormMessagevoid
ObjectContext. addMessages(ObjectDB obj, java.util.List<java.lang.String> msgs, Grant g, java.lang.String lineId)
Convert messages into a FormMessagevoid
ObjectContext. apply(ObjectDB obj, java.lang.String edit)
Apply the context related to object: apply constraints, init hooksvoid
PredefinedSearch. apply(ObjectDB o)
Apply search filter to objectstatic void
PredefinedSearch. apply(ObjectDB o, org.json.JSONObject filters)
Deprecated.void
UserSessionFilters. apply(ObjectDB obj)
Prepare fixed fieldsstatic java.lang.String
ModuleDB. applyConfiguration(ObjectDB mdl)
Deprecated.Use applyConfiguration with force argumentstatic java.lang.String
ModuleDB. applyConfiguration(ObjectDB mdl, boolean force)
Apply Git configurationvoid
Crosstab. build(ObjectDB obj)
Build pivot tableTimesheet.GanttNode
Timesheet. buildGanttData(ObjectDB assign, org.json.JSONObject params)
Build tree with assignment blocksstatic boolean
ObjectHooks. canClose(ObjectDB obj)
Display the close button?static boolean
ObjectHooks. canCreateOnLink(ObjectDB obj, ObjectField field)
Can create on link?boolean
ObjectCore. canFollowLink(ObjectDB inlineObject)
Allow follow a specific link ?static boolean
ObjectHooks. canFollowLink(ObjectDB obj, ObjectField field)
Can follow a link?static boolean
ObjectHooks. canGroupByFields(ObjectDB obj)
Can group by fieldsstatic boolean
ObjectHooks. canListAccessNewForm(ObjectDB obj)
Can list access new form?static boolean
ObjectHooks. canPrint(ObjectDB obj)
Can print data?static boolean
ObjectHooks. canReference(ObjectDB obj, java.lang.String target, java.lang.String fk)
Can display the referenced child list?static boolean
ObjectHooks. canSave(ObjectDB obj)
Display the save button?static boolean
ObjectHooks. canSaveAndClose(ObjectDB obj)
Display the save and close button?static boolean
ObjectHooks. canSaveAndCopy(ObjectDB obj)
Display the save and copy button?static boolean
ObjectHooks. canSaveAndNew(ObjectDB obj)
Display the save and new button?static void
CronJob. checkForInterruptAndStop(ObjectDB obj)
To call periodically in the asynchronous method to throw one InterruptedException
when one user has requested it to stop.void
View. collapse(ObjectDB obj)
static void
UndoRedoPool. confirmUndoRedo(ObjectDB obj)
Confirm last collected Undo/Redo in case of success to be stored in poolstatic void
SessionInfo. createResponsibility(ObjectDB resp, java.lang.String groupId, java.lang.String userId, java.lang.String moduleId)
Create responsibilitystatic java.lang.String
ObjectHooks. customAlert(ObjectDB obj, Alert a, java.lang.String subject, java.lang.String body, java.util.List<DocumentDB> docs)
Custom alertMail.MailAttach
Mail. documentAttach(ObjectDB obj, ObjectField f)
Build an attachment from the content of a document or image object fieldMail.MailImage
Mail. documentImage(ObjectDB obj, ObjectField f)
Build an inlined image from the content of a document or image fieldMail.MailImage
Mail. documentImage(ObjectDB obj, ObjectField f, boolean thumbnail)
Build an inlined image from the content of a document or image fieldstatic java.lang.String
FieldValidation. eval(ObjectField f, ObjectDB obj, int context, java.lang.String[] row)
Calculated field evaluationjava.lang.String
ObjectField. eval(ObjectDB obj, int context)
Calculated field evaluation on current selected itemjava.lang.String
ObjectField. eval(ObjectDB obj, int context, java.lang.String[] row)
Calculated field evaluationvoid
Integration. exportModuleTreeDir(Grant g, ObjectDB mdl, java.io.File dir, boolean exploded, boolean artifacts)
Module export as a JSON tree dirMessage
Integration. exportObject(Grant g, ObjectDB obj, java.lang.String id, boolean father, boolean child, java.util.Map<java.lang.String,java.lang.String> h, FlowXML flow, boolean timestamps, boolean zip, boolean inline)
Export one object in XMLMessage
Integration. exportObject(Grant g, ObjectDB obj, java.lang.String id, boolean father, boolean child, java.util.Map<java.lang.String,java.lang.String> h, FlowXML flow, int limit, boolean timestamp, boolean zip, boolean inline)
Export one object in XMLvoid
View. extend(ObjectDB obj)
static java.util.List<java.lang.String>
ObjectHooks. fieldCompletion(ObjectDB obj, java.lang.String field, java.lang.String query, java.lang.String context)
Field completionjava.lang.String
PrintTemplate. fillTemplate(ObjectDB obj, java.lang.String template, java.lang.String[] row)
Fill the templatestatic java.lang.String
PrintTemplate. fillTemplate(ObjectDB obj, java.lang.String template, java.lang.String encoding, java.lang.String[] row)
Fill the templatestatic java.lang.String
PrintTemplate. fillTemplate(ObjectDB obj, java.lang.String template, java.lang.String encoding, java.util.List<java.lang.String[]> rows)
Fill the templatejava.lang.String
PrintTemplate. fillTemplate(ObjectDB obj, java.lang.String template, java.util.List<java.lang.String[]> rows)
Fill the templatejava.lang.Object
PrintTemplate. fillWithCurrentList(ObjectDB obj)
Fill the template with the current object list
WARNING Never call this method from a publication methodjava.lang.Object
PrintTemplate. fillWithCurrentObject(ObjectDB obj)
Fill the template with the current object item
WARNING Never call this method from a publication methodvoid
Timesheet. fitPeriodToAssignments(ObjectDB assign, org.json.JSONObject params)
Period including all assignments periodsstatic java.lang.String
PredefinedSearch. fixSearch(java.lang.String json, ObjectDB o, java.lang.String searchId)
Fix old URL syntax to JSON filterstatic java.lang.String
Message. formatCallToAction(java.lang.String code, java.lang.String msg, java.lang.String level, java.lang.String field, ObjectDB obj, Action action)
Formats a message of specified level with UI actionstatic java.lang.String
Message. formatCallToAction(java.lang.String code, java.lang.String msg, java.lang.String level, java.lang.String field, ObjectDB obj, java.util.List<Action> actions)
Formats a message of specified level with several UI actionsstatic void
Link. genAssocActions(ObjectDB child)
Build the associate Actionsstatic java.lang.String
PrintTemplate. generateDefaultSubTemplate(ObjectDB obj)
Generate default sub templatestatic java.lang.String
PrintTemplate. generateDefaultTemplate(ObjectDB obj)
Generate default templatejava.lang.String
Constraint. generateImpactScript(ObjectDB obj, char effect, java.util.List<java.lang.String> impactedFields)
SharedScript
Constraint. generateScript(ObjectDB obj, char effect)
Prepare a script for the object interpreter (back-end usage = rhino syntax)static org.json.JSONArray
Message. getActions(ObjectDB obj, java.lang.String msg)
Get the message associated actions if existsModelTemplate.NodeTemplate.ContentTemplate
ModelTemplate.NodeTemplate. getContent(ObjectDB obj)
static java.lang.String
ObjectCtxHelp. getContext(ObjectDB obj, int context)
Get context code from object contextstatic long
ObjectHooks. getCount(ObjectDB obj, int maxRows)
Count rowsstatic java.lang.String
ObjectHooks. getCtxHelp(ObjectDB obj, java.lang.String helpContext)
Get contextual helpjava.util.List<java.lang.String[]>
PrintTemplate. getCurrentList(ObjectDB obj)
Get current listjava.util.List<java.lang.String[]>
Agenda. getData(ObjectDB object, java.lang.String start, java.lang.String end, java.lang.String login, java.lang.String group, boolean resetFilter)
Search data for a periodstatic java.util.Date
ObjectHooks. getDeadlineDate(ObjectDB obj, java.lang.String row_id, java.lang.String state, java.lang.String update_dt, int timeout)
Get status deadlinestatic java.lang.String
DocumentDB. getDocumentId(ObjectDB obj, java.lang.String field, java.lang.String rowId)
Get document ID that matches specified object field name and row IDstatic char
ObjectHooks. getEmailRecipientType(ObjectDB obj, java.lang.String alert, java.lang.String email, char type)
Email recipient typestatic java.lang.String
ObjectHooks. getExportFileName(ObjectDB obj, java.lang.String media, java.lang.String name, java.lang.String[] row)
Export file namestatic ObjectField
Crosstab. getField(ObjectDB obj, java.util.List<Crosstab.Axis> axis, int index)
Get the field associated with axisstatic ObjectField
Message. getField(ObjectDB obj, java.lang.String msg)
Get the message associated field if existsorg.json.JSONObject
View.Item. getFilters(ObjectDB o)
Filters of type searchstatic char
ObjectHooks. getGroupEmailRecipientType(ObjectDB obj, java.lang.String alert, java.lang.String group, char type)
Email recipient typejava.lang.String[]
Agenda. getGroups(ObjectDB object)
Groups linked to the objectstatic java.lang.String
ObjectHooks. getHelp(ObjectDB obj)
Get user helpjava.lang.String
ObjectField. getImage(ObjectDB obj, java.lang.String val)
Get the image associated to the valuestatic java.lang.String
ObjectHooks. getImage(ObjectDB obj, ObjectField f, java.lang.String val)
Get field imagestatic java.lang.String
ObjectHooks. getImage(ObjectDB obj, ObjectField f, java.lang.String[] row)
Get field imagestatic java.lang.String
ObjectHooks. getImageTree(ObjectDB obj, TreeView tv, java.lang.String[] row)
Get treeview imagestatic ObjectDB
View. getItemObject(Grant g, View.Item item, boolean bHome, ObjectDB parent, boolean ajax)
Parse the item to find the object (if any)org.json.JSONObject
PredefinedSearch. getJSONFilters(ObjectDB obj)
JSON filters (autofix old URL syntax)java.util.Map<java.lang.String,ObjectFieldList.ListLink>
ListOfValues. getLinkedLists(ObjectDB obj, ObjectFieldList flist)
Load linked lists of one object fieldjava.util.Map<java.lang.String,ObjectFieldList.ListLink>
Grant. getLinkedListsOfValues(ObjectDB obj, ObjectFieldList flist)
Returns linked lists for a contextual list field in an objectjava.lang.String[]
Agenda. getLogins(ObjectDB object)
Logins linked to the objectstatic java.lang.String
ObjectHooks. getMappedExportPath(ObjectDB obj, java.lang.String[] row)
Data export pathstatic java.lang.String
ObjectHooks. getMappedFilePath(ObjectDB obj, ObjectField f)
File export pathjava.util.List<ObjectContext.FormMessage>
ObjectContext. getMessages(ObjectDB obj, ObjectField f, java.lang.String lineId)
Return messages related to a field, or null if nonestatic java.util.List<PredefinedSearch>
ObjectHooks. getPredefinedSearches(ObjectDB obj)
List predefined searchesorg.json.JSONObject
ObjectField. getRefFilters(ObjectDB obj)
Get search filters applied to linkjava.lang.String
UserSessionFilters. getSearchSpec(ObjectDB obj, java.util.List<ObjectField> hosts)
Compile global filters to SQL partstatic SocialShareData
ObjectHooks. getSocialShareData(ObjectDB obj)
Social share datastatic java.lang.String
CronJob. getStatus(ObjectDB obj)
Get the status of the current CronJob threadjava.lang.String
ObjectField. getStyle(ObjectDB obj)
Get field style for current valuejava.lang.String
ObjectField. getStyle(ObjectDB obj, java.lang.String val)
Get field style for specified valuestatic java.lang.String
ObjectHooks. getStyle(ObjectDB obj, ObjectField f, double d)
Get float stylestatic java.lang.String
ObjectHooks. getStyle(ObjectDB obj, ObjectField f, java.lang.String[] row)
Get field stylestatic java.lang.String
ObjectHooks. getStyleTree(ObjectDB obj, TreeView tv, java.lang.String[] row)
Get treeview stylestatic java.lang.String[]
ObjectHooks. getTargetObject(ObjectDB obj, java.lang.String rowId, java.lang.String[] row)
Get target objectjava.util.Map<java.lang.String,Timesheet.TimesheetLine>
Timesheet. getTimesheet(ObjectDB assign, ObjectField r1, ObjectField r2, java.lang.String resId1, java.lang.String resId2, ObjectField assignFromDate, ObjectField assignToDate, boolean resetFilter, boolean loadLabel, boolean inPeriod, java.lang.String fromKey, java.lang.String toKey, ObjectField wl)
static java.lang.String
ObjectHooks. getUserKeyLabel(ObjectDB obj, java.lang.String[] row)
User key labelstatic java.lang.String
ObjectHooks. getUserKeySearch(ObjectDB obj, java.lang.String[] row)
User key searchstatic java.lang.String[]
ObjectUsage. getUserLogins(ObjectDB obj, boolean all, boolean writeOnly)
Get users using one objectjava.util.List<java.lang.String>
PredefinedSearch. getVisibleFields(ObjectDB obj)
Read list preferences (from json 'filters.prefs')static int
Tool. hashCode(ObjectDB obj, java.lang.String[] row)
Generate an integer hash from business object functional key labelstatic void
UndoRedoPool. ignoreUndoRedo(ObjectDB obj)
Discard last collected Undo/Redo in case of errorjava.lang.String
TreeView. importJSON(org.json.JSONObject json, ObjectDB obj)
Import the JSON tree as an XML importjava.lang.String
ObjectField. increment(ObjectDB obj, java.lang.String nextId, java.lang.String incrementPattern)
Increment field value by 1 based on pattern at Creationvoid
Crosstab. init(ObjectDB obj)
Initialize the datastatic void
ObjectHooks. initAction(ObjectDB obj, Action action)
Init actionstatic void
ObjectHooks. initAgenda(ObjectDB obj, Agenda agenda)
Init agendavoid
ObjectDB. initAssociate(ObjectDB parent)
Hook to init the associationstatic void
ObjectHooks. initAssociate(ObjectDB obj, ObjectDB parent)
Init bulk associationvoid
ObjectServiceSimplicite. initAssociate(ObjectDB parent)
void
ScriptedObjectDB. initAssociate(ObjectDB parent)
static void
ObjectHooks. initCopy(ObjectDB obj)
Init copystatic void
ObjectHooks. initCreate(ObjectDB obj)
Init createstatic void
ObjectHooks. initCrosstab(ObjectDB obj, java.lang.String crosstabName)
Init crosstabvoid
ObjectDB. initDataMapSelect(java.lang.String datamapName, ObjectDB parent)
Hook to init the data mapping selectionstatic void
ObjectHooks. initDataMapSelect(ObjectDB obj, java.lang.String dataMapName, ObjectDB parent)
Init datamap selectionvoid
ObjectServiceSimplicite. initDataMapSelect(java.lang.String dataMapName, ObjectDB parent)
void
ScriptedObjectDB. initDataMapSelect(java.lang.String dataMapName, ObjectDB parent)
static void
ObjectHooks. initDelete(ObjectDB obj)
Init deletestatic void
ObjectHooks. initExport(ObjectDB obj)
Init exportObjectField
ObjectFieldList. initLinkedField(ObjectDB obj, java.lang.String field, java.lang.String code)
Prepare the linked listObjectField
ObjectFieldList. initLinkedField(ObjectDB obj, java.lang.String field, java.lang.String code, boolean search)
Prepare the linked listvoid
ObjectDB. initList(ObjectDB parent)
Hook to init the listvoid
ObjectFieldList. initList(ObjectDB obj, boolean create)
Prepare the list of values: including the state model specification, or enable current items when field is updatablestatic void
ObjectHooks. initList(ObjectDB obj, ObjectDB parent)
Init listvoid
ObjectServiceSimplicite. initList(ObjectDB parent)
void
ScriptedObjectDB. initList(ObjectDB parent)
static void
ObjectHooks. initPlaceMap(ObjectDB obj, PlaceMap placemap)
Init place mapstatic void
ObjectHooks. initPrintTemplate(ObjectDB obj, java.lang.String printTemplateName)
Init print templatevoid
ObjectDB. initRefSelect(ObjectDB parent)
Hook to init the reference selectionstatic void
ObjectHooks. initRefSelect(ObjectDB obj, ObjectDB parent)
Init reference selectionvoid
ObjectServiceSimplicite. initRefSelect(ObjectDB parent)
void
ScriptedObjectDB. initRefSelect(ObjectDB parent)
static void
ObjectHooks. initSearch(ObjectDB obj)
Init searchstatic void
ObjectHooks. initTimesheet(ObjectDB obj, Timesheet ts)
Init timesheetstatic void
ObjectHooks. initUpdate(ObjectDB obj)
Init updatestatic void
ObjectHooks. initUpdateAll(ObjectDB obj)
Init update allstatic boolean
ObjectHooks. isActionEnable(ObjectDB obj, Action action, java.lang.String[] row)
Is action enabled?static boolean
ObjectHooks. isCopyEnable(ObjectDB obj, java.lang.String[] row)
Is copy permitted?static boolean
ObjectHooks. isCreateEnable(ObjectDB obj)
Is create permitted?static boolean
ObjectHooks. isCrosstabEnable(ObjectDB obj, java.lang.String crosstab)
Is crosstab enabled?static boolean
ObjectHooks. isDeleteEnable(ObjectDB obj, java.lang.String[] row)
Is delete permitted?static boolean
ObjectUsage. isEnabled(ObjectDB obj)
Checks if USE_OBJECT_USAGE is true and the object is a UI instancestatic boolean
ObjectHooks. isHistoric(ObjectDB obj)
Is object history enabled?static java.lang.String
ObjectHooks. isMergeEnable(ObjectDB obj, java.util.List<java.lang.String> ids)
Is merge enabled ?static boolean
ObjectHooks. isMergeMaster(ObjectDB obj)
Merge masterstatic boolean
ObjectHooks. isOpenEnable(ObjectDB obj, java.lang.String[] row)
Is open permitted?static boolean
ObjectHooks. isPrintTemplateEnable(ObjectDB obj, java.lang.String[] row, java.lang.String pt)
Is print template permitted?boolean
ObjectField. isRequired(ObjectDB obj)
Is field required within specified object?static boolean
ObjectHooks. isStateTransitionEnable(ObjectDB obj, java.lang.String fromStatus, java.lang.String toStatus)
Is a state transition permitted?static boolean
ObjectHooks. isUndoable(ObjectDB obj, java.lang.String action)
Is unodablestatic boolean
ObjectHooks. isUpdateEnable(ObjectDB obj, java.lang.String[] row)
Is update permitted?static java.lang.String
TreeView. jsonReflexiveTree(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String fk, int treeDepth, Parameters.InlineParam inlines, int context, Parameters.ContextParam params, boolean metadata, boolean timestamp, boolean visibleOnly, boolean unique, java.lang.String edit)
Build the reflexive object tree (for search service)static java.lang.String
ObjectUsage. jsonUsers(ObjectDB obj, java.lang.String rowId, boolean all, boolean writeOnly, boolean embedded)
Get users using one objectstatic FieldArea
FieldArea. load(ObjectDB obj, int num)
Load the field area definition from repositoryvoid
ObjectField. load(java.lang.String name, Grant g, ObjectDB obj)
Deprecated, for removal: This API element is subject to removal in a future version.Use load without object argumentvoid
ObjectFieldList. load(ObjectDB obj, java.lang.String name, Grant g)
Load the contextual list of valuesvoid
ObjectField. loadList(ObjectDB obj, java.lang.String name, Grant g)
Loads the list of valuesstatic void
AppLog. logObject(Grant g, ObjectDB object, java.lang.String method, java.lang.String rowId, java.lang.String sql, java.util.List<ObjectField> host, java.lang.String msg)
Log an object manipulation (SQL + host values)java.util.List<java.lang.String>
Timesheet. merge(ObjectDB assign, java.lang.String assignId, java.lang.String resId1, java.lang.String resId2)
Merge assignments and related timesheetsstatic java.lang.String
ModuleDB. moduleGradleBuild(ObjectDB mdl)
Generate a Gradle build file content for specified modulestatic java.lang.String
ModuleDB. modulePOM(ObjectDB mdl)
Generate a Maven module-level POM file content for specified moduleMail.MailAttach
Mail. objectAttach(ObjectDB obj, java.lang.String templateName)
Build an attachement from an object publicationstatic java.lang.String
ObjectHooks. postAlert(ObjectDB obj, Alert a)
Post alertjava.lang.String
ObjectDB. postAssociate(ObjectDB parent, java.lang.String parentFk, ObjectDB child, java.lang.String childFk)
Hook called after associatestatic java.lang.String
ObjectHooks. postAssociate(ObjectDB obj, ObjectDB parent, java.lang.String parentFk, ObjectDB child, java.lang.String childFk)
Post associatestatic java.lang.String
ObjectHooks. postCreate(ObjectDB obj)
Post createstatic java.util.List<java.lang.String[]>
ObjectHooks. postCrosstabSearch(ObjectDB obj, Crosstab ctb, java.util.List<java.lang.String[]> rows)
Post pivot table searchstatic java.lang.String
ObjectHooks. postDelete(ObjectDB obj)
Post savestatic java.lang.String
ObjectHooks. postDeleteAll(ObjectDB obj)
Post delete allstatic java.util.List<java.lang.String[]>
ObjectHooks. postExport(ObjectDB obj, java.util.List<java.lang.String[]> rows)
Post export datastatic java.lang.String
ObjectHooks. postImport(ObjectDB obj)
Post importstatic void
ObjectHooks. postLoad(ObjectDB obj)
Post loadstatic java.util.List<java.lang.String[]>
ObjectHooks. postObjectSearch(ObjectDB obj, java.util.List<java.lang.String[]> rows)
Post object search (datamap or ref select)static void
ObjectHooks. postRedo(ObjectDB obj)
Post redostatic java.lang.String
ObjectHooks. postSave(ObjectDB obj)
Post savestatic void
ObjectHooks. postSavePredefinedSearch(ObjectDB obj, PredefinedSearch ps)
Post save predefined searchstatic java.util.List<java.lang.String>
ObjectHooks. postSaveTimesheet(ObjectDB obj, Timesheet ts)
Post save timesheetstatic java.util.List<java.lang.String[]>
ObjectHooks. postSearch(ObjectDB obj, java.util.List<java.lang.String[]> rows)
Post searchjava.util.List<SearchItem>
ScriptedPlatformHooks. postSearchIndex(Grant g, java.util.List<SearchItem> rows, java.util.List<java.lang.String> objects, int context, ObjectDB parent)
Hook (extended) to change the result after the search in indexstatic java.lang.String[]
ObjectHooks. postSearchRow(ObjectDB obj, java.lang.String[] row)
Post search a recordstatic void
ObjectHooks. postSelect(ObjectDB obj, java.lang.String rowId, boolean copy)
Post select a recordstatic void
ObjectHooks. postUndo(ObjectDB obj)
Post undostatic java.lang.String
ObjectHooks. postUpdate(ObjectDB obj)
Post updatestatic void
ObjectHooks. postUpdateAll(ObjectDB obj, Parameters params)
Post update allstatic java.util.List<java.lang.String>
ObjectHooks. postValidate(ObjectDB obj)
Post validatestatic java.util.List<java.lang.String>
ObjectHooks. postValidateSearch(ObjectDB obj)
Post validate searchstatic java.lang.String
ObjectHooks. preAlert(ObjectDB obj, Alert a)
Pre alertjava.lang.String
ObjectDB. preAssociate(ObjectDB parent, java.lang.String parentFk, ObjectDB child, java.lang.String childFk)
Hook called before associatestatic java.lang.String
ObjectHooks. preAssociate(ObjectDB obj, ObjectDB parent, java.lang.String parentFk, ObjectDB child, java.lang.String childFk)
Pre associatestatic void
ObjectHooks. preCount(ObjectDB obj)
Pre countstatic java.lang.String
ObjectHooks. preCreate(ObjectDB obj)
Pre createstatic void
ObjectHooks. preCrosstabSearch(ObjectDB obj, Crosstab ctb)
Pre pivot table searchstatic java.lang.String
ObjectHooks. preDelete(ObjectDB obj)
Pre deletestatic java.lang.String
ObjectHooks. preDeleteAll(ObjectDB obj)
Pre delete allstatic void
ObjectHooks. preExport(ObjectDB obj)
Pre export datastatic java.lang.String
ObjectHooks. preImport(ObjectDB obj)
Pre importstatic void
ObjectHooks. preObjectSearch(ObjectDB obj)
Pre object search (datamap or ref select)static void
UndoRedoPool. prepareUndoRedo(ObjectDB obj)
Prepare a new user Undo/Redo to collect future updatesstatic boolean
ObjectHooks. preRedo(ObjectDB obj)
Pre redostatic java.lang.String
ObjectHooks. preSave(ObjectDB obj)
Pre savestatic java.lang.String
ObjectHooks. preSavePredefinedSearch(ObjectDB obj, PredefinedSearch ps)
Pre save predefined searchstatic java.util.List<java.lang.String>
ObjectHooks. preSaveTimesheet(ObjectDB obj, Timesheet ts)
Pre save timesheetstatic void
ObjectHooks. preSearch(ObjectDB obj)
Pre searchjava.lang.String
ScriptedPlatformHooks. preSearchIndex(Grant g, java.lang.String search, java.util.List<java.lang.String> objects, int context, ObjectDB parent, java.util.Map<java.lang.String,java.lang.String> filters)
Hook (extended) to change the query before the search in indexstatic void
ObjectHooks. preSelect(ObjectDB obj, java.lang.String rowId, boolean copy)
Pre select a recordstatic java.util.List<java.lang.String>
ObjectHooks. preStateTransition(ObjectDB obj, java.lang.String fromStatus, java.lang.String toStatus)
Pre state transitionstatic boolean
ObjectHooks. preUndo(ObjectDB obj)
Pre undostatic java.lang.String
ObjectHooks. preUpdate(ObjectDB obj)
Pre updatestatic java.lang.String
ObjectHooks. preUpdateAll(ObjectDB obj, Parameters params)
Pre update allstatic java.util.List<java.lang.String>
ObjectHooks. preValidate(ObjectDB obj)
Pre validatestatic java.util.List<java.lang.String>
ObjectHooks. preValidateSearch(ObjectDB obj)
Pre validate searchstatic java.lang.String
ModuleDB. projectImportSpec(ObjectDB mdl)
Generate a import specification file content specified module and its child modulesstatic java.lang.String
ModuleDB. projectPOM(ObjectDB mdl)
Generate a Maven project-level POM file content for specified module and its child modulesvoid
UndoRedo. push(ObjectDB obj, java.lang.String action, boolean timestamp, boolean patchMode)
Insert the object patch at current position and discard forward redo (if isUndoable of object returns true)void
UndoRedoPool. push(ObjectDB obj, UndoRedo ur)
Append a coherent undo/redo at the current undone position and discard any forward actionsvoid
Notification. pushNotification(Grant grant, ObjectDB o)
Push notification for specified row of Objectjava.util.List<java.lang.String>
Timesheet. reassign(ObjectDB assign, java.lang.String assignIdFrom, java.lang.String assignIdTo, java.lang.String resIdTo, java.lang.String resId1, java.lang.String resId2, double factor, java.lang.String begin, java.lang.String end)
Transfers assignment charge between 2 resourcesvoid
UndoRedo. redoLog(ObjectDB obj, boolean full)
Store actions into RedoLogMail.MailAttach
Mail. resourceAttach(ObjectDB obj, java.lang.String type, java.lang.String code)
Buld an attachment from an object resourceMail.MailImage
Mail. resourceIcon(ObjectDB obj, java.lang.String code, boolean thumbnail)
Build an inlined image from an object icon resourceMail.MailImage
Mail. resourceImage(ObjectDB obj, java.lang.String code, boolean thumbnail)
Build an inlined image from an object resourcestatic PredefinedSearch
PredefinedSearch. save(Grant g, java.lang.String id, java.lang.String name, boolean priv, java.lang.String filters, ObjectDB obj, boolean force)
Save a predefined search from UIstatic void
PredefinedSearch. select(Grant g, java.lang.String id, ObjectDB obj)
Set current predefined search on UIjava.lang.String
Timesheet. service(ObjectDB obj, org.json.JSONObject params)
Ajax servicevoid
View. setCollapsed(ObjectDB obj, boolean collapse)
Change the collapse flag of the object viewvoid
Notification. setObject(ObjectDB o)
void
Link. setParent(ObjectDB o)
Set parent objectvoid
ObjectField. setRootField(ObjectDB obj)
Root parent field calculationstatic void
CronJob. setStatus(ObjectDB obj, java.lang.String status)
Set the status of the current CronJob threadjava.util.List<java.lang.String>
Timesheet. shiftTimesheet(ObjectDB assign, java.lang.String assignId, java.lang.String resId1, java.lang.String resId2, java.lang.String oldBeginDate, java.lang.String newBeginDate, java.lang.String oldEndDate, java.lang.String newEndDate)
Shifts the timesheet charges of one assignmentstatic boolean
ObjectHooks. spamEmail(ObjectDB obj, java.lang.String alert, java.lang.String group, java.lang.String email)
Email available?static boolean
ObjectHooks. spamGroup(ObjectDB obj, java.lang.String alert, java.lang.String group)
Group emails available?void
TreeView. storeHistory(ObjectDB obj, int max)
Store the tree in user's preferences TREEVIEW_PREFSObjectDB
ObjectDB. storeParentContext(ObjectDB parent, java.lang.String refField, java.lang.String[] values)
Store parent object context / must be called before any count/search of child liststatic ObjectDB
ObjectDB. storeParentContext(java.lang.String prefix, ObjectDB parent, java.lang.String childObject, java.lang.String childField, java.lang.String[] values)
Store parent object context / must be called before any count/search of child liststatic java.lang.String
PrintTemplate. subsituteExprs(java.lang.String template, java.lang.String encoding, ObjectDB obj, java.lang.String rowId)
Substitute expressions in templatestatic java.lang.String
PrintTemplate. substituteAll(java.lang.String template, java.lang.String encoding, ObjectDB obj)
Substitute all contents (resources, texts, labels and filters)static java.lang.String
PrintTemplate. substituteDirectURL(java.lang.String text, ObjectDB obj)
Substitutes the direct URL statements with the direct URL to open the object update formstatic java.lang.String
PrintTemplate. substituteFields(java.lang.String template, java.lang.String encoding, ObjectDB obj, java.lang.String[] row)
Substitute field values in template (print or alert with fields of object and action)static java.lang.String
PrintTemplate. substituteFilters(java.lang.String template, java.lang.String encoding, ObjectDB obj)
Substitute filters in templatestatic java.lang.String
PrintTemplate. substituteLabels(java.lang.String template, java.lang.String encoding, ObjectDB obj)
Substitute labels in templatestatic java.lang.String
PrintTemplate. substituteResources(java.lang.String template, ObjectDB obj)
Substitute resources contentsjava.lang.String
Agenda. toJSON(ObjectDB obj)
Serialize a JSON objectjava.lang.String
Message. toJSON(Grant g, java.lang.String msg, ObjectDB obj)
Convert to JSON { code, level, text, label }java.lang.String
PlaceMap. toJSON(ObjectDB obj)
Serialize a JSON objectjava.lang.String
PredefinedSearch. toJSON(ObjectDB obj)
java.lang.String
TreeView. toJSON(ObjectDB object, Parameters.InlineParam inlines, boolean metadata, TreeView.TreeViewNode node, int depth, boolean hist, java.lang.String path)
Get the tree from a root nodeorg.json.JSONObject
TreeView. toJSON(ObjectDB object, java.util.Map<java.lang.String,java.lang.String> filters, java.io.File cfgDir, java.io.File docDir, boolean verbose, boolean withIds, boolean exploded, boolean scanReflexive, boolean exportable)
Export a treejava.lang.String
TreeView. toJSON(TreeView.TreeViewNode node, ObjectDB obj, Parameters.InlineParam inlines, boolean metadata, int depth, boolean hist, java.lang.String path)
Export the object root as a JSON tree.java.lang.String
View.Item. toJSON(Grant g, ObjectDB parent, boolean home)
Item to JSONjava.lang.String
View. toJSON(Grant g, ObjectDB parent, boolean home)
View metadata as JSON stringorg.json.JSONObject
TreeView. toJSONTree(TreeView.TreeViewNode node, ObjectDB obj, Parameters.InlineParam inlines, boolean metadata, int depth, boolean hist, java.lang.String path, boolean verbose, java.util.Map<java.lang.String,java.lang.String> filters, boolean unique, boolean withIds, boolean withPath, java.io.File cfgDir, java.io.File docDir, boolean exploded, boolean scanReflexive)
Export the object root as a JSON tree.static java.lang.String
ObjectHooks. unitTests(ObjectDB obj)
Unit teststatic PredefinedSearch
PredefinedSearch. update(Grant g, java.lang.String id, java.lang.String filters, ObjectDB obj, boolean force)
Update filters of a predefined searchstatic boolean
ObjectUsage. use(ObjectDB object, java.lang.String rowId, boolean write)
Object usage.static java.util.List<java.lang.String>
FieldValidation. validate(ObjectField f, ObjectDB obj, Processus process, Grant g)
Field common validation, return errors such as:
- ERR_REQUIRED: mandatory
- ERR_NUMBER: not numeric
- ERR_DATE: invalid date
- ERR_TIME: invalid time
- ERR_DATETIME: invalid datetime
- ERR_FLOAT: not a decimal
- ERR_REGEXP: not match expression
- ERR_ENUM: code not exists in list of values/states modeljava.util.List<java.lang.String>
ObjectField. validate(ObjectDB obj)
Valid the field value in a business objectjava.lang.String
UserSessionFilters. validate(ObjectDB obj)
Validate object fields within session filtersstatic java.util.List<java.lang.String>
FieldValidation. validateFilter(ObjectField f, ObjectDB obj, Processus process, Grant g)
Field common validation, return errors such as :
- ERR_SEARCHREQUIRED: mandatoryjava.util.List<java.lang.String>
ObjectField. validateFilter(ObjectDB obj)
Valid the field filter in a business objectstatic java.util.List<java.lang.String>
FieldValidation. validateType(ObjectField f, java.lang.String val, ObjectDB obj, Processus process)
Field type validation, return errors such as:
- ERR_NUMBER: not numeric
- ERR_DATE: invalid date
- ERR_TIME: invalid time
- ERR_DATETIME: invalid datetime
- ERR_FLOAT: not a decimal
- ERR_REGEXP: not match expression
- ERR_ENUM: code not exists in list of values/states modelstatic java.util.List<java.lang.String>
FieldValidation. validateType(ObjectField f, java.lang.String val, ObjectDB obj, Processus process, Grant g)
Field type validation, return errors such as:
- ERR_NUMBER: not numeric
- ERR_DATE: invalid date
- ERR_TIME: invalid time
- ERR_DATETIME: invalid datetime
- ERR_FLOAT: not a decimal
- ERR_REGEXP: not match expression
- ERR_ENUM: code not exists in list of values/states modelorg.apache.commons.pool2.PooledObject<ObjectDB>
ObjectPoolFactory. wrap(ObjectDB obj)
Method parameters in com.simplicite.util with type arguments of type ObjectDB Modifier and Type Method Description void
ObjectPoolFactory. destroyObject(java.lang.String key, org.apache.commons.pool2.PooledObject<ObjectDB> pobj)
void
ObjectPoolFactory. passivateObject(java.lang.String name, org.apache.commons.pool2.PooledObject<ObjectDB> pobj)
Constructors in com.simplicite.util with parameters of type ObjectDB Constructor Description Agenda(ObjectDB obj, java.lang.String id, java.lang.String name, boolean[] openDays, boolean floating, java.lang.String dateField, java.lang.String endDateField, java.util.List<java.lang.String> labelFields, java.lang.String durationField, java.lang.String userField, java.lang.String groupField)
ConstructorContentTemplate(java.lang.String name, ObjectDB content, ObjectField refField, ObjectField parentField, ObjectDB relation, ObjectField relParentField, ObjectField relContentField)
CronJob(ObjectDB object, Action action, Grant grant, java.util.Map<java.lang.String,java.lang.String> params)
Job constructorCrosstab(java.lang.String id, ObjectDB object, java.lang.String name, java.lang.String display, char method, char visible, boolean fixedcolors, boolean grantable)
ConstructorGanttNode(ObjectDB object, java.lang.String id, java.lang.String label, int type, java.lang.String fk)
Link(ObjectDB parent, java.lang.String id, java.lang.String obj, java.lang.String fld, java.lang.String dbtable, java.lang.String column, java.lang.String objDisplay, java.lang.String fldDisplay, java.lang.String lnkDisplay, java.lang.String lnkPluralDisplay, java.lang.String lnkHelp, java.lang.String card, int order, boolean copy, char associate, boolean visible, boolean inline, char cascad, java.lang.String icon, char render, java.lang.Integer depth)
ConstructorLinkTemplate(java.lang.String name, int type, ObjectDB from, ObjectField fromField, ModelTemplate.NodeTemplate fromTemplate, ObjectDB to, ObjectField toField, ModelTemplate.NodeTemplate toTemplate, ObjectDB link, ObjectField fromLinkField, ObjectField toLinkField, boolean showLabel, boolean curved, boolean bridge, int render, double thickness, java.lang.String color, boolean changeType, boolean changeColor, boolean changeRender, boolean changeCurved, boolean changeBridge, boolean changeShowLabel, boolean changeThickness)
ModuleDB(ObjectDB mdl)
ConstructorNodeTemplate(java.lang.String id, java.lang.String name, char type, ObjectDB object, int showFields, java.lang.String color, int radius, boolean shadow, boolean colField, boolean colContent, boolean resizable)
PlaceMap(ObjectDB obj, java.lang.String name, java.lang.String coordsField, java.lang.String addressField, java.lang.String label1Field, java.lang.String label2Field, java.lang.String label3Field)
ConstructorPrintTemplate(ObjectDB object, java.lang.String name, java.lang.String display, java.lang.String type, java.lang.String usage, java.lang.String method, java.lang.String template, java.lang.String docId, java.lang.String mimeType, java.lang.String fileName, boolean grantable, char visible)
Constructor -
Uses of ObjectDB in com.simplicite.util.integration
Methods in com.simplicite.util.integration that return ObjectDB Modifier and Type Method Description ObjectDB
ObjectXML. loadObject(Grant g)
Load XML data into the temporary instance First XML data is loaded in object fields, all XML data are loaded in the current listMethods in com.simplicite.util.integration with parameters of type ObjectDB Modifier and Type Method Description void
FlowXML. addObject(ObjectDB obj, java.lang.String action)
Add an XML object with specified actionvoid
FlowXML. addObject(ObjectDB obj, java.lang.String action, boolean timestampFields, boolean inlineDocs)
Add an XML object with specified actionMessage
FlowXML. contains(ObjectDB object)
Return find = 0 if not found, 1 if same functional key but difference in data, 2 if equalsvoid
DataXML. populateObject(ObjectDB obj)
Populate the object with tags when knownObjectXML
ObjectXML. undoXML(ObjectDB obj, java.lang.String action)
Build the undo changes of actionConstructors in com.simplicite.util.integration with parameters of type ObjectDB Constructor Description ObjectXML(ObjectDB obj, java.lang.String action, boolean timestampField, boolean inlineDocs)
ConstructorObjectXML(ObjectDB obj, java.lang.String action, boolean timestampField, boolean patchMode, boolean functKeysOnly, boolean inlineDocs)
Constructor -
Uses of ObjectDB in com.simplicite.util.tools
Methods in com.simplicite.util.tools that return ObjectDB Modifier and Type Method Description static ObjectDB
ImportExportTool. getExportObject(ObjectDB obj, boolean list, boolean pref)
Object instance dedicated to asynchronous exportObjectDB
BusinessObjectTool. getObject()
Get objectMethods in com.simplicite.util.tools with parameters of type ObjectDB Modifier and Type Method Description static java.lang.String
JSONTool. actionToJson(ObjectDB obj, Action action, java.lang.String[] row, boolean create, int context, boolean confirmMeta)
static java.lang.String
JSONTool. activityData(Processus pcs, ActivityFile af, ObjectDB object)
static java.lang.String
JSONTool. activityData(Processus pcs, ActivityFile af, ObjectDB object, boolean metadata, boolean embedded)
static java.lang.String
JSONTool. activityDataToJson(Processus p, ActivityFile af, ObjectDB obj, boolean metadata)
void
MailTool. addAttach(ObjectDB obj, ObjectField field)
Add attachment from object document or image fieldstatic org.json.JSONObject
JSONTool. addBusinessObjectOpenAPIPath(org.json.JSONObject paths, ObjectDB obj, java.lang.String relPath, int spec)
Add business object REST services OpenAPI paths to pathsstatic org.json.JSONObject
JSONTool. addBusinessObjectOpenAPISchema(org.json.JSONObject schemas, ObjectDB obj, int spec)
Add business object REST services OpenAPI schema to schemasjava.lang.String
MailTool. addImage(ObjectDB obj, ObjectField field)
Add inlined image from object document or image fieldvoid
ExcelTool. addRow(ObjectDB obj, java.util.List<ObjectField> fields, java.lang.String[] row, java.io.PrintWriter out)
Add a record to HTML outputvoid
ExcelTool. addRows(ObjectDB obj, java.util.List<ObjectField> fields, java.util.List<java.lang.String[]> rows)
Add a rows to Excel POIvoid
ExcelTool. addRows(ObjectDB obj, java.util.List<ObjectField> fields, java.util.List<java.lang.String[]> rows, Link link)
Add a rows to Excel POIstatic java.lang.String
MustacheTool. apply(ObjectDB obj, java.lang.String code)
Apply Mustache template from an object HTML resource with current records.static java.lang.String
MustacheTool. apply(ObjectDB obj, java.lang.String code, java.lang.Object data)
Apply Mustache template from an object HTML object resourcestatic java.lang.String
MustacheTool. apply(ObjectDB obj, java.lang.String code, java.util.List<java.lang.String[]> rows)
Apply Mustache template from an object HTML resource with a list of records.static java.lang.String
AuditTool. checkForeignKeys(ObjectDB o, boolean audit, boolean autofix, boolean create)
Foreign keys completenessvoid
GitTool. checkout(ObjectDB mdl, java.lang.String commitId)
Checkout commit ID in the module's repository worktree.void
GitTool. checkout(ObjectDB mdl, java.lang.String branch, boolean create, java.lang.String remoteBranch)
Checkout a branch in the module's repository worktree.void
GitTool. clean(ObjectDB mdl)
Delete all files in the module's repository (excepted .git directory).java.lang.String
GitTool. commitModule(ObjectDB mdl, java.lang.String msg)
Deprecated.Use commitModule with addtional format parameterjava.lang.String
GitTool. commitModule(ObjectDB mdl, java.lang.String format, boolean exploded, java.lang.String msg)
Commit selected modulestatic java.lang.String
JavaTool. compileAdapterAndLoadClass(ObjectDB adp, boolean force)
Compile and load class for adapterstatic java.lang.String
JavaTool. compileBusinessObjectAndLoadClass(ObjectDB obj, boolean force)
Compile and load class for business objectstatic java.lang.String
JavaTool. compileDispositionAndLoadClass(ObjectDB dis, boolean force)
Compile and load class for dispositionstatic java.lang.String
JavaTool. compileExternalObjectAndLoadClass(ObjectDB ext, boolean force)
Compile and load class for external objectstatic java.lang.String
JavaTool. compileProcessAndLoadClass(ObjectDB pcs, boolean force)
Compile and load class for business processstatic java.lang.String
JavaTool. compileSharedCodeAndLoadClass(ObjectDB scr, boolean force)
Compile and load class for shared codestatic java.lang.String
JSONTool. count(ObjectDB obj)
static java.lang.String
JSONTool. count(ObjectDB obj, boolean metadata)
int
GitTool. countCommits(ObjectDB mdl)
Count commits in a module's repositoryint
GitTool. countCommits(ObjectDB mdl, java.lang.String name, java.lang.String message, java.lang.String user, java.lang.String email, java.lang.String dateMin, java.lang.String dateMax)
Count commits in a module's repositorystatic java.lang.String
SystemTool. createTable(ObjectDB obj, boolean full)
Table creationstatic java.lang.String
SystemTool. createTable(java.lang.String datasource, java.lang.String table, boolean timestamp, ObjectField rowIdField, ObjectDB obj)
Table creationstatic java.lang.String
XSDTool. crosstabToXsdData(ObjectDB obj, Crosstab crosstab)
Deprecated, for removal: This API element is subject to removal in a future version.java.lang.String
GitTool. delete(ObjectDB mdl)
Move the module's directory to the recylebin if it exists (or simply delete it if move is not successful)static java.lang.String
DocTool. deleteBookshelf(ObjectDB bookshelf)
Delete bookshelfstatic java.lang.String
JSONTool. document(ObjectDB obj, java.lang.String rowId, java.lang.String field)
static java.lang.String
JSONTool. document(ObjectDB obj, java.lang.String rowId, java.lang.String field, boolean embedded, boolean copy)
java.lang.String
GitTool. dumpModuleCommit(ObjectDB mdl, org.eclipse.jgit.lib.ObjectId commitId)
Dump module's commit for specified row IDstatic void
CSVTool. export(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.lang.String sep, boolean techfields, java.io.PrintWriter out)
Export object as CSVstatic java.lang.String
CSVTool. export(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.lang.String sep, boolean techfields, javax.servlet.http.HttpServletResponse response)
Export object as CSVvoid
ExcelTool. export(ObjectDB obj, java.lang.String mode, java.io.OutputStream out)
Export object form as Excel workbookvoid
ExcelTool. export(ObjectDB obj, java.lang.String mode, java.lang.String format, java.io.OutputStream out)
Deprecated, for removal: This API element is subject to removal in a future version.java.lang.String
ExcelTool. export(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.io.OutputStream out)
Export object list as Excel workbookvoid
ExcelTool. export(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.lang.String format, java.io.OutputStream out)
Deprecated, for removal: This API element is subject to removal in a future version.static java.lang.String
ImportExportTool. export(ServletParameters params, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ObjectDB object, java.lang.String rowId)
Asynchronous export form or list datastatic void
PDFTool. export(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.io.OutputStream out)
Export list to PDFstatic java.lang.String
PDFTool. export(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, javax.servlet.http.HttpServletResponse response)
Export list to PDFstatic java.lang.String
JSONTool. fieldsToJson(ObjectDB obj)
static java.lang.String
JSONTool. fieldsToJson(ObjectDB obj, Parameters.InlineParam inlines, java.lang.String[] fields, boolean onlyFunctIds, boolean timestamps)
static java.lang.String
XSDTool. fieldsToXsdData(ObjectDB obj, java.lang.String ns)
Converts object fields into XSD XML data (as XML String)static java.lang.String
XSDTool. fieldsToXsdData(ObjectDB obj, java.lang.String ns, boolean dbdoc, boolean client)
Converts object fields into XSD XML data (as XML String)static java.lang.String
JSONTool. filters(ObjectDB obj, boolean reset)
static java.lang.String
JSONTool. filters(ObjectDB obj, int context, boolean reset)
static java.lang.String
JSONTool. filters(ObjectDB obj, int context, boolean reset, boolean embedded)
static java.lang.String
JSONTool. filtersToJson(ObjectDB obj, boolean reset, boolean limited)
JSON filters in service formatstatic java.lang.String
XSDTool. filtersToXsdData(ObjectDB obj, java.lang.String ns, boolean pagine, boolean more)
Converts object filters into XSD XML data (as XML String)static java.lang.String
HTMLTool. filterString(ObjectDB obj, java.lang.String sep)
Displayable object filterstatic java.lang.String
JSONTool. functIdToJson(ObjectDB obj)
static java.lang.String
JSONTool. get(ObjectDB obj, java.lang.String rowId)
Get object record as JSONstatic java.lang.String
JSONTool. get(ObjectDB obj, java.lang.String rowId, boolean embedded)
Get object record as JSONstatic java.lang.String
JSONTool. get(ObjectDB obj, java.lang.String rowId, int context, boolean timestamps, java.lang.String[] fields, Parameters.InlineParam inlines, boolean embedded, boolean metadata, Parameters.ContextParam parent, boolean social, boolean share, java.util.List<java.lang.String> msgs, TreeView tv, TreeView.TreeViewNode tvNode, int tvDepth)
Deprecated, for removal: This API element is subject to removal in a future version.Use get with additional argumentstatic java.lang.String
JSONTool. get(ObjectDB obj, java.lang.String rowId, int context, boolean timestamps, java.lang.String[] fields, Parameters.InlineParam inlines, boolean embedded, boolean metadata, Parameters.ContextParam parent, boolean social, java.util.List<java.lang.String> msgs, TreeView tv, TreeView.TreeViewNode tvNode, int tvDepth)
Deprecated, for removal: This API element is subject to removal in a future version.Use get with additional argumentstatic java.lang.String
JSONTool. get(ObjectDB obj, java.lang.String rowId, int context, boolean timestamps, java.lang.String[] fields, ServletParameters values, Parameters.InlineParam inlines, boolean embedded, boolean metadata, Parameters.ContextParam parent, boolean social, boolean share, java.util.List<java.lang.String> msgs, Parameters.TreeviewParam tv)
Get object record as JSONstatic java.lang.String
JSONTool. get(ObjectDB obj, java.lang.String rowId, int context, java.lang.String[] fields, Parameters.InlineParam inlines, boolean embedded)
Get object record as JSONstatic java.lang.String
XSDTool. get(ObjectDB obj, java.lang.String row_id, java.lang.String xmlns, java.lang.String ns)
static java.lang.String
JavaTool. getAdapterBasePath(ObjectDB adp)
Get base relative path for dispositionstatic java.lang.String
JavaTool. getAdapterBinaryPath(ObjectDB adp)
Get binary relative path for business processstatic java.lang.String
JavaTool. getAdapterClassName(ObjectDB adp)
Get class name for adapterstatic java.lang.String
JavaTool. getAdapterSourcePath(ObjectDB adp)
Get source relative path for business processorg.json.JSONArray
GitTool. getAllModuleCommits(ObjectDB mdl, int n)
Get modules's last commits information for moduleorg.json.JSONArray
GitTool. getAllModuleCommits(ObjectDB mdl, int start, int max)
Get modules's last commits information for moduleorg.json.JSONArray
GitTool. getAllModuleCommits(ObjectDB mdl, int start, int max, java.lang.String name, java.lang.String message, java.lang.String user, java.lang.String email, java.lang.String dateMin, java.lang.String dateMax)
Get modules's last commits information for modulejava.util.List<java.lang.String>
GitTool. getBranchNames(ObjectDB mdl, boolean local, boolean remote)
Get branch names from an existing repositorystatic java.lang.String
JavaTool. getBusinessObjectBinaryPath(ObjectDB obj)
Get binary relative path for business objectstatic java.lang.String
JavaTool. getBusinessObjectClassName(ObjectDB obj)
Get class name for business objectstatic java.lang.String
JavaTool. getBusinessObjectSourcePath(ObjectDB obj)
Get source relative path for business objectjava.lang.String
GitTool. getCurrentBranchName(ObjectDB mdl)
Get current branch name from an existing repositorystatic java.lang.String
HTMLTool. getDatamapSelectURL(ObjectDB obj, java.lang.String params)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIstatic java.lang.String
HTMLTool. getDirectURL(ObjectDB obj, boolean form)
Direct URL to open the object update formstatic java.lang.String
JavaTool. getDispositionBasePath(ObjectDB dis)
Get base relative path for dispositionstatic java.lang.String
JavaTool. getDispositionBinaryPath(ObjectDB dis)
Get binary relative path for dispositionstatic java.lang.String
JavaTool. getDispositionClassName(ObjectDB dis)
Get Java class name for dispositionstatic java.lang.String
JavaTool. getDispositionSourcePath(ObjectDB dis)
Get source relative path for dispositionstatic java.lang.String
HTMLTool. getDocPreviewURL(ObjectDB obj, java.lang.String fieldName)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIstatic ObjectDB
ImportExportTool. getExportObject(ObjectDB obj, boolean list, boolean pref)
Object instance dedicated to asynchronous exportstatic java.lang.String
JavaTool. getExternalObjectBinaryPath(ObjectDB ext)
Get binary relative path for external objectstatic java.lang.String
JavaTool. getExternalObjectClassName(ObjectDB ext)
Get class name for external objectstatic java.lang.String
JavaTool. getExternalObjectSourcePath(ObjectDB ext)
Get source relative path for external objectstatic java.lang.String
HTMLTool. getFormURL(ObjectDB obj, java.lang.String params)
Base form page URL for specified object (for current row ID)static java.lang.String
HTMLTool. getFormURL(ObjectDB obj, java.lang.String rowId, java.lang.String params)
Base form page URL for specified object and row IDstatic java.lang.String
HTMLTool. getHelpURL(ObjectDB obj, java.lang.String params)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIstatic com.lowagie.text.Image
PDFTool. getImageFromResource(ObjectDB obj, java.lang.String resourceCode)
Get image from object resource imagestatic org.json.JSONObject
JSONTool. getJSONSchema(ObjectDB obj)
Get JSON Schema for specified objectstatic org.json.JSONObject
MustacheTool. getLabels(ObjectDB obj)
Get JSON object with the object and fields labelsstatic java.lang.String
HTMLTool. getListURL(ObjectDB obj, java.lang.String params)
Base list page URL for specified objectjava.util.List<java.lang.String>
GitTool. getLocalBranchNames(ObjectDB mdl)
Get local branch names from an existing repositorystatic java.lang.String
HTMLTool. getMergeURL(ObjectDB obj)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIorg.json.JSONObject
GitTool. getModuleJSON(ObjectDB mdl)
Get JSON tree from a modulejava.io.InputStream
GitTool. getModuleZIP(ObjectDB mdl)
Get clean ZIP stream from a modulestatic java.lang.String
HTMLTool. getObjectRefSelectURL(ObjectDB obj, java.lang.String params)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIstatic java.lang.String
HTMLTool. getPanelURL(ObjectDB obj, java.lang.String params)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIjava.lang.String
GitTool. getPrevCommitId(ObjectDB mdl, java.lang.String commitId)
Get previous module's commit ID for specified commit IDstatic java.lang.String
JavaTool. getProcessBinaryPath(ObjectDB pcs)
Get binary relative path for business processstatic java.lang.String
JavaTool. getProcessClassName(ObjectDB pcs)
Get class name for business processstatic java.lang.String
JavaTool. getProcessSourcePath(ObjectDB pcs)
Get source relative path for business processjava.lang.String
GitTool. getRawDiff(ObjectDB mdl, java.lang.String commitId)
Get raw diff for specified commit IDstatic org.json.JSONObject
MustacheTool. getRecord(ObjectDB obj, boolean display)
Get JSON object with the values for current object recordstatic org.json.JSONObject
MustacheTool. getRecord(ObjectDB obj, java.lang.String[] row, boolean display)
Get JSON object with the values for specified row recordstatic org.json.JSONArray
MustacheTool. getRecords(ObjectDB obj, boolean display)
Get an array of JSON objects with the values for the current list row recordsstatic org.json.JSONArray
MustacheTool. getRecords(ObjectDB obj, java.util.List<java.lang.String[]> rows, boolean display)
Get an array of JSON objects with the values for the specified row recordsstatic java.lang.String
HTMLTool. getReferenceSelectURL(ObjectDB obj, java.lang.String params)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIjava.util.List<java.lang.String>
GitTool. getRemoteBranchNames(ObjectDB mdl)
Get remote branch names from an existing repositoryjava.util.List<java.lang.String>
GitTool. getRemoteNames(ObjectDB mdl)
Get remote names from an existing repositoryjava.io.File
GitTool. getRepositoryDir(ObjectDB mdl)
Get repository directory file for specified namestatic byte[]
HTMLTool. getResourceContent(ObjectDB obj, java.lang.String type, java.lang.String code)
Content of specified business object resourcestatic java.lang.String
HTMLTool. getResourceCSSContent(ObjectDB obj, java.lang.String code)
Content of specified business object CSS stylesheet resourcestatic java.lang.String
HTMLTool. getResourceCSSURL(ObjectDB obj, java.lang.String code)
URL for specified business object CSS stylesheet resourcestatic byte[]
HTMLTool. getResourceFontContent(ObjectDB obj, java.lang.String code)
Content of specified business object font resourcestatic java.lang.String
HTMLTool. getResourceFontURL(ObjectDB obj, java.lang.String code)
URL for specified business object font resourcestatic java.lang.String
HTMLTool. getResourceHTMLContent(ObjectDB obj, java.lang.String code)
Content of specified business object HTML resourcestatic java.lang.String
HTMLTool. getResourceHTMLURL(ObjectDB obj, java.lang.String code)
URL for specified business object HTML resourcestatic java.lang.String
HTMLTool. getResourceIconURL(ObjectDB obj, java.lang.String code)
URL for specified business object icon resourcestatic java.lang.String
HTMLTool. getResourceImageURL(ObjectDB obj, java.lang.String code)
URL for specified business object image resourcestatic java.lang.String
HTMLTool. getResourceJSContent(ObjectDB obj, java.lang.String code)
Content of specified business object JavaScript resourcestatic java.lang.String
HTMLTool. getResourceJSURL(ObjectDB obj, java.lang.String code)
URL for specified business object JavaScript resourcestatic java.lang.String
HTMLTool. getResourceMarkdownURL(ObjectDB obj, java.lang.String code)
URL for specified business object markdown resourcestatic java.lang.String
HTMLTool. getResourceMDContent(ObjectDB obj, java.lang.String code)
Content of specified business object markdown resourcestatic byte[]
HTMLTool. getResourcePDFContent(ObjectDB obj, java.lang.String code)
Content of specified business object PDF document resourcestatic java.lang.String
HTMLTool. getResourcePDFURL(ObjectDB obj, java.lang.String code)
URL for specified business object PDF resourcestatic java.lang.String
HTMLTool. getResourceURL(ObjectDB obj, java.lang.String type, java.lang.String code, java.lang.String deflt)
URL for specified business object resourcejava.lang.String
Parameters. getRowId(ObjectDB obj)
Get object row ID field values from parameters (using actual object row ID name or, if not found, default row ID name)static java.lang.String
HTMLTool. getSearchURL(ObjectDB obj, java.lang.String params)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIstatic java.lang.String
JavaTool. getSharedCodeBasePath(ObjectDB scr)
Get base relative path for dispositionstatic java.lang.String
JavaTool. getSharedCodeBinaryPath(ObjectDB scr)
Get binary relative path for shared codestatic java.lang.String
JavaTool. getSharedCodeClassName(ObjectDB scr)
Get class name for shared codestatic java.lang.String
JavaTool. getSharedCodeSourcePath(ObjectDB scr)
Get source relative path for shared codejava.util.List<java.lang.String>
GitTool. getTags(ObjectDB mdl, java.lang.String commitId)
Get all tags for a commit IDstatic java.lang.String
HTMLTool. getUpdateAllURL(ObjectDB obj)
Deprecated, for removal: This API element is subject to removal in a future version.Legacy UI APIstatic java.lang.String
DocTool. getURL(ObjectDB obj, ObjectField field, boolean cache, boolean thumbnail)
Get URL for specified documentstatic java.lang.String
DocTool. getURL(ObjectDB obj, ObjectField field, java.lang.String cdisp, boolean cache, boolean thumbnail)
Get URL for specified documentstatic java.lang.String
PDFTool. getValue(ObjectDB o, ObjectField f, boolean lovCode)
static java.util.List<ObjectField>
CSVTool. getVisibleColumns(ObjectDB obj, java.lang.String mode, boolean tech)
Visible columns to exportstatic java.lang.String
JSONTool. groupByToJson(ObjectDB obj, java.util.List<java.lang.String[]> list)
static java.lang.String
JSONTool. historic(ObjectDB obj, int page)
Message
GitTool. importModule(ObjectDB mdl)
Deprecated, for removal: This API element is subject to removal in a future version.Use commitModule with addtional format parameterMessage
GitTool. importModule(ObjectDB mdl, boolean async)
Import module from repository checkoutvoid
IndexSQLTool. indexation(ObjectDB obj)
Single object indexationlong
IndexSQLTool. indexation(ObjectDB index, Grant g, boolean reset)
Bulk indexes of every indexed fields (take several minutes/hours for huge model)void
IndexTool. indexation(ObjectDB obj)
Single object indexationlong
IndexTool. indexation(ObjectDB index, Grant g, boolean reset)
Bulk indexation of every indexed fields (take several minutes/hours for huge model)static ObjectContextWeb
JSONTool. initWebService(ObjectDB obj, int context, Parameters.ContextParam p, boolean apply, java.lang.String edit)
Prepare the object context for web servicestatic com.lowagie.text.pdf.PdfPTable
PDFTool. insertFieldArea(com.lowagie.text.Document d, ObjectDB o, FieldArea fa, java.awt.Color bkg, boolean lovCode, boolean emptyValues)
Insert a field area as a table of 2 columnsstatic void
PDFTool. insertForm(com.lowagie.text.Document d, ObjectDB o, java.awt.Color bkg, boolean lovCode)
Insert object form in PDF (flow of field areas)static void
PDFTool. insertForm(com.lowagie.text.Document d, ObjectDB o, java.awt.Color bkg, boolean lovCode, boolean emptyValues)
Insert object form in PDF (flow of field areas)static void
PDFTool. insertList(com.lowagie.text.Document d, ObjectDB o, boolean splitOption, boolean splitBoolean, boolean splitLongText, boolean lov, java.awt.Color headColor, boolean lovCode)
Generic method to serialize one object current list in distinct PDF tables : Mandatories, Options, Booleans, Long text/HTML, imagesstatic void
PDFTool. insertList(com.lowagie.text.Document d, ObjectDB o, java.util.List<ObjectField> cols, java.util.List<ObjectField> options, java.util.List<ObjectField> bools, java.util.List<ObjectField> larges, boolean lov, java.awt.Color headColor, boolean lovCode)
static boolean
LicenseTool. isKeyValid(ObjectDB lkey)
Is license key valid?static int
LicenseTool. isValid(ObjectDB lkey)
License key checkstatic java.lang.String
JSONTool. jsonPreferences(ObjectDB obj)
Object preferencesstatic DataXML
JSONTool. jsonToXML(org.json.JSONObject item, java.util.List<org.json.JSONObject> olditems, ObjectDB obj)
Convert a JSON item to XML data setstatic DataXML
JSONTool. jsonToXML(org.json.JSONObject item, org.json.JSONObject olditem, ObjectDB obj)
Convert a JSON item to XML data setstatic java.lang.String
JSONTool. jsonUndoRedo(ObjectDB obj)
static java.lang.String
JSONTool. list(ObjectDB obj, int context, Parameters.ContextParam p, int page, Parameters.InlineParam inlines, boolean embedded, boolean metadata, boolean historic, boolean totals, boolean social, boolean timestamp, boolean visibleOnly, java.lang.String edit, boolean groupby, boolean partial, java.lang.Integer treeDepth)
static java.lang.String
XSDTool. listItemToXsdData(ObjectDB obj, java.lang.String[] vals, java.lang.String ns)
Convert object list item data into XSD XML datastatic java.lang.String
JSONTool. listToJson(ObjectDB obj, java.util.List<java.lang.String[]> list, Parameters.InlineParam inlines, int context, Parameters.ContextParam p, boolean metadata, boolean timestamp, boolean visibleOnly, java.lang.String edit)
static java.lang.String
JSONTool. listTotals(ObjectDB obj)
static java.lang.String
XSDTool. listToXsdData(ObjectDB obj, java.util.List<java.lang.String[]> res, java.lang.String ns)
Convert object list item data into XSD XML datastatic java.lang.String
JSONTool. messageToJson(Grant g, java.lang.String msg, ObjectDB obj)
Convert a message to JSON { code, level, text, label, field, actions, params }static java.lang.String
JSONTool. metadata(ObjectDB obj, int context, Parameters.ContextParam p, java.lang.String[] row)
static java.lang.String
JSONTool. metadata(ObjectDB obj, int context, Parameters.ContextParam p, java.lang.String[] row, boolean embedded, boolean init, boolean visibleOnly, java.lang.String edit)
static java.lang.String
XSDTool. metadata(ObjectDB obj, int context, java.lang.String xmlns, java.lang.String ns)
static java.lang.String
JSONTool. objectFieldMetaDataToJson(Grant g, ObjectField field, ObjectDB obj, int context, java.lang.String[] row, java.lang.String editList)
Field definitionstatic java.lang.String
XMLTool. objectListItemToCsv(ObjectDB obj, java.lang.String[] vals)
Converts object list into standard XML messagestatic java.lang.String
JSONTool. objectMetaDataToJson(ObjectDB obj, int context, Parameters.ContextParam params, java.lang.String[] row, boolean init, boolean visibleOnly, java.lang.String edit)
static java.lang.String
SOAPTool. objectSoapRequest(ObjectDB obj, java.lang.String method, java.lang.String request, java.lang.String username, java.lang.String password)
Execute object SOAP request.static java.lang.String
CSVTool. objectToCSV(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.lang.String sep, java.lang.String quote, boolean tech)
Deprecated.static void
CSVTool. objectToCSV(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.lang.String sep, java.lang.String quote, boolean tech, java.io.PrintWriter out)
Export to CSVstatic java.lang.String
XMLTool. objectToXml(ObjectDB obj)
Converts object fields into standard XML messagestatic java.lang.String
XSDTool. objectXsdMetaData(ObjectDB obj, boolean fieldsMetaData, java.lang.String ns)
Converts object fields into XSD XML data (as XML String)static void
SocialTool. post(Grant g, java.lang.String message, ObjectDB target)
Post a new messagestatic void
SocialTool. post(Grant g, java.lang.String type, java.lang.String author, ObjectDB target)
Post a new public activity on objectstatic void
SocialTool. post(Grant g, java.lang.String type, java.lang.String author, ObjectDB target, boolean async)
Post a new public activity on objectstatic java.lang.String
JSONTool. prepareActionURL(ObjectDB obj, java.lang.String[] row, Action action)
static java.lang.String
JSONTool. printTemplateToJson(ObjectDB obj, java.lang.String[] row, PrintTemplate prt)
void
NotificationTool. push(ObjectDB o)
Push notification to all configured channels and recipientsvoid
NotificationTool. pushInternalNotification(ObjectDB o)
Push notification on internal canalvoid
NotificationTool. pushMailNotification(ObjectDB o)
Push mail notificationstatic java.lang.String
DocTool. rebuildIndex(ObjectDB docIndex, Grant g, java.lang.String bookshelf)
Rebuild document indexboolean
GitTool. repositoryExists(ObjectDB mdl)
Check whether a repository exists for specified namevoid
GitTool. reset(ObjectDB mdl, boolean hard)
Reset the module's repository worktree.static java.lang.String
JSONTool. rowMetaDataToJson(ObjectDB obj, int context, Parameters.ContextParam p, java.lang.String[] row, boolean visibleOnly, java.lang.String edit)
Simplified meta for list rowsstatic void
JSONTool. savePreferences(ObjectDB obj, java.lang.String json)
static java.util.List<SearchItem>
IndexCore. searchIndex(Grant g, java.lang.String search, java.util.List<java.lang.String> objects, int context, ObjectDB parent, java.util.Map<java.lang.String,java.lang.String> filters)
List indexed itemsvoid
NotificationTool. sendFirebaseNotification(ObjectDB o)
Send notification via firebase channelstatic java.lang.String
JSONTool. socialCount(ObjectDB obj)
java.lang.String
KeycloakTool.KeycloakAPI. sync(ObjectDB obj)
Synchronize Keycloak usersvoid
KeycloakTool.KeycloakAPI. sync(org.json.JSONObject params, org.json.JSONArray users, java.lang.String name, ObjectDB obj)
Import users from a Keycloak group/rolestatic java.lang.String
KeycloakTool. sync(ObjectDB obj)
Synchronize users with all declared KEYCLOACK_APIvoid
KeycloakTool.KeycloakAPI. syncClient(org.json.JSONObject params, java.lang.String client, ObjectDB obj)
Import users from a Keycloak client rolesstatic void
KeycloakTool. syncClient(org.json.JSONObject params, java.lang.String client, ObjectDB obj)
Import users from a Keycloak client rolesjava.lang.String
KeycloakTool.KeycloakAPI. syncClients(org.json.JSONObject params, org.json.JSONArray clients, ObjectDB obj)
Import users from KEYCLOAK_SYNC.clientsstatic java.lang.String
KeycloakTool. syncClients(org.json.JSONObject params, org.json.JSONArray clients, ObjectDB obj)
Import users from KEYCLOAK_SYNC.clientsstatic void
CrowdTool. syncGroup(java.lang.String group, boolean nested, ObjectDB obj)
Import users from a Crowd groupvoid
KeycloakTool.KeycloakAPI. syncGroup(org.json.JSONObject params, java.lang.String group, ObjectDB obj)
Import users from a Keycloak groupstatic void
KeycloakTool. syncGroup(org.json.JSONObject params, java.lang.String group, ObjectDB obj)
Import users from a Keycloak groupstatic java.lang.String
CrowdTool. syncGroups(ObjectDB group)
Import users from CROWD_SYNC_GROUPS listjava.lang.String
KeycloakTool.KeycloakAPI. syncGroups(org.json.JSONObject params, org.json.JSONArray groups, ObjectDB obj)
Import users from KEYCLOAK_SYNC.groupsstatic java.lang.String
KeycloakTool. syncGroups(org.json.JSONObject params, org.json.JSONArray groups, ObjectDB obj)
Import users from KEYCLOAK_SYNC.groupsvoid
KeycloakTool.KeycloakAPI. syncRole(org.json.JSONObject params, java.lang.String role, ObjectDB obj)
Import users from a Keycloak rolestatic void
KeycloakTool. syncRole(org.json.JSONObject params, java.lang.String role, ObjectDB obj)
Import users from a Keycloak rolejava.lang.String
KeycloakTool.KeycloakAPI. syncRoles(org.json.JSONObject params, org.json.JSONArray roles, ObjectDB obj)
Import users from KEYCLOAK_SYNC.rolesstatic java.lang.String
KeycloakTool. syncRoles(org.json.JSONObject params, org.json.JSONArray roles, ObjectDB obj)
Import users from KEYCLOAK_SYNC.rolesvoid
GitTool. tag(ObjectDB mdl, java.lang.String tag, java.lang.String commitId)
Tag module's commitstatic java.lang.String
ImportExportTool. toARC(ObjectDB obj, boolean list, java.lang.String mode, java.io.OutputStream out)
Build archive into output streamstatic java.lang.String
ImportExportTool. toARC(ObjectDB obj, boolean list, java.lang.String mode, javax.servlet.http.HttpServletResponse response)
Export into a ZIP with excel + documentsstatic java.lang.String
ImportExportTool. toARC(ObjectDB obj, java.lang.String mode, java.io.OutputStream out)
Deprecated.Use toARC with list argumentstatic java.lang.String
ImportExportTool. toARC(ObjectDB obj, java.lang.String mode, javax.servlet.http.HttpServletResponse response)
Deprecated.Use toARC with list argumentstatic void
ImportExportTool. toDataStream(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, boolean timestamp, boolean inline, java.lang.String format, java.io.OutputStream out)
Multiple records XML/JSON/YAML exportvoid
ExcelTool. toHTML(ObjectDB obj, java.lang.String mode, java.io.PrintWriter out)
Deprecated, for removal: This API element is subject to removal in a future version.void
ExcelTool. toHTML(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.io.PrintWriter out)
Deprecated, for removal: This API element is subject to removal in a future version.static java.lang.String
ImportExportTool. toJSON(ObjectDB obj, java.lang.String mode, boolean inline)
Single record JSON export (with children if full)static java.lang.String
ImportExportTool. toJSON(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, boolean inline)
Multiple records JSON exportvoid
ExcelTool. toPOI(ObjectDB obj, java.lang.String mode, java.io.OutputStream out)
Export object form as Excel workbook (binary format)java.lang.String
ExcelTool. toPOI(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.io.OutputStream out)
Export object list as Excel workbook (binary format)static java.lang.String
ImportExportTool. toXML(ObjectDB obj, java.lang.String mode, boolean timestamp, boolean inline)
Single record XML export (with children if full)static java.lang.String
ImportExportTool. toXML(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, boolean timestamp, boolean inline)
Multiple records XML export (with children if full)static java.lang.String
ImportExportTool. toYAML(ObjectDB obj, java.lang.String mode, boolean inline)
Single record YAML export (with children if full)static java.lang.String
ImportExportTool. toYAML(ObjectDB obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, boolean inline)
Multiple records YAML exportstatic java.lang.String
ImportExportTool. toZIP(ObjectDB obj, java.lang.String row_id, java.lang.String mode, java.io.OutputStream out, boolean timestamp)
Export object to ZIP formatstatic java.lang.String
ImportExportTool. toZIP(ObjectDB obj, java.lang.String row_id, java.lang.String mode, javax.servlet.http.HttpServletResponse response, boolean timestamp)
Export into a ZIP (XML and documents)static java.lang.String
JSONTool. viewMetadataToJson(Grant g, View view, ObjectDB parent, boolean home)
Deprecated, for removal: This API element is subject to removal in a future version.static void
XMLTool. xmlToObject(ObjectDB obj, java.lang.String xml)
Converts standard XML message into object fieldsstatic void
XMLTool. xmlToObjectFilters(ObjectDB obj, java.lang.String xml)
Converts standard XML message into object filtersstatic java.lang.String
XSDTool. xsdContextSchema(ObjectDB obj)
Generates XSD schema for object's contextstatic java.lang.String
XSDTool. xsdCrosstabSchema(ObjectDB obj)
Deprecated, for removal: This API element is subject to removal in a future version.static Crosstab
XSDTool. xsdDataToCrosstab(ObjectDB obj, org.w3c.dom.Node message)
Deprecated, for removal: This API element is subject to removal in a future version.static java.lang.String
XSDTool. xsdDataToFields(ObjectDB obj, org.w3c.dom.Node node)
Converts XSD XML data (as a DOM node) to object fields and complete data with DBstatic java.lang.String
XSDTool. xsdDataToFields(ObjectDB obj, org.w3c.dom.Node node, boolean client)
Converts XSD XML data (as a DOM node) to object fieldsstatic boolean
XSDTool. xsdDataToFilters(ObjectDB obj, org.w3c.dom.Node node)
Converts XSD XML filters (as a DOM node) to object filtersstatic java.lang.String
XSDTool. xsdMetaDataSchema(ObjectDB obj)
Generates XSD schema for object's meta datastatic java.lang.String
XSDTool. xsdSchema(ObjectDB obj, boolean filter, boolean action, java.lang.String extraElements)
Generates XSD schema for fields of filters (depending on filter parameter) for objectConstructors in com.simplicite.util.tools with parameters of type ObjectDB Constructor Description BusinessObjectTool(ObjectDB object)
Constructor -
Uses of ObjectDB in com.simplicite.webapp
Fields in com.simplicite.webapp declared as ObjectDB Modifier and Type Field Description ObjectDB
ObjectContextWeb. parent
Parent objectMethods in com.simplicite.webapp that return ObjectDB Modifier and Type Method Description ObjectDB
WebServicesFactory. borrowObject(java.lang.String name)
Deprecated.Use borrowObject with additional argumentObjectDB
WebServicesFactory. borrowObject(java.lang.String name, boolean createNonPooled)
Get a business object from the business objects poolObjectDB
ObjectContextWeb. initActivityObject(Processus p, ActivityFile context)
Prepare one object for the contextual activityObjectDB
ObjectContextWeb. readActivityContext(ActivityFile context)
Read any UI data into activityMethods in com.simplicite.webapp with parameters of type ObjectDB Modifier and Type Method Description void
ObjectContextWeb. apply(ObjectDB obj)
Apply the context related to object: apply constraints, init hooksvoid
ObjectContextWeb. apply(ObjectDB obj, java.lang.String edit)
Apply the context related to object: apply constraints, init hooks and user filtersjava.lang.String
WebServicesFactory. importwsdl(ObjectDB[] objs)
Generates import WSDL contractvoid
ObjectContextWeb. initAction(ObjectDB obj)
Apply user's preferences for actionsvoid
ObjectContextWeb. initForm(ObjectDB obj)
Prepare formvoid
ObjectContextWeb. initList(ObjectDB obj)
Hide all fields related to the parent object in panels.
Display extended fields in case of edit mode.
Apply user preferences (more on list and fields ordering).static void
ObjectContextWeb. initList(ObjectDB obj, ObjectDB parent, boolean more)
Hide all fields related to the parent object in panels.
Display extended fields in case of edit mode.
Apply user preferences (more on list and fields ordering).static void
ObjectContextWeb. initList(ObjectDB obj, java.util.List<java.lang.String> prefs, ObjectDB parent, boolean more)
Hide all fields related to the parent object in panels.
Display extended fields in case of edit mode.
Apply user preferences (more on list and fields ordering).void
ObjectContextWeb. initSearch(ObjectDB obj)
Apply user's preferences for searchvoid
ObjectContextWeb. initWebService(ObjectDB obj, int context, Parameters.ContextParam p)
Object init switch for use by webservices (and related APIs : Ajax, ...)void
WebServicesFactory. returnObject(ObjectDB obj)
Return a business object to the business objects pooljava.lang.String
WebServicesFactory. service(ObjectDB obj, org.w3c.dom.Node body, java.lang.String wsSecurityTokenId)
Object servicejava.lang.String
WebServicesFactory. wsdl(ObjectDB obj)
Generates WSDL contract for specified objectjava.lang.String
WebServicesFactory. xsd(ObjectDB obj, java.lang.String extraTypes)
Generates XSD schema for a business object -
Uses of ObjectDB in com.simplicite.webapp.services
Methods in com.simplicite.webapp.services that return ObjectDB Modifier and Type Method Description ObjectDB
RESTServiceExternalObject. borrowAPIObject(java.lang.String name)
Borrow a pooled API object or provide a non pooled object (pooled objects are only available on the API endpoint)Methods in com.simplicite.webapp.services with parameters of type ObjectDB Modifier and Type Method Description void
RESTServiceExternalObject. returnAPIObject(ObjectDB obj)
Return pooled API object or does nothing (pooled objects are only available on the API endpoint) -
Uses of ObjectDB in com.simplicite.webapp.tools
Methods in com.simplicite.webapp.tools with parameters of type ObjectDB Modifier and Type Method Description static java.lang.String
JSONServletTool. action(ObjectDB obj, Action action, ServletParameters params, boolean embedded)
static java.lang.String
JSONServletTool. associate(ObjectDB obj, ServletParameters params)
Service to associate objectsstatic java.lang.String
JSONServletTool. count(ObjectDB obj, int context, ServletParameters params, boolean embedded)
static java.lang.String
JSONServletTool. create(ObjectDB obj, ServletParameters params)
static java.lang.String
JSONServletTool. create(ObjectDB obj, ServletParameters params, boolean embedded)
static java.lang.String
JSONServletTool. create(ObjectDB obj, ServletParameters params, boolean timestamps, Parameters.InlineParam inlines, boolean embedded)
static java.lang.String
JSONServletTool. crosstab(ObjectDB obj, Crosstab c, ServletParameters params)
static java.lang.String
JSONServletTool. crosstab(ObjectDB obj, Crosstab c, ServletParameters params, boolean embedded)
static java.lang.String
JSONServletTool. crosstabcubes(ObjectDB obj, Crosstab c, ServletParameters params)
static java.lang.String
JSONServletTool. crosstabcubes(ObjectDB obj, Crosstab c, ServletParameters params, boolean embedded)
static java.lang.String
JSONServletTool. delete(ObjectDB obj, ServletParameters params)
static java.lang.String
JSONServletTool. delete(ObjectDB obj, ServletParameters params, boolean embedded)
static java.lang.String
JSONServletTool. deleteAll(ObjectDB obj, ServletParameters params, boolean embedded)
Bulk deletionstatic java.lang.String
JSONServletTool. documentation(ObjectDB obj, boolean html, boolean header, boolean services, int titleLevel)
Documentation (raw Markdown or HTML)static java.lang.String
JSONServletTool. getError(ObjectDB obj, java.lang.String err, boolean metadata)
static java.lang.String[]
JSONServletTool. getErrors(ObjectDB obj, java.util.List<java.lang.String> msg, boolean metadata)
static java.lang.String
ServletTool. getRowIdFromParameters(ObjectDB obj, Parameters params)
Get object row ID field values from parameters (using actual object row ID name or, if not found, default row ID name)static java.lang.String
ServletTool. getRowIdFromRequest(ObjectDB obj, javax.servlet.http.HttpServletRequest request)
Get object row ID field values from HTTP request (using actual object row ID name or, if not found, default row ID name)static java.lang.String
JSONServletTool. indexsearch(Grant g, java.lang.String oneObject, java.lang.String req, Parameters.InlineParam inlines, boolean embedded, boolean metadata, int context, ObjectDB parent)
static java.lang.String
JSONServletTool. indexsearch(Grant g, java.lang.String oneObject, java.lang.String req, Parameters.InlineParam inlines, boolean embedded, boolean metadata, int context, ObjectDB parent, java.util.Map<java.lang.String,java.lang.String> filters, boolean objectFilter)
static java.lang.String
JSONServletTool. merge(ObjectDB obj, ServletParameters params)
static java.lang.String
JSONServletTool. placemap(ObjectDB obj, PlaceMap pm, ServletParameters params, boolean embedded)
Place map datastatic java.lang.String
JSONServletTool. populate(ObjectDB obj, ServletParameters params, Parameters.InlineParam inlines, boolean embedded)
static java.lang.String
JSONServletTool. print(ObjectDB obj, PrintTemplate pt, ServletParameters params, boolean embedded)
Publicationstatic void
JSONServletTool. readActionFields(ObjectDB obj, Action action, ServletParameters params)
Read action fields from request and add unmapped fields to action as simple String values.static java.lang.String
JSONServletTool. search(ObjectDB obj, int context, ServletParameters params, boolean timestamps, Parameters.InlineParam inlines, boolean embedded, boolean metadata, boolean visibleOnly, java.lang.String edit)
static void
ServletTool. selectObjectContext(ObjectDB obj, java.lang.String rowId, int context, Parameters.ContextParam params)
Select the record and apply the context on different rowIdstatic void
ServletTool. setObjectField(ObjectDB obj, ObjectField field, java.lang.String[] vals, java.util.List<Parameters.DocParam> docs)
static void
ServletTool. setObjectFields(ObjectDB obj, Parameters params, int context, java.lang.String dotReplacement, boolean checkUpdatable)
static void
ServletTool. setObjectFieldsFromParameters(ObjectDB obj, Parameters params, java.lang.String dotReplacement)
Sets object field values from parametersstatic void
ServletTool. setObjectFilterFromRequest(ObjectDB obj, ServletParameters params, ObjectField field, java.lang.String fieldParamName)
static void
ServletTool. setObjectFiltersFromRequest(ObjectDB obj, ServletParameters params)
Sets object field filters from HTTP parametersstatic void
ServletTool. setObjectFiltersFromRequest(ObjectDB obj, ServletParameters params, java.lang.String dotReplacement)
Sets object field filters from HTTP parametersstatic java.lang.String
JSONServletTool. update(ObjectDB obj, ServletParameters params)
static java.lang.String
JSONServletTool. update(ObjectDB obj, ServletParameters params, boolean embedded)
static java.lang.String
JSONServletTool. update(ObjectDB obj, ServletParameters params, boolean timestamps, Parameters.InlineParam inlines, boolean embedded, Parameters.TreeviewParam tv)
static java.lang.String
JSONServletTool. update(ObjectDB obj, ServletParameters params, Parameters.TreeviewParam tv)
static java.lang.String
JSONServletTool. updateAll(ObjectDB obj, ServletParameters params, boolean embedded)
-