Package de.hybris.platform.patches.jalo
Class PatchesbackofficeManager
java.lang.Object
de.hybris.platform.jalo.Manager
de.hybris.platform.jalo.extension.Extension
de.hybris.platform.patches.jalo.GeneratedPatchesbackofficeManager
de.hybris.platform.patches.jalo.PatchesbackofficeManager
- All Implemented Interfaces:
ItemLifecycleListener,Serializable
This is the extension manager of the Ybackoffice extension.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProviderNested classes/interfaces inherited from class de.hybris.platform.jalo.Manager
Manager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator -
Field Summary
Fields inherited from class de.hybris.platform.patches.jalo.GeneratedPatchesbackofficeManager
DEFAULT_INITIAL_ATTRIBUTES -
Constructor Summary
ConstructorsConstructorDescriptionNever call the constructor of any manager directly, call getInstance() You can place your business logic here - like registering a jalo session listener. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateEssentialData(Map<String, String> params, JspContext jspc) Implement this method to create initial objects.voidcreateProjectData(Map<String, String> params, JspContext jspc) Implement this method to create data that is used in your project.static PatchesbackofficeManagerGet the valid instance of this manager.Methods inherited from class de.hybris.platform.patches.jalo.GeneratedPatchesbackofficeManager
getDefaultAttributeModes, getNameMethods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeInitialization, checkBeforeItemRemoval, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceMethods inherited from class de.hybris.platform.jalo.Manager
afterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrap
-
Constructor Details
-
PatchesbackofficeManager
public PatchesbackofficeManager()Never call the constructor of any manager directly, call getInstance() You can place your business logic here - like registering a jalo session listener. Each manager is created once for each tenant.
-
-
Method Details
-
getInstance
Get the valid instance of this manager.- Returns:
- the current instance of this manager
-
createEssentialData
Implement this method to create initial objects. This method will be called by system creator during initialization and system update. Be sure that this method can be called repeatedly. An example usage of this method is to create required cronjobs or modifying the type system (setting e.g some default values)- Overrides:
createEssentialDatain classExtension- Parameters:
params- 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 creation
-
createProjectData
Implement this method to create data that is used in your project. This method will be called during the system initialization. An example use is to import initial data like currencies or languages for your project from an csv file.- Overrides:
createProjectDatain classExtension- Parameters:
params- 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 creation
-