Whitelisted Objects/Classes

Instances of classes listed here can be used in calculation logics. If you use any other, you get the "Unexpected type" error message. 

General Type Objects

  • AbstractCollection
  • AbstractInputBuilder.InputWidth
  • ActionItemApi
  • ActionItemApi.ActionItemBuilder
  • AdaptiveHistogram
  • ApprovalState
  • AttributedResult
  • BandByOptions
  • BitSet
  • BoMTreeRecord
  • Boolean
  • byte[]
  • CalculationOutput
  • CalculationResult
  • CalculationResultType
  • Calendar
  • Cartesian
  • CategoryIndexer
  • CategoryIndexer.Category
  • ChainedJobInfo
  • ChartOptions
  • ClaimContext
  • ClassifierResult
  • Closure
  • Clusterer
  • ClustererResult
  • com.google.common.collect.Iterables$
  • CompensationStructure
  • CompensationStructure.Item
  • ContextParameter
  • Contract.ContractStatus
  • ContractStructure
  • ContractStructure.Item
  • CreationWorkflowDefinition
  • CreationWorkflowStepDefinition
  • CustomerGroup
  • CustomFormApi
  • CustomFormApi.CustomFormBuilder
  • CustomFormApi.DocumentActionApi
  • CustomFormApi.OperationsApi
  • CustomFormApi.RecalculateApi
  • CustomFormApi.UpdateApi
  • CustomFormApi.WorkflowActionApi
  • DatamartContext
  • DatamartContext.Calendar
  • DatamartContext.Column
  • DatamartContext.DataLoader
  • DatamartContext.Query
  • DatamartContext.SqlQuery
  • DatamartContext.Table
  • DatamartQueryResult
  • DatamartRowSet
  • DataProfilerResult
  • DataType
  • Date
  • DateTime
  • DateTime.Property
  • DateTimeFormatter
  • DateTimeZone
  • DecoratedResult
  • DistFormulaContext
  • DMCalendar.TimeDim
  • DMCalendar.TimePeriod
  • DMCalendar.TimeUnit
  • DMDataSlice
  • DmFilter
  • DMJoinQuery.JoinMode
  • double[]
  • Enum
  • Exception
  • ExecRequest
  • Expression
  • Exprs
  • FieldFormatType
  • FieldType
  • Filter
  • Future
  • GPathResult
  • GStringImpl
  • IContractPriceRecordManager
  • InputButtonAction
  • InputType
  • int[]
  • IRebateRecordGroupManager
  • IRebateRecordManager
  • ISandboxAPI
  • ItemRecommendation
  • ItemSummaryQuery
  • Iterator
  • java.util.HashMap$Values
  • JobStatusTracker.TrackerStatus
  • JobStatusTracker.TrackerType
  • LibraryMethod
  • List
  • LoadMode
  • LocalDate
  • Locale
  • LocalTime
  • long[]
  • LookupTableType
  • LookupTableValueType
  • Map
  • Map.Entry
  • Matcher
  • MathContext
  • Matrix2D
  • Matrix2D.BucketNaming
  • MatrixableCalculableObject.ListType
  • ModelCalculationFormulaContext
  • ModelContext
  • ModelEvaluationFormulaContext
  • ModelEvaluator
  • ModelFilterTreesContextReadOnly
  • ModelFilterTreesContextReadOnly.FilterTree
  • ModelFilterTreesContextReadOnly.FilterTreeNode
  • ModelFilterTreesContextReadWrite.NodeSpec
  • ModelFormulaContext
  • ModelFormulaContext.TreeNode
  • ModelLookupTablesContextReadOnly
  • ModelLookupTablesContextReadOnly.ModelLookupTable
  • ModelParallelCalculationFormulaInitContext
  • ModelParallelCalculationFormulaItemContext
  • ModelParallelCalculationFormulaItemContext.CalculationItem
  • ModelParallelCalculationFormulaSummaryContext
  • ModelParallelCalculationFormulaSummaryContext.CalculationItem.Status
  • ModelPMMLContext
  • ModelPMMLContext.PMMLEvaluator
  • ModelSchedulesContextReadOnly
  • ModelSchedulesContextReadOnly.ModelSchedule
  • ModelSchedulesContextReadWrite.NewScheduleBuilder
  • MultiKey
  • NaiveBayesClassifier
  • NearestNeighbours
  • NearestNeighboursResult
  • net.pricefx.server.util.metamodel.Query
  • net.pricefx.server.util.metamodel.Schema
  • Node
  • NotificationApi
  • Number
  • Object[]
  • Orders
  • Orders.Order
  • org.apache.metamodel.query.Query
  • org.apache.metamodel.schema.Column
  • org.apache.metamodel.schema.Table
  • Pattern
  • PayoutRecordManager
  • PE
  • PE.CrossPE
  • PipelineSource
  • PipelineSource.ResultMapStream
  • PipelineSource.ResultStream
  • PipelineSource.ResultStream.ResultRow
  • Portlet
  • PriceElasticityCalculation
  • PriceElasticityCalculationResult
  • ProductGroup
  • ProductReferenceRecord
  • QueryApi
  • Quote.QuoteStatus
  • QuoteStructure
  • QuoteStructure.Item
  • Random
  • RContext
  • RebateAgreementStatus
  • RebateAgreementStructure
  • RebateAgreementStructure.Item
  • RebateRecordStatus
  • Regression
  • RegressionResult
  • ResultChart.ControllerOptions
  • ResultCompensationRecord
  • ResultDashboard
  • ResultHighchart.OnPointClick
  • ResultHighchart.TriggerEvent
  • ResultMatrix.BackEndAction
  • ResultMatrix.Cell
  • ResultMatrix.OnRowSelection
  • ResultMatrix.OnRowSelection.TriggerEvent
  • ResultMatrixGrouping.AggregateFunctionType
  • REXP
  • RoundingMode
  • SandboxScriptBase
  • ScrollableResults
  • SellerGroup
  • SellerReference
  • Set
  • SimpleDateFormat
  • StreamResults
  • String
  • StringBuffer
  • StringBuilder
  • SummaryCalculableObjectItem
  • SystemPortlet
  • TableContext
  • Tables
  • Tables.Columns
  • Tables.Table
  • TieredValue
  • TieredValue.Tier
  • TimedObjectStatus
  • TimeoutException
  • TreeClassifier
  • Workflow.WorkflowStatus
  • WorkflowInfo
  • WorkflowStepInfo
  • WrappedResult

