public class YcockpitManager extends GeneratedYcockpitManager
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreatorDEFAULT_INITIAL_ATTRIBUTES| Constructor and Description |
|---|
YcockpitManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
createEssentialData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
Implement this method to create initial objects.
|
void |
createProjectData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
Implement this method to create data that is used in your project.
|
static YcockpitManager |
getInstance()
Get the valid instance of this manager.
|
getDefaultAttributeModes, getNamecheckBeforeItemRemoval, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrappublic static final YcockpitManager getInstance()
public void createEssentialData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
An example usage of this method is to create required cronjobs or modifying the type system (setting e.g some default values)
createEssentialData in class Extensionparams - the parameters provided by user for creation of objects for the extensionjspc - the jsp context; you can use it to write progress information to the jsp page during creationpublic void createProjectData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
An example use is to import initial data like currencies or languages for your project from an csv file.
createProjectData in class Extensionparams - the parameters provided by user for creation of objects for the extensionjspc - the jsp context; you can use it to write progress information to the jsp page during creationCopyright © 2018 SAP SE. All Rights Reserved.