Package de.hybris.platform.jalo
Interface DataCreator
Deprecated.
since ages - the functionality to create a system is now part of the extension managers
Each object used to create sample data must implement this interface.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateData(Map params, JspContext jspc) Deprecated.Creates objects.Deprecated.The description of the creator will be shown to the user during data creation.Deprecated.The name of the creator will be shown to the user during data creation.getCreatorParameterDefault(String param) Deprecated.Provides default value for the given creator parameter.Deprecated.Provides parameter names for the system creator.Deprecated.Provides a list of all possible values for the given creator parameter.booleanDeprecated.Iftruethis creator will be ignored.
-
Method Details
-
createData
Deprecated.Creates objects. This method will be called by system creator.- Parameters:
params- the parameters provided by user for creationjspc- the jsp context; you can use it to write progress information to the jsp page during creation- Throws:
Exception
-
getCreatorParameterNames
Collection getCreatorParameterNames()Deprecated.Provides parameter names for the system creator.- Returns:
- parameter names for the creator
-
getCreatorParameterDefault
Deprecated.Provides default value for the given creator parameter.- Parameters:
param- the name of the parameter- Returns:
- default value for the given creator parameter; use
nullwhen the parameter should have no default value
-
getCreatorParameterPossibleValues
Deprecated.Provides a list of all possible values for the given creator parameter. If notnullthe list of these values will be shown to the user of system creator and no other values will be possible to set.- Parameters:
param- the name of the parameter- Returns:
- list of all possible values for the given creator parameter; use
nullwhen this parameter should have no restriction on possible values
-
getCreatorName
String getCreatorName()Deprecated.The name of the creator will be shown to the user during data creation.- Returns:
- name of this creator
-
getCreatorDescription
String getCreatorDescription()Deprecated.The description of the creator will be shown to the user during data creation.- Returns:
- description of this creator
-
isCreatorDisabled
boolean isCreatorDisabled()Deprecated.Iftruethis creator will be ignored.- Returns:
trueif this creator shold be not used
-