public class Cms2LibManager extends GeneratedCms2LibManager
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreatorBANNERSFORCONTENTPAGEBANNERCOMPONETSHANDLER, CATEGORIESFORPRODUCTCAROUSELCOMPONENT_MARKMODIFIED, CATEGORIESFORPRODUCTCAROUSELCOMPONENT_SRC_ORDERED, CATEGORIESFORPRODUCTCAROUSELCOMPONENT_TGT_ORDERED, DEFAULT_INITIAL_ATTRIBUTES, FLASHCOMPONENTSFORCONTENTPAGEFLASHCOMPONENTSHANDLER, PRODUCTDETAILCOMPONENTSFORPRODUCTPRODUCTDETAILCOMPONENTSHANDLER, PRODUCTLISTCOMPONENTSFORCATEGORYPRODUCTLISTCOMPONENTSHANDLER, PRODUCTSFORPRODUCTCAROUSELCOMPONENT_MARKMODIFIED, PRODUCTSFORPRODUCTCAROUSELCOMPONENT_SRC_ORDERED, PRODUCTSFORPRODUCTCAROUSELCOMPONENT_TGT_ORDERED, PRODUCTSFORPRODUCTLISTCOMPONENT_MARKMODIFIED, PRODUCTSFORPRODUCTLISTCOMPONENT_SRC_ORDERED, PRODUCTSFORPRODUCTLISTCOMPONENT_TGT_ORDERED| Constructor and Description |
|---|
Cms2LibManager()
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(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) |
void |
destroy()
Use this method as a callback when the manager instance is being destroyed (this happens before system
initialization, at redeployment or if you shutdown your VM).
|
static Cms2LibManager |
getInstance()
Get the valid instance of this manager.
|
protected void |
importCSVFromResources(java.lang.String csv) |
protected void |
importCSVFromResources(java.lang.String csv,
java.lang.String encoding,
char fieldseparator,
char quotecharacter,
boolean codeExecution) |
void |
init()
Use this method to do some basic work only ONCE in the lifetime of a tenant resp.
|
addToBannerComponets, addToBannerComponets, addToFlashComponents, addToFlashComponents, addToProductCarouselComponents, addToProductCarouselComponents, addToProductCarouselComponents, addToProductCarouselComponents, addToProductDetailComponents, addToProductDetailComponents, addToProductListComponents, addToProductListComponents, addToProductListComponents, addToProductListComponents, createBannerComponent, createBannerComponent, createFlashComponent, createFlashComponent, createProductCarouselComponent, createProductCarouselComponent, createProductDetailComponent, createProductDetailComponent, createProductListComponent, createProductListComponent, createRotatingImagesComponent, createRotatingImagesComponent, getBannerComponets, getBannerComponets, getDefaultAttributeModes, getFlashComponents, getFlashComponents, getName, getProductCarouselComponents, getProductCarouselComponents, getProductCarouselComponents, getProductCarouselComponents, getProductCarouselComponentsCount, getProductCarouselComponentsCount, getProductCarouselComponentsCount, getProductCarouselComponentsCount, getProductDetailComponents, getProductDetailComponents, getProductListComponents, getProductListComponents, getProductListComponents, getProductListComponents, getProductListComponentsCount, getProductListComponentsCount, removeFromBannerComponets, removeFromBannerComponets, removeFromFlashComponents, removeFromFlashComponents, removeFromProductCarouselComponents, removeFromProductCarouselComponents, removeFromProductCarouselComponents, removeFromProductCarouselComponents, removeFromProductDetailComponents, removeFromProductDetailComponents, removeFromProductListComponents, removeFromProductListComponents, removeFromProductListComponents, removeFromProductListComponents, setBannerComponets, setBannerComponets, setFlashComponents, setFlashComponents, setProductCarouselComponents, setProductCarouselComponents, setProductCarouselComponents, setProductCarouselComponents, setProductDetailComponents, setProductDetailComponents, setProductListComponents, setProductListComponents, setProductListComponents, setProductListComponentscheckBeforeItemRemoval, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, setAttribute, setTenant, setTransientObject, wrappublic Cms2LibManager()
public static Cms2LibManager getInstance()
public void init()
public void destroy()
public void createEssentialData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
throws java.lang.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 creationjava.lang.Exceptionpublic void createProjectData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
throws java.lang.Exception
createProjectData in class Extensionjava.lang.Exceptionprotected void importCSVFromResources(java.lang.String csv)
throws java.lang.Exception
java.lang.Exceptionprotected void importCSVFromResources(java.lang.String csv,
java.lang.String encoding,
char fieldseparator,
char quotecharacter,
boolean codeExecution)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.