Uses of Class
com.flexive.shared.value.FxValue

Packages that use FxValue
com.flexive.shared Shared classes used by all flexive modules. 
com.flexive.shared.cmis.search   
com.flexive.shared.content Classes for representing flexive contents, most notable FxContent and FxPK
com.flexive.shared.search Value classes for FxSQL search results. 
com.flexive.shared.search.query Utility classes for formulating queries in FxSQL. 
com.flexive.shared.structure Classes for the representation of flexive data structures. 
com.flexive.shared.value Multilingual value types for flexive contents. 
com.flexive.shared.value.mapper Input mappers provide a decorator for FxValue objects. 
com.flexive.shared.value.renderer Locale-specific text renderers for FxValue objects. 
 

Uses of FxValue in com.flexive.shared
 

Methods in com.flexive.shared with parameters of type FxValue
static void FxSharedUtils.checkParameterMultilang(FxValue value, java.lang.String paramName)
          Check if the given parameter is multilingual and throw an exception if not
 

Uses of FxValue in com.flexive.shared.cmis.search
 

Methods in com.flexive.shared.cmis.search that return FxValue
 FxValue CmisResultValue.getFxValue()
          Return the value as a FxValue.
 

Uses of FxValue in com.flexive.shared.content
 

Methods in com.flexive.shared.content with type parameters of type FxValue
<T extends FxValue>
T
FxContent.getValue(java.lang.Class<T> clazz, java.lang.String XPath)
          Get the value of a given class (eg FxString) and (property) XPath.
<T extends FxValue>
java.util.List<T>
FxContent.getValues(java.lang.Class<T> clazz, java.lang.String XPath)
          Get all values of a given class (eg FxString) and XPath, ordered by multiplicity.
 

Methods in com.flexive.shared.content that return FxValue
 FxValue FxPropertyData.getValue()
          Get the assigned value
 FxValue FxContent.getValue(java.lang.String XPath)
          Get the value of a (property) XPath.
 

Methods in com.flexive.shared.content that return types with arguments of type FxValue
 java.util.List<FxValue> FxPropertyData.getValues(boolean includeEmpty)
          Return a list of all values of this assignment.
 java.util.List<FxValue> FxContent.getValues(java.lang.String XPath)
          Get all values of a given XPath, ordered by multiplicty.
 

Methods in com.flexive.shared.content with parameters of type FxValue
 void FxGroupData.addProperty(java.lang.String xPath, FxPropertyAssignment assignment, FxValue value, int pos)
          Add a property at the given XPath location, removing eventually existing properties.
 java.lang.String FxContent.addValue(java.lang.String XPath, FxValue value)
          Add a value for a XPath.
protected static void FxPermissionUtils.checkPropertyPermission(FxValue value, java.lang.String xpath, UserTicket ticket, long creatorId, long aclId, ACLPermission perm)
          Check a single property permission
 void FxPropertyData.setValue(FxValue value)
          Set a new value for this property data
 FxContent FxContent.setValue(java.lang.String XPath, FxValue value)
          Set a properties value, needed groups will be created
 

Constructors in com.flexive.shared.content with parameters of type FxValue
FxPropertyData(java.lang.String xpPrefix, java.lang.String alias, int index, java.lang.String xPath, java.lang.String xPathFull, int[] indices, long assignmentId, long propertyId, FxMultiplicity assignmentMultiplicity, int pos, FxGroupData parent, FxValue value, boolean systemInternal, FxStructureOption maxLength)
           
 

Uses of FxValue in com.flexive.shared.search
 

Methods in com.flexive.shared.search that return FxValue
 FxValue FxResultRow.getFxValue(int column)
           
 FxValue FxResultRow.getFxValue(java.lang.String columnName)
           
 

Uses of FxValue in com.flexive.shared.search.query
 

Classes in com.flexive.shared.search.query with type parameters of type FxValue
 class QueryValueNode<T extends FxValue,VC extends ValueComparator>
          Base class for value types.
 

Fields in com.flexive.shared.search.query declared as FxValue
protected  T QueryValueNode.value
           
 

Methods in com.flexive.shared.search.query that return FxValue
protected  FxValue QueryValueNode.getEmptyValue(FxProperty property)
           
 

Methods in com.flexive.shared.search.query with parameters of type FxValue
 SqlQueryBuilder SqlQueryBuilder.condition(FxAssignment assignment, PropertyValueComparator comparator, FxValue<?,?> value)
          Render a condition for a common FxAssignment query.
 SqlQueryBuilder SqlQueryBuilder.condition(FxProperty property, PropertyValueComparator comparator, FxValue<?,?> value)
          Render a condition for a common FxProperty query.
 SqlQueryBuilder SqlQueryBuilder.condition(java.lang.String propertyName, PropertyValueComparator comparator, FxValue<?,?> value)
          Render a condition for a FxProperty query.
 java.lang.String PropertyValueComparator.getSql(FxAssignment assignment, FxValue value)
           
 java.lang.String PropertyValueComparator.getSql(FxProperty property, FxValue value)
           
 java.lang.String PropertyValueComparator.getSql(java.lang.String columnName, FxValue value)
           
 

