public class ObjectService extends ScriptedObjectDB
Service business object.
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 |
---|
ObjectService() |
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() |
java.util.Vector<java.lang.String[]> |
searchService(boolean pagine) |
boolean |
selectService(java.lang.String rowId,
boolean copy) |
org.json.JSONObject |
serviceConfig() |
java.lang.String |
updateService() |
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, initAgenda, initAssociate, initCopy, initCreate, initCrosstab, initDataMapSelect, initDelete, initExport, initGraph, initList, initPlaceMap, initPrintTemplate, initRefSelect, initSearch, initUpdate, invokeAction, invokeCallback, invokeMethod, invokePrint, isActionEnable, isCopyEnable, isCreateEnable, isCrosstabEnable, isDeleteEnable, isGraphEnable, isHistoric, isMergeMaster, isOpenEnable, isPrintTemplateEnable, isStateTransitionEnable, isUndoable, isUpdateEnable, load, postAlert, postCreate, postDelete, postDeleteAll, postExport, postImport, postLoad, 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, initUpdateAll, 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 org.json.JSONObject serviceConfig()
public long countService()
public java.util.Vector<java.lang.String[]> searchService(boolean pagine)
public boolean selectService(java.lang.String rowId, boolean copy)
public DocumentDB dbdocService(java.lang.String rowId, java.lang.String fieldName)
public java.lang.String createService()
public java.lang.String updateService()
public java.lang.String deleteService()
public java.lang.Object actionService(java.lang.String action)
Copyright (c)2006-2014 Simplicite Software. All Rights Reserved.