Package com.simplicite.util
Class ObjectServiceSimplicite
- java.lang.Object
-
- com.simplicite.util.ObjectCore
-
- com.simplicite.util.ObjectDB
-
- com.simplicite.util.ScriptedObjectDB
-
- com.simplicite.util.ObjectService
-
- com.simplicite.util.ObjectServiceSimplicite
-
- All Implemented Interfaces:
CacheInterface
,java.io.Serializable
public class ObjectServiceSimplicite extends ObjectService
This class is for remote Simplicité® objects.
This is used when the table name is set to "service-simplicite" (and the configuration details are stored as JSON in the search spec)- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.simplicite.util.ObjectCore
CONTEXT_ACTION, CONTEXT_AGENDA, CONTEXT_ASSOCIATE, CONTEXT_COPY, CONTEXT_CREATE, CONTEXT_CROSSTAB, CONTEXT_DATAMAPSELECT, CONTEXT_DELETE, CONTEXT_EXPORT, CONTEXT_GRAPH, CONTEXT_IMPORT, CONTEXT_LIST, CONTEXT_NONE, CONTEXT_PANELLIST, CONTEXT_PLACEMAP, CONTEXT_POSTVALIDATE, CONTEXT_PREVALIDATE, CONTEXT_PRINTTMPL, CONTEXT_REFSELECT, CONTEXT_SEARCH, CONTEXT_STATETRANSITION, CONTEXT_UPDATE, CONTEXT_UPDATEALL, DB_DERBY, DB_H2, DB_HSQLDB, DB_MSSQL, DB_MYSQL, DB_ORACLE, DB_POSTGRESQL, DB_UNKNOWN, DEL_CASCAD, DEL_IGNORE, DEL_NULL, DEL_RESTRICT, FORM_LAYOUT_COMPACT, FORM_LAYOUT_DEFAULT, LIST_ADD, LIST_EDIT, LIST_READ, PREDEF_SEARCH_NONE, PREDEF_SEARCH_ONLIST, PREDEF_SEARCH_USE_EDIT, PREDEF_SEARCH_USE_ONLY, SEARCH_DIALOG, SEARCH_DOCK, SEARCH_HIDE, SEARCH_LIST, TIMESTAMP_NON_BLOKING, TIMESTAMP_NONE, TIMESTAMP_OPTIMISTIC, TYPE_QUERY, TYPE_SERVICE, TYPE_SERVICE_LDAP, TYPE_SERVICE_OPENDATASOFT, TYPE_SERVICE_SALESFORCE, TYPE_SERVICE_SIMPLICITE, VIEW_MODE_ACCORDION, VIEW_MODE_COLLAPSED, VIEW_MODE_EXTENDED, VIEW_MODE_TABS, VIEW_MODE_TABS_VERTICAL
-
-
Constructor Summary
Constructors Constructor Description ObjectServiceSimplicite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
actionService(java.lang.String action)
long
countService()
java.lang.String
createService()
DocumentDB
dbdocService(java.lang.String rowId, java.lang.String fieldName)
java.lang.String
deleteService()
void
initAgenda(Agenda agenda)
Hook to init an agendavoid
initAssociate(ObjectDB parent)
Hook to init the associationvoid
initCopy()
Hook to init the copyvoid
initCreate()
Hook to init the creationvoid
initCrosstab(java.lang.String crosstabName)
Hook to init a pivot tablevoid
initDataMapSelect(java.lang.String dataMapName, ObjectDB parent)
Hook to init the data mapping selectionvoid
initDelete()
Hook to init the Delete before delete dialogvoid
initExport()
Hook to init the Export before export dialogvoid
initGraph(java.lang.String graphName)
Hook to init a graphvoid
initList(ObjectDB parent)
Hook to init the listvoid
initPlaceMap(PlaceMap placemap)
Hook to init a place mapvoid
initPrintTemplate(java.lang.String printTemplateName)
Hook to init a publication templatevoid
initRefSelect(ObjectDB parent)
Hook to init the reference selectionvoid
initSearch()
Hook to init the searchvoid
initUpdate()
Hook to init the updatevoid
initUpdateAll()
Hook to init the blulk updatevoid
postLoad()
Post load hookjava.util.List<java.lang.String[]>
searchService(boolean pagine)
boolean
selectService(java.lang.String rowId, boolean copy)
java.lang.String
updateService()
-
Methods inherited from class com.simplicite.util.ObjectService
serviceConfig
-
Methods inherited from class com.simplicite.util.ScriptedObjectDB
applyConstraints, applyFieldConstraints, applyObjectConstraints, applyStaticConstraints, applyTargetConstraints, canCreateOnLink, canFollowLink, canReference, canUpdateAll, checkExpression, checkObjectPropConstraints, clear, displayDataMap, displayForm, displayList, displayRefSelect, displaySearch, docuSign, evalExpression, fieldCompletion, getAgendaDay, getAgendaLabel, getAgendaSelector, getAgendaValue, getAgendaWeek, getCount, getCtxHelp, getDeadlineDate, getEmailRecipientType, getExportFileName, getGroupEmailRecipientType, getHelp, getImage, getImage, getImageTree, getMappedFilePath, getPredefinedSearches, getSocialShareData, getStyle, getStyle, getStyleTree, getTargetObject, getUserKeyLabel, getUserKeySearch, initAction, invokeAction, invokeCallback, invokeCallback, invokeMethod, invokePrint, isActionEnable, isCopyEnable, isCreateEnable, isCrosstabEnable, isDeleteEnable, isExportAllowed, isGraphEnable, isHistoric, isMergeEnable, isMergeMaster, isOpenEnable, isPrintTemplateEnable, isStateTransitionEnable, isUndoable, isUpdateEnable, postAlert, postCreate, postDelete, postDeleteAll, postExport, postImport, postObjectSearch, postRedo, postSave, postSaveTimesheet, postSearch, postSelect, postUndo, postUpdate, postUpdateAll, postUpdateAll, postValidate, postValidateSearch, preAlert, preCreate, preDelete, preDeleteAll, preExport, preImport, preObjectSearch, preRedo, preSave, preSavePredefinedSearch, preSaveTimesheet, preSearch, preSelect, preStateTransition, preUndo, preUpdate, preUpdateAll, preUpdateAll, preValidate, preValidateSearch, printed, spamEmail, spamGroup, unitTests
-
Methods inherited from class com.simplicite.util.ObjectDB
addLink, addLink, addLinkMetaObject, buildTreeList, canUpdateAllEnum, canUpdateAllStatus, checkCreateConstraints, checkCreateVisibilities, checkDelete, checkDeleteConstraints, checkDeleteVisibilities, checkUpdateConstraints, checkUpdateVisibilities, completeForeignKeys, completeForeignKeys, count, create, del, delete, delete, deleteTree, editTemplateUsage, evalCalculatedFields, evalCalculatedFields, evalNextRowId, evalObjectCalculatedFields, getAlert, getConsole, getCount, getCountGroupBy, getDirectURL, getFieldDefaultValue, getFileName, getFilePath, getFirstRowId, getInterface, getLastRowId, getNextRowId, getParentObject, getPreviousRowId, getQuery, getRefCount, getSearchSpec, getStyle, getTemplateRoot, getTool, getUserKeyList, hasFieldConstraints, hasTargetConstraints, init, initFromTable, insertTree, invokeAction, invokeAction, invokeAction, invokePrint, isUndoable, javascript, load, load, makeTree, merge, populate, populate, populate, populateForeignKey, postSavePredefinedSearch, preLoad, prepareActionURL, prepareTemplate, redirect, save, save, search, search, search, searchCrosstab, searchExport, searchGroupBy, searchGroupBy, searchRowId, searchRowId, select, select, select, selectWithoutFilters, sendJavaScript, sendRedirect, setConsole, setConstraint, storeParentContext, storeParentContext, toXML, update, update, validate, validate, validateSearch
-
Methods inherited from class com.simplicite.util.ObjectCore
addAgenda, addCrosstab, addDataMap, addDefaultValues, addGraph, addLinkDataMap, addListOperationField, addPlaceMap, addPredefinedSearch, addPrintTemplate, addReflexiveLink, addScript, addSharedScript, addTimesheet, buildInsertSQL, canClose, canCopy, canCreateOnLinks, canDeleteAll, canExport, canFollowLink, canFollowLinks, canGroupByFields, canListAccessNewForm, canListAccessNewLine, canListAccessNewLoop, canPreview, canPrint, canSave, canSaveAndClose, canSaveAndCopy, canSaveAndNew, canSelectRow, canUpdateAll, convertFilterToService, convertGuiToService, convertServiceToFilter, convertServiceToGui, destroy, enableGC, evalExpression, evalExpression, evalExpression, evalInputDisplayOldValue, evalInputDisplayValue, evalInputOldValue, evalInputValue, freeListTree, garbageCollection, genAction, genCommonActions, getAction, getActions, getAgenda, getAgendas, getAlias, getBooleanParameter, getCacheFrom, getCacheKey, getCacheSelect, getClassName, getCode, getCodes, getContext, getContextTitle, getCopyId, getCreatedBy, getCreatedDate, getCrosstab, getCrosstabs, getCtxHelps, getCurrentAction, getCurrentItem, getCurrentList, getCurrentPage, getCurrentPos, getCurrentRowId, getCurrentTransition, getCurrentView, getData, getDataMap, getDataSource, getDataSourceVendor, getDbField, getDBField, getDbIndex, getDBIndex, getDBName, getDefaultLink, getDefaultSearchSpec, getDesc, getDisplay, getDisplay, getDisplay, getDocFields, getDoubleParameter, getEndDateField, getField, getField, getField, getFieldArea, getFieldArea, getFieldAreas, getFieldAtIndex, getFieldByObjectFieldId, getFieldByTranslation, getFieldDisplayOldValue, getFieldDisplayValue, getFieldDisplayValue, getFieldFilter, getFieldIndex, getFieldIndex, getFieldOldValue, getFieldOrder, getFields, getFields, getFieldValue, getFieldValue, getFieldValues, getFieldValues, getFilters, getFilters, getFlagParameter, getFloatParameter, getFonctId, getForeignKeys, getFormLayout, getFullInput, getFullInput, getFullInputIndex, getFullInputIndex, getFunctId, getGrant, getGraph, getGraphs, getGroupByFields, getHistoricDBName, getHistoricName, getIconCode, getId, getImageField, getIndex, getIndex, getInheritedObjects, getInput, getInput, getInputAtIndex, getInputIndex, getInputIndex, getInstanceName, getIntParameter, getLabel, getLastUpdatedBy, getLastUpdatedDate, getLink, getLinkDataMap, getLinks, getListEditMode, getListOperationFields, getListSize, getListTree, getLongParameter, getMaxPage, getMenuSearch, getModuleId, getModuleId, getModuleIdByName, getModuleName, getName, getObjectId, getObjectLocation, getObjectName, getObjectParameter, getOldStatus, getOldValues, getOldValues, getParameter, getParameter, getParentField, getParentIdx, getParentObjectRefField, getParentValues, getPlaceMap, getPlaceMaps, getPluralDisplay, getPluralLabel, getPredefinedSearch, getPredefinedSearchIndex, getPredefSearch, getPrintTemplate, getPrintTemplates, getRefField, getRefFields, getReflexiveLinks, getRefObjects, getResource, getResources, getRootField, getRowId, getRowId, getRowIdField, getRowIdFieldIndex, getScript, getScriptId, getScripts, getSearchLimit, getSearchSpec, getSelectedIds, getSharedScript, getSharedScripts, getStartDateField, getStatus, getStatus, getStatusField, getStatusIndex, getTable, getTableAlias, getTemplate, getTemplateId, getTemplateName, getTimesheet, getTimesheets, getTitle, getTitle, getUIMiniature, getUITemplate, getValues, getValues, getView, getView, getViewMode, getViews, hasChanged, hasField, hasFieldType, hasFullInput, hasIndexableFields, hasInput, hasMenuDashboard, hasMenuTray, hasMoreOnForm, hasMoreOnList, hasMoreOnSearch, hasSearchLimitError, haveMore, initLists, initLists, isAgendaInstance, isAjaxInstance, isAreaVisible, isBatchInstance, isChildOf, isChildOf, isCopied, isCopy, isCronInstance, isCustomRowId, isDataMapInstance, isDataMappedFrom, isDate, isDistinct, isExport, isFieldForbidden, isFieldSearchable, isFieldUpdatable, isFieldVisible, isFieldVisibleJSON, isFiltered, isHistoricLog, isHistoricPost, isHistoricRedoLog, isHomeInstance, isIndexable, isInstanceOf, isInternalRowId, isJavaImplemented, isLimit, isListEditable, isListSearch, isListSearchVisible, isListTree, isListUpsertable, isLoaded, isMainInstance, isMenuSearch, isMergeable, isModelerInstance, isMoreForm, isMoreFormEnable, isMoreListEnable, isMoreOnForm, isMoreOnList, isMoreRows, isMoreSearch, isNew, isOrdered, isPanelInstance, isPanelOf, isPanelOf, isPredefSearch, isPredefSearchOnList, isProcessInstance, isQuerySpecific, isReadOnly, isReadOnlyFields, isRefCount, isRefCountEnable, isReferencedFrom, isReferencedFrom, isRefInstance, isScripted, isServiceSpecific, isSocial, isSocialInline, isSocialPopup, isSocialShare, isTimestampNonBlocking, isTimestampOptimistic, isTmpInstance, isTreeviewInstance, isUIInstance, isUndoableInstance, isUnique, isUnique, isUpdateAll, isWebServiceInstance, lastUsage, listSelectAll, listSelectId, listSelectPage, listUnselectAll, listUnselectId, parseDataSourceName, parseTableName, prepareExpression, preparePagination, prepareSQL, removeField, removeParameter, removeParameters, resetAllFields, resetAllFieldsRequired, resetAllFieldsSearch, resetAllFieldsSearchRequired, resetAllFieldsUpdatable, resetContextDefaultValues, resetFilter, resetFilters, resetFilters, resetFiltersOrdersAndCalcDefaults, resetGroupBy, resetOrders, resetOrders, resetRequireds, resetSearchables, resetSelectedIds, resetUpdatables, resetValues, resetValues, resetValues, resetVisibilities, selectCurrentItemFromList, selectItemFromList, setAlias, setAllFieldsUpdatable, setCacheFrom, setCacheSelect, setClassName, setClose, setContext, setCopy, setCopy, setCopyId, setCreateOnLinks, setCrosstabVisibility, setCtxHelps, setCurrentAction, setCurrentList, setCurrentPage, setCurrentPos, setCurrentPos, setCurrentTransition, setCurrentView, setData, setDataSource, setDataSourceVendor, setDBName, setDefaultLink, setDefaultSearchSpec, setDeleteAll, setDeleteAll, setDesc, setDisplay, setDistinct, setEndDateField, setExport, setExport, setFieldFilter, setFieldOldValue, setFieldOrder, setFields, setFieldValue, setFilters, setFilters, setFilters, setFollowLinks, setForm, setFormLayout, setFunctId, setGrant, setGroupByFields, setHaveMore, setHelp, setHistoric, setHistoricLog, setHistoricPost, setHistoricRedoLog, setIconCode, setId, setIndexable, setInheritedObject, setInstanceName, setLabel, setLimit, setListAccessNewForm, setListAccessNewLine, setListAccessNewLine, setListEdit, setListEdit, setListEditable, setListEditable, setListEditMode, setListSearch, setListSearchVisible, setListSize, setListTree, setListUpsertable, setMaxPage, setMenuDashboard, setMenuSearch, setMenuSearch, setMenuTray, setMergeable, setMergeable, setModuleId, setModuleName, setMoreForm, setMoreOnForm, setMoreOnList, setMoreRows, setMoreSearch, setName, setOldValues, setOldValues, setOldValues, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParentObject, setParentObjectRefField, setParentValues, setPluralDisplay, setPluralLabel, setPredefinedSearchIndex, setPredefSearch, setPredefSearch, setPredefSearch, setPredefSearchOnList, setPrint, setPrintTemplateVisibility, setQuerySpecific, setQuerySpecific, setReadOnly, setRefCount, setRowId, setSave, setSaveAndClose, setSaveAndCopy, setSaveAndNew, setScriptId, setSearchCreatedBy, setSearchCreatedDate, setSearchLimit, setSearchLimitError, setSearchSpec, setSearchSpec, setSearchUpdatedBy, setSearchUpdatedDate, setSelectRow, setServiceSpecific, setServiceSpecific, setSocial, setSocial, setStartDateField, setStatus, setStatus, setStatus, setStatusField, setTable, setTemplate, setTimestamp, setTimeStamp, setTitle, setUIMiniature, setUITemplate, setUpdateAll, setUpdateAll, setValues, setValues, setValues, setValues, setValues, setValues, setValues, setValues, setValuesFromJSONObject, setValuesFromJSONObject, setViewMode, testData, testData, toCSV, toCSV, toHTML, toHTML, toHTML, toJSON, toJSON, toJSON, toJSON, toJSON, toJSON, toJSON, toJSONObject, toJSONObject, toString, toString, toTSV, toTSV, useForm, useLimit, useTimeStamp
-
-
-
-
Method Detail
-
postLoad
public void postLoad()
Post load hook- Overrides:
postLoad
in classScriptedObjectDB
-
countService
public long countService()
- Overrides:
countService
in classObjectService
-
searchService
public java.util.List<java.lang.String[]> searchService(boolean pagine)
- Overrides:
searchService
in classObjectService
-
selectService
public boolean selectService(java.lang.String rowId, boolean copy)
- Overrides:
selectService
in classObjectService
-
dbdocService
public DocumentDB dbdocService(java.lang.String rowId, java.lang.String fieldName)
- Overrides:
dbdocService
in classObjectService
-
createService
public java.lang.String createService()
- Overrides:
createService
in classObjectService
-
updateService
public java.lang.String updateService()
- Overrides:
updateService
in classObjectService
-
deleteService
public java.lang.String deleteService()
- Overrides:
deleteService
in classObjectService
-
actionService
public java.lang.Object actionService(java.lang.String action)
- Overrides:
actionService
in classObjectService
-
initSearch
public void initSearch()
Description copied from class:ObjectDB
Hook to init the search- Overrides:
initSearch
in classScriptedObjectDB
-
initList
public void initList(ObjectDB parent)
Description copied from class:ObjectDB
Hook to init the list- Overrides:
initList
in classScriptedObjectDB
- Parameters:
parent
- Optional parent object
-
initCreate
public void initCreate()
Description copied from class:ObjectDB
Hook to init the creation- Overrides:
initCreate
in classScriptedObjectDB
-
initCopy
public void initCopy()
Description copied from class:ObjectDB
Hook to init the copy- Overrides:
initCopy
in classScriptedObjectDB
-
initUpdate
public void initUpdate()
Description copied from class:ObjectDB
Hook to init the update- Overrides:
initUpdate
in classScriptedObjectDB
-
initDelete
public void initDelete()
Description copied from class:ObjectDB
Hook to init the Delete before delete dialog- Overrides:
initDelete
in classScriptedObjectDB
-
initRefSelect
public void initRefSelect(ObjectDB parent)
Description copied from class:ObjectDB
Hook to init the reference selection- Overrides:
initRefSelect
in classScriptedObjectDB
- Parameters:
parent
- Parent object (from which selection is made)
-
initDataMapSelect
public void initDataMapSelect(java.lang.String dataMapName, ObjectDB parent)
Description copied from class:ObjectDB
Hook to init the data mapping selection- Overrides:
initDataMapSelect
in classScriptedObjectDB
- Parameters:
dataMapName
- Data mapping nameparent
- Parent object (from which selection is made)
-
initUpdateAll
public void initUpdateAll()
Description copied from class:ObjectDB
Hook to init the blulk update- Overrides:
initUpdateAll
in classObjectDB
-
initAssociate
public void initAssociate(ObjectDB parent)
Description copied from class:ObjectDB
Hook to init the association- Overrides:
initAssociate
in classScriptedObjectDB
- Parameters:
parent
- Parent object (from which association is made)
-
initPrintTemplate
public void initPrintTemplate(java.lang.String printTemplateName)
Description copied from class:ObjectDB
Hook to init a publication template- Overrides:
initPrintTemplate
in classScriptedObjectDB
- Parameters:
printTemplateName
- Publication template name
-
initCrosstab
public void initCrosstab(java.lang.String crosstabName)
Description copied from class:ObjectDB
Hook to init a pivot table- Overrides:
initCrosstab
in classScriptedObjectDB
- Parameters:
crosstabName
- Pivot table name
-
initGraph
public void initGraph(java.lang.String graphName)
Description copied from class:ObjectDB
Hook to init a graph- Overrides:
initGraph
in classScriptedObjectDB
- Parameters:
graphName
- Graph name
-
initAgenda
public void initAgenda(Agenda agenda)
Description copied from class:ObjectDB
Hook to init an agenda- Overrides:
initAgenda
in classScriptedObjectDB
- Parameters:
agenda
- Agenda
-
initPlaceMap
public void initPlaceMap(PlaceMap placemap)
Description copied from class:ObjectDB
Hook to init a place map- Overrides:
initPlaceMap
in classScriptedObjectDB
- Parameters:
placemap
- Place map
-
initExport
public void initExport()
Description copied from class:ObjectDB
Hook to init the Export before export dialog- Overrides:
initExport
in classScriptedObjectDB
-
-