Uses of FxValue in com.flexive.shared.structure
 

Fields in com.flexive.shared.structure declared as FxValue
protected  FxValue FxPropertyAssignment.defaultValue
           
protected  FxValue FxProperty.defaultValue
           
 

Methods in com.flexive.shared.structure that return FxValue
 FxValue FxPropertyAssignment.getDefaultValue()
          Get the default value for this assignment.
 FxValue FxProperty.getDefaultValue()
          Get the default value
 FxValue FxPropertyAssignment.getEmptyValue()
          Get an empty FxValue object for this assignment
 FxValue FxProperty.getEmptyValue()
          Get an empty FxValue object for this property
protected  FxValue FxProperty.getEmptyValue(boolean multiLang)
          Get an empty FxValue instance for this property in single or multi language mode.
protected  FxValue FxProperty.getEmptyValue(boolean multiLang, long lang)
          Get an empty FxValue instance for this property in single or multi language mode.
 FxValue FxDataType.getRandomValue(java.util.Random rnd, boolean multilang)
          Get an random FxValue instance for the data type
 FxValue FxDataType.getRandomValue(java.util.Random rnd, FxPropertyAssignment assignment)
          Get an random FxValue instance for the assignments multilanguage and selectlist, etc.
 

Methods in com.flexive.shared.structure that return types with arguments of type FxValue
 java.lang.Class<? extends FxValue> FxDataType.getValueClass()
          Returns the concrete FxValue implementation class for values of this datatype.
 

Methods in com.flexive.shared.structure with parameters of type FxValue
 FxPropertyEdit FxPropertyEdit.setDefaultValue(FxValue value)
          Set the default value for this property
 FxPropertyAssignmentEdit FxPropertyAssignmentEdit.setDefaultValue(FxValue defaultValue)
          Set the default value for this property assignment
 void FxProperty.updateEnvironmentData(FxValue value)
          Updates miscellaneous FxValue information that has to be updated from the environment, like select lists for FxSelectOne objects.
 

Constructors in com.flexive.shared.structure with parameters of type FxValue
FxProperty(long id, java.lang.String name, FxString label, FxString hint, boolean systemInternal, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity, boolean overrideACL, ACL ACL, FxDataType dataType, FxValue defaultValue, boolean fulltextIndexed, FxType referencedType, FxSelectList referencedList, UniqueMode uniqueMode, java.util.List<FxStructureOption> options)
           
FxPropertyAssignment(long assignmentId, boolean enabled, FxType assignedType, java.lang.String alias, java.lang.String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxValue defaultValue, FxProperty property, ACL ACL, long defaultLang, java.util.List<FxStructureOption> options, FxFlatStorageMapping flatStorageMapping)
          Constructor
 

Uses of FxValue in com.flexive.shared.value
 

Classes in com.flexive.shared.value with type parameters of type FxValue
 class FxValue<T,TDerived extends FxValue<T,TDerived>>
          Abstract base class of all value objects.
 

Subclasses of FxValue in com.flexive.shared.value
 class FxBinary
          A multilingual Binary
 class FxBoolean
          A multilingual Boolean, internally represented as Boolean; EMPTY is false
 class FxDate
          A multilingual Date, internally represented as java.util.Date; EMPTY is a Date with a timestamp of 0 (usually 01/01/1970)
 class FxDateRange
          A multilingual Date range, internally represented as java.util.Date; EMPTY is a Date with a timestamp of 0 (usually 01/01/1970)
 class FxDateTime
          A multilingual DateTime, internally represented as java.util.Date; EMPTY is a Date with a timestamp of 0 (usually 01/01/1970)
 class FxDateTimeRange
          A multilingual DateTime range, internally represented as java.util.Date; EMPTY is a Date range with a timestamp of 0 (usually 01/01/1970)
 class FxDouble
          A multilingual Double, internally represented as Double
 class FxFloat
          A multilingual Float, internally represented as Float
 class FxHTML
          HTML Content, like FxString but with the optional tidyHTML
 class FxLargeNumber
          A multilingual LargeNumber, internally represented as Long
 class FxNoAccess
          A replacement for FxValue objects if the calling user has no access to this value
 class FxNumber
          A multilingual Number, internally represented as Integer
 class FxReference
          A multilingual content reference, internally represented as FxPK
 class FxSelectMany
          FxValue implementation for FxSelectList items with many selectable items
 class FxSelectOne
          FxValue implementation for FxSelectList items with one selectable item
 class FxString
          A multilingual String
 class FxVoid
          A "void" FxValue that cannot be read or written.
 

Methods in com.flexive.shared.value that return FxValue
 FxValue FxValue.setDefaultTranslation(T translation)
          Set the translation in the default language.
 FxValue FxValue.setSelectedLanguage(long selectedLanguage)
          Set the user selected language
 

Methods in com.flexive.shared.value with parameters of type FxValue
 int FxValue.compareTo(FxValue o)
          A generic comparable implementation based on the value's string representation.
 int FxReference.compareTo(FxValue o)
           
 int FxNumber.compareTo(FxValue o)
           
 int FxLargeNumber.compareTo(FxValue o)
           
 int FxFloat.compareTo(FxValue o)
           
 int FxDouble.compareTo(FxValue o)
           
 int FxDateTimeRange.compareTo(FxValue o)
           
 int FxDateRange.compareTo(FxValue o)
           
 

