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)
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, TYPE_QUERY, TYPE_SERVICE, TYPE_SERVICE_OPENDATASOFT, TYPE_SERVICE_SALESFORCE, TYPE_SERVICE_SIMPLICITE, VIEW_MODE_ACCORDION, VIEW_MODE_COLLAPSED, VIEW_MODE_EXTENDED, VIEW_MODE_TABS
Constructor and Description |
---|
ObjectServiceSimplicite() |
Modifier and Type | Method and 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 agenda
|
void |
initAssociate(ObjectDB parent)
Hook to init the association before associate dialog
|
void |
initCopy()
Hook to init the Copy before user dialog
|
void |
initCreate()
Hook to init the Creation before user dialog
|
void |
initCrosstab(java.lang.String crosstabName)
Hook to init a crosstable
|
void |
initDataMapSelect(java.lang.String dataMapName,
ObjectDB parent)
Hook to init the data map select before user dialog
|
void |
initDelete()
Hook to init the Delete before delete dialog
|
void |
initExport()
Hook to init the Export before export dialog
|
void |
initGraph(java.lang.String graphName)
Hook to init a graph
|
void |
initList(ObjectDB parent)
Hook to init the List before user dialog
|
void |
initPlaceMap(PlaceMap placemap)
Hook to init a place map
|
void |
initPrintTemplate(java.lang.String printTemplateName)
Hook to init a print templates
|
void |
initRefSelect(ObjectDB parent)
Hook to init the reference select before select dialog
|
void |
initSearch()
Hook to init the Search before user dialog
|
void |
initUpdate()
Hook to init the Update before update dialog
|
void |
initUpdateAll()
Hook to init the Update before bulk update dialog
|
void |
postLoad()
Hook called after loading the object definition.
|
java.util.Vector<java.lang.String[]> |
searchService(boolean pagine) |
boolean |
selectService(java.lang.String rowId,
boolean copy) |
java.lang.String |
updateService() |
serviceConfig
canCreateOnLink, canFollowLink, canReference, canUpdateAll, checkExpression, clear, displayDataMap, displayForm, displayList, displayRefSelect, displaySearch, evalExpression, fieldCompletion, getAgendaDay, getAgendaLabel, getAgendaSelector, getAgendaValue, getAgendaWeek, getCount, getDeadlineDate, getEmailRecipientType, getGroupEmailRecipientType, getImage, getStyle, getStyle, getTargetObject, getUserKeyLabel, getUserKeySearch, invokeAction, invokeCallback, invokeMethod, invokePrint, isActionEnable, isCopyEnable, isCreateEnable, isCrosstabEnable, isDeleteEnable, isGraphEnable, isHistoric, isMergeMaster, isOpenEnable, isPrintTemplateEnable, isStateTransitionEnable, isUndoable, isUpdateEnable, load, postAlert, postCreate, postDelete, postDeleteAll, postExport, postImport, postObjectSearch, postRedo, postSave, postSaveTimesheet, postSearch, postSelect, postUndo, postUpdate, postUpdateAll, postValidate, postValidateSearch, preAlert, preCreate, preDelete, preDeleteAll, preExport, preImport, preObjectSearch, preRedo, preSave, preSaveTimesheet, preSearch, preSelect, preStateTransition, preUndo, preUpdate, preUpdateAll, preValidate, preValidateSearch, spamEmail, spamGroup
addLink, addLinkMetaObject, buildTreeList, canUpdateAllEnum, canUpdateAllStatus, checkCreateVisibilities, checkDelete, checkDeleteVisibilities, checkUpdateVisibilities, completeForeignKeys, count, create, del, delete, delete, deleteTree, evalCalculatedFields, evalCalculatedFields, evalNextRowId, evalObjectCalculatedFields, getAlert, getContext, getCount, getFieldDefaultValue, getFileName, getFilePath, getFirstRowId, getLastRowId, getNextRowId, getParentObject, getPreviousRowId, getQuery, getRefCount, getSearchSpec, getTemplateRoot, init, init, initFromTable, initWebService, invokeAction, invokePrint, load, makeTree, merge, populate, populate, populate, populateForeignKey, preLoad, prepareTemplate, save, search, search, search, searchCrosstab, searchExport, searchRowId, searchRowId, select, select, select, storeParentContext, storeParentContext, update, validate, validate, validateSearch
addAgenda, addConstraint, addCrosstab, addDataMap, addDefaultValues, addGraph, addHook, addLinkDataMap, addListOperationField, addPlaceMap, addPredefinedSearch, addPrintTemplate, addScript, addSharedScript, addTimesheet, applyConstraints, applyFieldConstraints, applyObjectConstraints, applyTargetConstraints, buildInsertSQL, canClose, canCopy, canCreateOnLinks, canDeleteAll, canExport, canFollowLink, canFollowLinks, canListAccessNewForm, canListAccessNewLine, canListAccessNewLoop, canPrint, canSave, canSelectRow, canUpdateAll, checkCreateConstraints, checkDeleteConstraints, checkUpdateConstraints, convertFilterToService, convertGuiToService, convertServiceToFilter, convertServiceToGui, enableGC, evalExpression, evalExpression, evalExpression, evalInputOldValue, evalInputValue, fieldsToListRow, fieldsToListRow, freeListTree, garbageCollection, genAction, genCommonActions, getAction, getActions, getAgenda, getAgendas, getBooleanParameter, getCacheFrom, getCacheKey, getCacheSelect, getCode, getCodes, getContextTitle, getCopyId, getCreatedBy, getCreatedDate, getCrosstab, getCrosstabs, getCtxHelp, getCtxHelps, getCurrentAction, getCurrentItem, getCurrentList, getCurrentPage, getCurrentPos, getCurrentRowId, getCurrentView, getData, getDataMap, getDataSource, getDataSourceVendor, getDbField, getDBField, getDbIndex, getDBIndex, getDBName, getDefaultLink, getDefaultSearchSpec, getDisplay, getDisplay, getDocFields, getDoubleParameter, getField, getField, getField, getField, getFieldArea, getFieldArea, getFieldAreas, getFieldAtIndex, getFieldByTranslation, getFieldFilter, getFieldIndex, getFieldIndex, getFieldOldValue, getFieldOrder, getFields, getFields, getFieldValue, getFieldValues, getFieldValues, getFilters, getFilters, getFlagParameter, getFloatParameter, getFonctId, getForeignKeys, getFormLayout, getFullInput, getFullInput, getFullInputIndex, getFullInputIndex, getFunctId, getGrant, getGraph, getGraphs, getHelp, getHistoricDBName, getHistoricName, getHook, getHooks, getIconCode, getId, getImage, getImageField, getIndex, getIndex, getInheritedObjects, getInput, getInput, getInputAtIndex, getInputIndex, getInputIndex, getInstanceName, getIntParameter, getLastUpdatedBy, getLastUpdatedDate, getLink, getLinkDataMap, getLinks, getListEditMode, getListOperationFields, getListSize, getListTree, getLongParameter, getMaxPage, getName, getObjectId, getObjectName, getObjectParameter, getOldStatus, getOldValues, getOldValues, getParameter, getParameter, getParentField, getParentIdx, getParentObjectRefField, getParentValues, getPlaceMap, getPlaceMaps, getPredefinedSearch, getPredefinedSearchIndex, getPrintTemplate, getPrintTemplates, getRefField, getRootField, getRowId, getRowIdField, getScripts, getSearchLimit, getSearchSpec, getSelectedIds, getSharedScripts, getStatus, getStatusField, getStatusIndex, getStyle, getTable, getTemplate, getTimesheet, getTimesheets, getTitle, getTitle, getValues, getValues, getView, getView, getViewMode, getViews, hasChanged, hasField, hasFieldType, hasFullInput, hasInput, hasMoreOnForm, hasMoreOnList, hasMoreOnSearch, hasSearchLimitError, haveMore, initLists, isAgendaInstance, isAreaVisible, isBatchInstance, isChildOf, isChildOf, isCopied, isCopy, isDataMapInstance, isDataMappedFrom, isDate, isDistinct, isExport, isFieldForbidden, isFieldSearchable, isFieldUpdatable, isFieldVisible, isFiltered, isForm, isHomeInstance, isIndexable, isInstanceOf, isLimit, isListEditable, isListSearch, isListSearchVisible, isListTree, isLoaded, isMainInstance, isMenuSearch, isMergeable, isModelerInstance, isMoreForm, isMoreFormEnable, isMoreListEnable, isMoreOnForm, isMoreOnList, isMoreRows, isMoreSearch, isNew, isPanelInstance, isPanelOf, isPanelOf, isPredefSearch, isProcessInstance, isQuerySpecific, isReadOnly, isReadOnlyFields, isRefCount, isRefCountEnable, isReferencedFrom, isReferencedFrom, isRefInstance, isScripted, isServiceSpecific, isSocial, isTmpInstance, isTreeviewInstance, isUIInstance, isUpdateAll, isWebServiceInstance, lastUsage, listRowToFields, listRowToFields, listRowToFields, listSelectAll, listSelectId, listSelectPage, listUnselectAll, listUnselectId, oldFieldsToListRow, oldFieldsToListRow, parseDataSourceName, parseTableName, prepareExpression, preparePagination, prepareSQL, removeField, removeParameter, removeParameters, resetAllFields, resetAllFieldsRequired, resetAllFieldsSearch, resetAllFieldsSearchRequired, resetAllFieldsUpdatable, resetContextDefaultValues, resetFilter, resetFilters, resetFilters, resetFiltersOrdersAndCalcDefaults, resetOrder, resetOrder, resetOrders, resetOrders, resetRequireds, resetSearchables, resetSelectedIds, resetUpdatables, resetValues, resetValues, resetVisibilities, selectCurrentItemFromList, selectItemFromList, setAllFieldsUpdatable, setAllFieldUpdatable, setCacheFrom, setCacheSelect, setClose, setCopy, setCopyId, setCreateOnLinks, setCrosstabVisibility, setCtxHelps, setCurrentAction, setCurrentList, setCurrentPage, setCurrentPos, setCurrentPos, setCurrentView, setData, setDataSource, setDataSourceVendor, setDBName, setDefaultLink, setDefaultSearchSpec, setDeleteAll, setDisplay, setDistinct, setExport, setFieldFilter, setFieldOldValue, setFieldOrder, setFields, setFieldValue, setFilters, setFilters, setFilters, setFollowLinks, setForm, setFormLayout, setFunctId, setGrant, setHaveMore, setHelp, setHistoric, setIconCode, setId, setIndexable, setInheritedObject, setInstanceName, setLimit, setListAccessNewForm, setListAccessNewLine, setListAccessNewLine, setListEdit, setListEditable, setListEditMode, setListSearch, setListSearchVisible, setListSize, setListTree, setMaxPage, setMenuSearch, setMergeable, setMoreForm, setMoreOnForm, setMoreOnList, setMoreRows, setMoreSearch, setName, setOldValues, setOldValues, setOldValues, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParentObject, setParentObjectRefField, setParentValues, setPredefinedSearchIndex, setPredefSearch, setPrint, setPrintTemplateVisibility, setQuerySpecific, setReadOnly, setRefCount, setRowId, setSave, setSearchLimit, setSearchLimitError, setSearchSpec, setSearchSpec, setSelectRow, setServiceSpecific, setSocial, setStatus, setStatus, setStatus, setStatusField, setTable, setTemplate, setTimeStamp, setTitle, setUpdateAll, setValues, setValues, setValues, setValues, setValues, setValues, setValues, setViewMode, stateUpdated, toHTML, toHTML, toJSON, toJSON, toJSON, toJSON, toJSON, toJSON, toJSON, toJSON, toJSON, toString, toString, updateState, useForm, useLimit, useTimeStamp
public void postLoad()
ObjectDB
Hook called after loading the object definition.
postLoad
in class ScriptedObjectDB
public long countService()
countService
in class ObjectService
public java.util.Vector<java.lang.String[]> searchService(boolean pagine)
searchService
in class ObjectService
public boolean selectService(java.lang.String rowId, boolean copy)
selectService
in class ObjectService
public DocumentDB dbdocService(java.lang.String rowId, java.lang.String fieldName)
dbdocService
in class ObjectService
public java.lang.String createService()
createService
in class ObjectService
public java.lang.String updateService()
updateService
in class ObjectService
public java.lang.String deleteService()
deleteService
in class ObjectService
public java.lang.Object actionService(java.lang.String action)
actionService
in class ObjectService
public void initSearch()
ObjectDB
Hook to init the Search before user dialog
initSearch
in class ScriptedObjectDB
public void initList(ObjectDB parent)
ObjectDB
Hook to init the List before user dialog
initList
in class ScriptedObjectDB
public void initCreate()
ObjectDB
Hook to init the Creation before user dialog
initCreate
in class ScriptedObjectDB
public void initCopy()
ObjectDB
Hook to init the Copy before user dialog
initCopy
in class ScriptedObjectDB
public void initUpdate()
ObjectDB
Hook to init the Update before update dialog
initUpdate
in class ScriptedObjectDB
public void initDelete()
ObjectDB
Hook to init the Delete before delete dialog
initDelete
in class ScriptedObjectDB
public void initRefSelect(ObjectDB parent)
ObjectDB
Hook to init the reference select before select dialog
initRefSelect
in class ScriptedObjectDB
public void initDataMapSelect(java.lang.String dataMapName, ObjectDB parent)
ObjectDB
Hook to init the data map select before user dialog
initDataMapSelect
in class ScriptedObjectDB
public void initUpdateAll()
ObjectDB
Hook to init the Update before bulk update dialog
initUpdateAll
in class ObjectDB
public void initAssociate(ObjectDB parent)
ObjectDB
Hook to init the association before associate dialog
initAssociate
in class ScriptedObjectDB
public void initPrintTemplate(java.lang.String printTemplateName)
ObjectDB
Hook to init a print templates
initPrintTemplate
in class ScriptedObjectDB
public void initCrosstab(java.lang.String crosstabName)
ObjectDB
Hook to init a crosstable
initCrosstab
in class ScriptedObjectDB
public void initGraph(java.lang.String graphName)
ObjectDB
Hook to init a graph
initGraph
in class ScriptedObjectDB
public void initAgenda(Agenda agenda)
ObjectDB
Hook to init an agenda
initAgenda
in class ScriptedObjectDB
public void initPlaceMap(PlaceMap placemap)
ObjectDB
Hook to init a place map
initPlaceMap
in class ScriptedObjectDB
public void initExport()
ObjectDB
Hook to init the Export before export dialog
initExport
in class ScriptedObjectDB
Copyright (c)2006-2014 Simplicite Software. All Rights Reserved.