Class SapquoteintegrationManager
- java.lang.Object
-
- de.hybris.platform.jalo.Manager
-
- de.hybris.platform.jalo.extension.Extension
-
- com.sap.hybris.sapquoteintegration.jalo.GeneratedSapquoteintegrationManager
-
- com.sap.hybris.sapquoteintegration.jalo.SapquoteintegrationManager
-
- All Implemented Interfaces:
ItemLifecycleListener
,java.io.Serializable
public class SapquoteintegrationManager extends GeneratedSapquoteintegrationManager
This is the extension manager of the Sapquoteintegration extension.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProvider
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Manager
Manager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator
-
-
Field Summary
-
Fields inherited from class com.sap.hybris.sapquoteintegration.jalo.GeneratedSapquoteintegrationManager
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Summary
Constructors Constructor Description SapquoteintegrationManager()
Never call the constructor of any manager directly, call getInstance() You can place your business logic here - like registering a jalo session listener.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.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 SapquoteintegrationManager
getInstance()
Get the valid instance of this manager.void
init()
Use this method to do some basic work only ONCE in the lifetime of a tenant resp.-
Methods inherited from class com.sap.hybris.sapquoteintegration.jalo.GeneratedSapquoteintegrationManager
createSAPCpiOutboundQuote, createSAPCpiOutboundQuote, createSAPCpiOutboundQuoteComment, createSAPCpiOutboundQuoteComment, createSAPCpiOutboundQuoteCustomer, createSAPCpiOutboundQuoteCustomer, createSAPCpiOutboundQuoteItem, createSAPCpiOutboundQuoteItem, createSAPCpiOutboundQuoteStatus, createSAPCpiOutboundQuoteStatus, getCommentAuthorEmail, getCommentAuthorEmail, getDefaultAttributeModes, getDistributionChannel, getDistributionChannel, getDivision, getDivision, getEntryDiscount, getEntryDiscount, getEntryDiscountAsPrimitive, getEntryDiscountAsPrimitive, getEntryDiscountInternal, getEntryDiscountInternal, getExternalComments, getExternalComments, getExternalGlobalDiscounts, getExternalGlobalDiscounts, getExternalQuoteDocument, getExternalQuoteDocument, getExternalQuoteEntryId, getExternalQuoteEntryId, getExternalQuoteId, getExternalQuoteId, getHeaderDiscount, getHeaderDiscount, getHeaderDiscountAsPrimitive, getHeaderDiscountAsPrimitive, getItemId, getItemId, getName, getOrderCode, getOrderCode, getOrderCode, getOrderCode, getProposalDocument, getProposalDocument, getQuoteDiscountConditionCode, getQuoteDiscountConditionCode, getQuoteEntryDiscountConditionCode, getQuoteEntryDiscountConditionCode, getRank, getRank, getSalesOrganization, getSalesOrganization, setCommentAuthorEmail, setCommentAuthorEmail, setDistributionChannel, setDistributionChannel, setDivision, setDivision, setEntryDiscount, setEntryDiscount, setEntryDiscount, setEntryDiscount, setEntryDiscountInternal, setEntryDiscountInternal, setExternalComments, setExternalComments, setExternalGlobalDiscounts, setExternalGlobalDiscounts, setExternalQuoteDocument, setExternalQuoteDocument, setExternalQuoteEntryId, setExternalQuoteEntryId, setExternalQuoteId, setExternalQuoteId, setHeaderDiscount, setHeaderDiscount, setHeaderDiscount, setHeaderDiscount, setItemId, setItemId, setOrderCode, setOrderCode, setOrderCode, setOrderCode, setProposalDocument, setProposalDocument, setQuoteDiscountConditionCode, setQuoteDiscountConditionCode, setQuoteEntryDiscountConditionCode, setQuoteEntryDiscountConditionCode, setRank, setRank, setSalesOrganization, setSalesOrganization
-
Methods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeItemRemoval, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplace
-
Methods inherited from class de.hybris.platform.jalo.Manager
afterItemCreation, beforeItemCreation, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, setAttribute, setTenant, setTransientObject, wrap
-
-
-
-
Method Detail
-
getInstance
public static SapquoteintegrationManager getInstance()
Get the valid instance of this manager.- Returns:
- the current instance of this manager
-
init
public void init()
Use this method to do some basic work only ONCE in the lifetime of a tenant resp. "deployment". This method is called after manager creation (for example within startup of a tenant). Note that if you have more than one tenant you have a manager instance for each tenant.
-
destroy
public 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). Note that if you have more than one tenant you have a manager instance for each tenant.
-
createEssentialData
public void createEssentialData(java.util.Map<java.lang.String,java.lang.String> params, JspContext jspc)
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:
createEssentialData
in 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
public 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. 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:
createProjectData
in 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
-
-