Input Builders


  • ButtonInputBuilder
  • ConfiguratorInputBuilder
  • CustomerInputBuilder
  • DateRangeInputBuilder
  • DmFilterBuilder
  • FilterBuilderInputBuilder
  • InputBuilderFactory
  • InputMatrixInputBuilder
  • MultiTierInputBuilder
  • OptionInputBuilder
  • PCGroupInputBuilder
  • ProductInputBuilder
  • SimpleInputBuilder
  • StringInputBuilder
  • VLookupBuilder

Workflow Objects

In workflow logics or in libraries:

  • ApprovalStepDTO
  • InsertWorkflowStepsDTO
  • WatcherStepDTO
  • WorkflowDTO

Domain Objects

Domain objects (Product, Customer, PriceRecord...) are converted into a map.

Classes

These classes are whitelisted, so that you can call static methods on them.


  • ArrayList
  • BigDecimal
  • BuilderExtensions
  • CalculableObject.ListType
  • CalculationFlowTimeUnit
  • CalculationResultType
  • Calendar
  • ChainedJobInfo
  • Closure
  • ConfiguratorEntry
  • ConfiguratorEntryArray
  • ContractStructure
  • CustomerGroup
  • DataType
  • Date
  • DateTime
  • DateTimeZone
  • DMCalendar
  • DMDataSlice
  • DmFilter
  • ExecRequestImpl
  • FieldFormatType
  • Filter
  • InputButtonAction
  • InputType
  • Integer
  • ItemRecommendation
  • LinkedHashMap
  • LinkedHashSet
  • LocalDate
  • LocalDateTime
  • Locale
  • LocalTime
  • LookupTableType
  • LookupTableValueType
  • Math
  • Matrix2D
  • Node
  • OperatorType
  • PriceFxException
  • ProductGroup
  • QuoteStructure
  • RebateAgreementStructure
  • ResultMatrix
  • RoundingMode
  • SimpleDateFormat
  • String
  • StringBuffer
  • StringBuilder
  • SystemPortlet
  • TieredValue
  • TieredValueSortType
  • TieredValueValidationType
  • TimedObjectStatus
  • TimeoutException
  • TimePeriod
  • TimeUnit

Special Cases

These types are allowed and are subject to some other internal processing. 

  • ChartBuilderResult
  • FormulaElementResult


See also: Groovy Sandbox

Found an issue in documentation? Write to us.

Â