public class PrintsampledataManager extends GeneratedPrintsampledataManager
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreatorDEFAULT_INITIAL_ATTRIBUTES| Constructor and Description |
|---|
PrintsampledataManager()
Never call the constructor of any manager directly, call getInstance() You can place your business logic here -
like registering a jalo session listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createEssentialData(Map<String,String> params,
JspContext jspc)
Implement this method to create initial objects.
|
void |
createProjectData(Map<String,String> params,
JspContext jspc)
Implement this method to create data that is used in your project.
|
static PrintsampledataManager |
getInstance()
Get the valid instance of this manager.
|
File |
getPrintFilehandlingRoot() |
void |
setExampleFileHandlingAttributes(PathPrefix pathPrefix) |
void |
setFileHandlingAttributes(Chapter chapter,
String documentPath,
String templateFilePath) |
void |
setFileHandlingAttributes(Page page,
String documentPath,
String templateFilePath) |
void |
setFileHandlingAttributes(Publication pub,
String root) |
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 PrintsampledataManager()
public static PrintsampledataManager getInstance()
public void createEssentialData(Map<String,String> params, JspContext jspc)
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(Map<String,String> 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 File getPrintFilehandlingRoot()
public void setExampleFileHandlingAttributes(PathPrefix pathPrefix)
public void setFileHandlingAttributes(Publication pub, String root)
public void setFileHandlingAttributes(Chapter chapter, String documentPath, String templateFilePath)
Copyright © 2017 SAP SE. All Rights Reserved.