Constructors in com.flexive.shared.value with parameters of type FxValue
FxBinary(FxValue<BinaryDescriptor,FxBinary> clone)
          Constructor
FxBoolean(FxValue<java.lang.Boolean,FxBoolean> clone)
          Constructor
FxDate(FxValue<java.util.Date,FxDate> clone)
          Constructor
FxDateRange(FxValue<DateRange,FxDateRange> clone)
          Constructor
FxDateTime(FxValue<java.util.Date,FxDateTime> clone)
          Constructor
FxDateTimeRange(FxValue<DateRange,FxDateTimeRange> clone)
          Constructor
FxDouble(FxValue<java.lang.Double,FxDouble> clone)
          Constructor
FxFloat(FxValue<java.lang.Float,FxFloat> clone)
          Constructor
FxLargeNumber(FxValue<java.lang.Long,FxLargeNumber> clone)
          Constructor
FxNoAccess(UserTicket ticket, FxValue wrappedValue)
          Constructor
FxNumber(FxValue<java.lang.Integer,FxNumber> clone)
          Constructor
FxReference(FxValue<ReferencedContent,FxReference> clone)
          Constructor
FxSelectMany(FxValue<SelectMany,FxSelectMany> clone)
          Constructor
FxSelectOne(FxValue<FxSelectListItem,FxSelectOne> clone)
          Constructor
FxValue(FxValue<T,TDerived> clone)
          Constructor
 

Uses of FxValue in com.flexive.shared.value.mapper
 

Classes in com.flexive.shared.value.mapper with type parameters of type FxValue
 class InputMapper<BaseType extends FxValue,MappedType extends FxValue>
          InputMapper introduces another level of abstraction for the FxValue input components.
 class InputMapper<BaseType extends FxValue,MappedType extends FxValue>
          InputMapper introduces another level of abstraction for the FxValue input components.
 class NumberQueryInputMapper<T,BaseType extends FxValue<T,?>>
          An abstract input mapper between discrete values (e.g.
 

Methods in com.flexive.shared.value.mapper with type parameters of type FxValue
protected
<T extends FxValue>
T
InputMapper.applySettings(T newValue, FxValue oldValue)
          Applies general settings from the old value to the new one.
 

Methods in com.flexive.shared.value.mapper that return FxValue
protected  FxValue IdentityInputMapper.doDecode(FxValue value)
          Decode the mapped type.
protected  FxValue VoidInputMapper.doDecode(FxVoid value)
          Decode the mapped type.
protected  FxValue IdentityInputMapper.doEncode(FxValue value)
          Map the given value to the destination FxValue type.
 

Methods in com.flexive.shared.value.mapper with parameters of type FxValue
protected
<T extends FxValue>
T
InputMapper.applySettings(T newValue, FxValue oldValue)
          Applies general settings from the old value to the new one.
protected  FxValue IdentityInputMapper.doDecode(FxValue value)
          Decode the mapped type.
protected  FxVoid VoidInputMapper.doEncode(FxValue value)
          Map the given value to the destination FxValue type.
protected  FxValue IdentityInputMapper.doEncode(FxValue value)
          Map the given value to the destination FxValue type.
 

Uses of FxValue in com.flexive.shared.value.renderer
 

Classes in com.flexive.shared.value.renderer with type parameters of type FxValue
 interface FxValueFormatter<DataType,ValueType extends FxValue<DataType,ValueType>>
          Interface for a FxValue formatter.
 

Methods in com.flexive.shared.value.renderer with type parameters of type FxValue
(package private)
<DT,T extends FxValue<DT,T>>
void
FxValueRendererImpl.put(java.lang.Class<T> type, FxValueFormatter<DT,T> formatter)
           
 

Methods in com.flexive.shared.value.renderer with parameters of type FxValue
 java.lang.String FxValueRendererImpl.format(FxValue value)
          Formats the given value in the renderer's locale.
 java.lang.String FxValueRenderer.format(FxValue value)
          Formats the given value in the renderer's locale.
 java.lang.String FxValueRendererImpl.format(FxValue value, FxLanguage translationLanguage)
          Formats the given value in the renderer's locale.
 java.lang.String FxValueRenderer.format(FxValue value, FxLanguage translationLanguage)
          Formats the given value in the renderer's locale.
 FxValueRenderer FxValueRendererImpl.render(java.io.Writer out, FxValue value)
          Renders the given value in the renderer's locale to the output writer.
 FxValueRenderer FxValueRenderer.render(java.io.Writer out, FxValue value)
          Renders the given value in the renderer's locale to the output writer.
 FxValueRenderer FxValueRendererImpl.render(java.io.Writer out, FxValue value, FxLanguage translationLanguage)
          Renders the given value in the renderer's locale to the output writer.
 FxValueRenderer FxValueRenderer.render(java.io.Writer out, FxValue value, FxLanguage translationLanguage)
          Renders the given value in the renderer's locale to the output writer.