public class PrintCockpitManager extends GeneratedPrintCockpitManager
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreatorDEFAULT_INITIAL_ATTRIBUTES| Constructor and Description |
|---|
PrintCockpitManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
createEssentialData(Map params,
JspContext jspc)
Implement this method to create initial objects.
|
void |
createProjectData(Map params,
JspContext jspc)
Implement this method to create data that is used in your project.
|
String |
generateOpenInHMCURL(String pk,
HttpServletRequest request)
Generates an URL for opening the corresponding item hMC editor
|
List<PrintcockpitClipboardCollection> |
getClipboardCollections(User user) |
static PrintCockpitManager |
getInstance()
get the valid instance of this manager
|
void |
importCSVFromResources(String csv) |
void |
importCSVFromResources(String csv,
String encoding,
char fieldseparator,
char quotecharacter,
boolean codeExecution) |
createPrintcockpitClipboardCollection, createPrintcockpitClipboardCollection, createPrintPageGridAndModeConstraint, createPrintPageGridAndModeConstraint, getDefaultAttributeModes, getNamecheckBeforeItemRemoval, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, unwrap, unwrap, wrappublic static PrintCockpitManager getInstance()
public void createEssentialData(Map params, JspContext jspc) throws Exception
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 creationExceptionpublic void createProjectData(Map params, JspContext jspc) throws Exception
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 creationExceptionpublic void importCSVFromResources(String csv) throws Exception
Exceptionpublic void importCSVFromResources(String csv, String encoding, char fieldseparator, char quotecharacter, boolean codeExecution) throws Exception
Exceptionpublic String generateOpenInHMCURL(String pk, HttpServletRequest request)
pk - the PK of the item which will be openedrequest - the request, will be used for extracting server name, port and scheme if the property
'hmc.base.url' is
undefined, Could be null!public List<PrintcockpitClipboardCollection> getClipboardCollections(User user)
Copyright © 2017 SAP SE. All Rights Reserved.