Uses of Class
com.simplicite.util.ObjectCore
-
Packages that use ObjectCore Package Description com.simplicite.util com.simplicite.util.tools -
-
Uses of ObjectCore in com.simplicite.util
Subclasses of ObjectCore in com.simplicite.util Modifier and Type Class Description class
ConfigurationObject
Abstract object from which all configuration objects inheritsclass
ObjectDB
Business object stored in database
The object definition is loaded from repository using user language and rights
The object is associated to a physical storage in the database (table in general)
By default, the object has a unique 'row_id' field which is always the first of them
Before the creation, the row ID must be set to 0
After creation, the row_id is always greater than 0
The object may have a timestamp, in this case 4 fields are added:
- 'created_dt' creation datetime
- 'created_by' creation user login
- 'updated_dt' last update datetime
- 'updated_by' last update user login
The object must have:
- a functional key based on one or more fields
- translation in each language with online helps
- function for CRUD to grant actions to the user groups
The object also may have:
- some graphs and crosstables based on the fields
- publication templates to many output formats
- scripted hooks to override some core methods
- constraints to change the object/fields rules on the fly
- etc.class
ObjectService
Service business objectclass
ObjectServiceLDAP
This class is for mapping a remote LDAP® 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
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
ObjectServiceSimplicite
This class is for remote Simplicité® objects.class
ScriptedObjectDB
Business object stored in database with scripted implementationFields in com.simplicite.util declared as ObjectCore Modifier and Type Field Description ObjectCore
ObjectData.Dyn. m_parent
Parent object contextMethods in com.simplicite.util that return ObjectCore Modifier and Type Method Description ObjectCore
ObjectCore. getParentObject()
Get the contextual parent object for child listsMethods in com.simplicite.util with parameters of type ObjectCore Modifier and Type Method Description java.lang.Object
ScriptInterpreter. eval(ObjectCore obj, int context, java.lang.String script)
java.lang.Object
ScriptInterpreter. eval(ObjectCore obj, java.lang.String[] row, int context, java.lang.String script, java.util.Map<java.lang.String,java.lang.Object> in, java.util.Map<java.lang.String,java.lang.Object> out)
java.lang.String
ObjectField. evalDefault(ObjectCore obj)
Default value evaluationjava.lang.String
Action. extractURL(ObjectCore obj, java.lang.String contextParams)
Extract URLjava.lang.String
TreeView.TreeViewNode. extractURL(ObjectCore obj, java.lang.String contextParams)
Extract external URLjava.lang.String
Constraint. generateImpactResource(ObjectCore obj, java.util.List<java.lang.String> impactedFields)
Resource
Constraint. generateResource(ObjectCore obj)
Prepare a resource script for front-end usage (EFFECT_FRONT = javascript syntax)
Note that support for legacy web UI is limitedjava.lang.String[]
ObjectField. getAllCodes(ObjectCore obj, java.util.List<java.lang.String[]> rows)
Get all codes for specified object data rowsjava.lang.String
Action. getAnchor(ObjectCore obj, java.lang.String contextParams)
Get URL anchorjava.lang.String
Action. getAnchor(ObjectCore obj, java.lang.String contextParams, java.lang.String extraParams)
Get URL anchorjava.lang.String
ObjectField. getDesc(ObjectCore obj)
Get the alias or null if no aliasstatic java.lang.String[]
ObjectCore. getFieldValues(ObjectCore obj, java.util.List<java.lang.String[]> rows, ObjectField f)
Get values of specified field from specified object data rowsstatic ObjectFieldSearch[]
ObjectCore. getFilters(ObjectCore obj)
Get current filters of specified objectint
ObjectField. getIndex(ObjectCore o)
Get position index in object fieldsjava.lang.Object
GrantCore. getObjectParameter(ObjectCore obj, java.lang.String name)
Gets one object parameterjava.util.Map<java.lang.String,java.io.Serializable>
GrantCore. getObjectParameters(ObjectCore obj)
Gets all object parametersstatic java.lang.String[]
ObjectCore. getOldValues(ObjectCore obj)
Get current old values of specified objectObjectField
ObjectCore. getParentField(ObjectCore parent, ObjectField childField)
Look for a field in the parent object matching with a child inputstatic java.lang.String[]
ObjectCore. getValues(ObjectCore obj)
Get current values of specified objectstatic void
ObjectCore. initLists(ObjectCore obj, boolean creation)
Set the linked enum and status fieldsstatic void
ObjectCore. initLists(ObjectCore obj, boolean creation, boolean search)
Set the linked enum and status fieldsjava.io.Serializable
GrantCore. removeObjectParameter(ObjectCore obj, java.lang.String name)
Unsets an object parametervoid
GrantCore. removeObjectParameters(ObjectCore obj, java.lang.String prefix)
Unsets object parameters starting with prefixstatic void
ObjectCore. setFilters(ObjectCore obj, ObjectFieldSearch[] filters)
Set current filters for specified objectvoid
ObjectField. setGroupByOrder(int index, ObjectCore obj)
Set the current 'group by' order in listvoid
ObjectField. setGroupByOrderDefault(int index, ObjectCore obj)
Set default group by in listvoid
GrantCore. setObjectParameter(ObjectCore obj, java.lang.String name, java.io.Serializable value)
Sets one object session parameter (useful, for instance, to store data thru different pages and contexts)static void
ObjectCore. setOldValues(ObjectCore obj, java.lang.String[] oldvalues)
Set current old values for specified objectvoid
ObjectCore. setParentObject(ObjectCore obj)
Set the contextual parent object for child listsstatic void
ObjectCore. setValues(ObjectCore obj, java.lang.String[] values, boolean oldValues)
Set current values for specified object.static void
ObjectCore. setValues(ObjectCore obj, java.lang.String[] values, java.lang.Boolean withOldValues, boolean withDocs)
Set current values for specified object.static void
ObjectCore. setValuesFromJSONObject(ObjectCore obj, org.json.JSONObject values, boolean oldValues)
Set current values for specified object from JSON objectConstructors in com.simplicite.util with parameters of type ObjectCore Constructor Description Console(ObjectCore obj)
Constructor for business objectScriptInterpreterConsole(ObjectCore obj)
Deprecated. -
Uses of ObjectCore in com.simplicite.util.tools
Methods in com.simplicite.util.tools with parameters of type ObjectCore Modifier and Type Method Description static java.lang.String
CSVTool. csvHeader(ObjectCore obj)
Generates CSV header for objectstatic void
CSVTool. cvsToObject(ObjectCore obj, java.lang.String csv)
Converts CSV message into object fieldsstatic void
CSVTool. cvsToObjectFilters(ObjectCore obj, java.lang.String csv)
Converts CSV message into object filtersstatic java.util.List<ObjectField>
CSVTool. getVisibleColumns(ObjectCore obj, java.lang.String mode, boolean tech)
Visible columns to exportstatic boolean
CSVTool. isFormVisible(boolean full, ObjectCore obj, ObjectField f)
Is field visible for CSV export in a single record contextstatic boolean
CSVTool. isListVisible(boolean full, ObjectCore obj, ObjectField f)
Is field visible for CSV export in a multiple records contextstatic java.lang.String
CSVTool. objectListItemToCsv(ObjectCore obj, java.lang.String[] vals)
Converts object list into CSVstatic java.lang.String
CSVTool. objectToCsv(ObjectCore obj)
Converts object fields into CSVstatic java.lang.String
CSVTool. objectToCSV(ObjectCore obj, java.util.List<java.lang.String[]> rows, java.lang.String mode, java.lang.String sep, java.lang.String quote, boolean tech)
Export to CSV
-