public class ImportPropertiesFromXlsController
extends org.openmdx.portal.servlet.AbstractWizardController
Modifier and Type | Class and Description |
---|---|
static class |
ImportPropertiesFromXlsController.ImportTarget
ImportTarget
|
Constructor and Description |
---|
ImportPropertiesFromXlsController(boolean requiresAdminRole)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Property |
createOrUpdatePropertyOfPropertySet(ProductConfigurationTypeSet prodConfTypeSet,
String productConfigurationTypeSetName,
String productConfigurationTypeSetDescription,
ProductConfigurationType prodConfType,
String productConfigurationTypeName,
String productConfigurationTypeDescription,
CrxObject crxObject,
PropertySet propSet,
String propertySetName,
String propertySetDescription,
String propertyType,
String propertyName,
String propertyDescription,
org.apache.poi.hssf.usermodel.HSSFCell propertyValue,
Segment productSegment,
org.openmdx.portal.servlet.ApplicationContext app)
Create or update property.
|
void |
doCancel()
Cancel action.
|
void |
doOK()
OK action.
|
void |
doRefresh()
Refresh action.
|
String |
getErrorMessage() |
String |
getImportReport() |
String |
getSelectObjectHref(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 object)
Get href of select object action.
|
String |
getUidAsString()
Get UID as string.
|
boolean |
isSupportedDtypeValue(String propertyType,
org.apache.poi.hssf.usermodel.HSSFCell propertyValue)
Return true if property type is supported.
|
boolean |
updateProductConfigurationType(ProductConfigurationType productConfigurationType,
Map<String,org.apache.poi.ss.usermodel.Cell> valueMap)
Update product configuration type.
|
close, forward, getApp, getCodes, getCommand, getCurrentView, getExitAction, getFieldLabel, getFirstParameterValue, getForm, getForms, getObject, getObjectIdentity, getParameterValues, getPm, getProviderName, getRequest, getRequestId, getRequestParameter, getSegmentName, getServletPath, getServletPathPrefix, getSession, getTexts, getToolTip, getWizardName, handle, init, initFormFields, prepare, setApp, setCodes, setCurrentView, setExitAction, setForms, setObject, setObjectIdentity, setPm, setProviderName, setRequest, setRequestId, setSegmentName, setSession, setTexts
public static final String EOL_HTML
public static final NumberFormat DECIMAL_FORMAT_0000
public static final String UPLOAD_FILE_FIELD_NAME
public static final String PROPERTY_DTYPE_STRING
public static final String PROPERTY_DTYPE_DECIMAL
public static final String PROPERTY_DTYPE_INTEGER
public static final String PROPERTY_DTYPE_BOOLEAN
public static final String PROPERTY_DTYPE_DATE
public static final String PROPERTY_DTYPE_DATETIME
public static final String PROPERTY_DTYPE_URI
public static final String PROPERTY_DTYPE_REFERENCE
public static final String ATTR_PROPERTY_DTYPE
public static final String ATTR_PROPERTY_NAME
public static final String ATTR_PROPERTY_DESCRIPTION
public static final String ATTR_PROPERTY_VALUE
public static final String ATTR_PROPERTYSET_NAME
public static final String ATTR_PROPERTYSET_DESCRIPTION
public static final String ATTR_PROPERTYSET_VALUE
public static final String ATTR_PRODUCTCONFIGURATIONTYPE_NAME
public static final String ATTR_PRODUCTCONFIGURATIONTYPE_DESCRIPTION
public static final String ATTR_PRODUCTCONFIGURATIONTYPE_VALIDFROM
public static final String ATTR_PRODUCTCONFIGURATIONTYPE_VALIDTO
public static final String ATTR_PRODUCTCONFIGURATIONTYPE_ISDEFAULT
public static final String ATTR_PRODUCTCONFIGURATIONTYPESET_NAME
public static final String ATTR_PRODUCTCONFIGURATIONTYPESET_DESCRIPTION
public ImportPropertiesFromXlsController(boolean requiresAdminRole)
requiresAdminRole
- public String getUidAsString() throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public String getSelectObjectHref(org.openmdx.base.accessor.jmi.cci.RefObject_1_0 object)
object
- public boolean isSupportedDtypeValue(String propertyType, org.apache.poi.hssf.usermodel.HSSFCell propertyValue)
propertyType
- propertyValue
- public boolean updateProductConfigurationType(ProductConfigurationType productConfigurationType, Map<String,org.apache.poi.ss.usermodel.Cell> valueMap)
productConfigurationType
- valueMap
- public Property createOrUpdatePropertyOfPropertySet(ProductConfigurationTypeSet prodConfTypeSet, String productConfigurationTypeSetName, String productConfigurationTypeSetDescription, ProductConfigurationType prodConfType, String productConfigurationTypeName, String productConfigurationTypeDescription, CrxObject crxObject, PropertySet propSet, String propertySetName, String propertySetDescription, String propertyType, String propertyName, String propertyDescription, org.apache.poi.hssf.usermodel.HSSFCell propertyValue, Segment productSegment, org.openmdx.portal.servlet.ApplicationContext app)
prodConfTypeSet
- productConfigurationTypeSetName
- productConfigurationTypeSetDescription
- prodConfType
- productConfigurationTypeName
- productConfigurationTypeDescription
- crxObject
- propSet
- propertySetName
- propertySetDescription
- propertyType
- propertyName
- propertyDescription
- propertyValue
- productSegment
- public void doCancel()
public void doRefresh()
public void doOK() throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public String getImportReport()
public String getErrorMessage()
getErrorMessage
in class org.openmdx.portal.servlet.AbstractWizardController
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.