Share via


DimensionStorage Class [AX 2012]

The DimensionStorage class manages the storage of dimension value combinations.

Syntax

class DimensionStorage implements SysPackable

Run On

Called

Methods

  Method Description
Gg754253.pubmethod(en-us,AX.60).gif addAccountStructure Adds the initial account structure mapping, which allows the specified number of segments to be set for it.
Gg754253.pubmethod(en-us,AX.60).gif addHierarchy Adds a hierarchy mapping, which allows the specified number of segments to be set for it.
Gg754253.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif clearSegment Clears the specified segment.
Gg754253.protmethod(en-us,AX.60).gif dimensionAttributeValuesChanged Raised when dimension attribute values are changed.
Gg754253.pubmethod(en-us,AX.60).gif dimensionStructureChangedError Determines whether the structures of the combination have changed since the initial persistence of the combination.
Gg754253.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg754253.privmethod(en-us,AX.60).gif find Retrieves the specified combination and populates the list of hierarchies and segments.
Gg754253.pubmethod(en-us,AX.60).gif getAttributeIdForSegment Retrieves the ID of the DimensionAttribute record for the segment with the specified index.
Gg754253.pubmethod(en-us,AX.60).gif getComboDisplayValue Retrieves a concatenated string with the combined list of display values for each segment, separated by a delimiter.
Gg754253.protmethod(en-us,AX.60).gif getComboDisplayValueForRenamedValue Gets a concatenated string with the combined list of display values for each segment, separated by a delimiter, for a renamed dimension attribute value.
Gg754253.privmethod(en-us,AX.60).gif getComboHash Computes the hash value of the whole combination using the tracked hierarchy and segment information.
Gg754253.privmethod(en-us,AX.60).gif getGroupHash Computes the hash value of the hierarchy group combination using the tracked segment information for the specified hierarchy
Gg754253.pubmethod(en-us,AX.60).gif getHierarchyCollection Gets a dimension hierarchy collection for the hierarchies in the current instance.
Gg754253.pubmethod(en-us,AX.60).gif getHierarchyId Retrieves the ID of the DimensionHierarchy object at the specified index.
Gg754253.pubmethod(en-us,AX.60).gif getHierarchyIdForSegment Retrieves the ID of the DimensionHierarchy object for the specified segment.
Gg754253.pubmethod(en-us,AX.60).gif getIndexForHierarchyId Retrieves the index of the specified DimensionHierarchy object.
Gg754253.pubmethod(en-us,AX.60).gif getSavedComboRecId Gets the combination record ID if it has been previously saved.
Gg754253.pubmethod(en-us,AX.60).gif getSegment Retrieves the DimensionStorageSegment object at the specified index.
Gg754253.pubmethod(en-us,AX.60).gif getSegmentCollectionForHierarchy Gets the dimension storage segment collection for the specified hierarchy.
Gg754253.pubmethod(en-us,AX.60).gif getSegmentForHierarchy Retrieves the DimensionStorageSegment object at the specified index in the specified hierarchy.
Gg754253.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif getValueGroupForHierarchy Retrieves a DimensionAttributeValueGroup object, if one exists, for the specified hierarchy.
Gg754253.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif hierarchyCount Retrieves the total number of hierarchies mapped to segments in the combination.
Gg754253.pubmethod(en-us,AX.60).gif initialSegmentForHierarchy Retrieves the position in the combination of the first segment mapped to the specified hierarchy.
Gg754253.pubmethod(en-us,AX.60).gif invalidateStructureChangedValue Invalidates any caching of the structure changed value.
Gg754253.pubmethod(en-us,AX.60).gif isEqualTo Determines whether the specified combination is equal to this combination based on the contained values.
Gg754253.pubmethod(en-us,AX.60).gif lastSavedRecId Retrieves the record ID for the combination if it has been unchanged since it was found.
Gg754253.pubmethod(en-us,AX.60).gif ledgerDimensionType Retrieves the type of the ledger dimension for the current combination held by the instance of the DimensionStorage class.
Gg754253.protmethod(en-us,AX.60).gif new Constructs and retrieves an instance of the DimensionStorage class that has the specified initial number of segments.
Gg754253.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the DimensionStorage class.
Gg754253.pubmethod(en-us,AX.60).gif removeHierarchies Removes the right-most number of hierarchies and all their segments from being tracked.
Gg754253.pubmethod(en-us,AX.60).gif reset Removes all hierarchies, all mapped and unmapped segments and reallocates the number of specified segments as a new blank combination.
Gg754253.privmethod(en-us,AX.60).gif resetAs Removes all hierarchies and all mapped and unmapped segments and reallocates the number of specified segments as a new blank combination.
Gg754253.pubmethod(en-us,AX.60).gif save Saves the current information and retrieves the record ID of the persisted combination.
Gg754253.pubmethod(en-us,AX.60).gif saveAsDefaultAccount Saves the current information as a default account and retrieves the record ID of the persisted combination.
Gg754253.privmethod(en-us,AX.60).gif savePrivate Saves the current information and retrieves the record ID of the persisted combination.
Gg754253.pubmethod(en-us,AX.60).gif segmentCount Retrieves the total number of segments in the combination.
Gg754253.pubmethod(en-us,AX.60).gif segmentCountForHierarchy Retrieves the total number of segments in the combination for the specified hierarchy.
Gg754253.pubmethod(en-us,AX.60).gif setSegment Sets the value of a DimensionStorageSegment object at the specified index.
Gg754253.pubmethod(en-us,AX.60).gif setSegmentForHierarchy Sets the value of a DimensionStorageSegment object at the specified index in the specified hierarchy.
Gg754253.pubmethod(en-us,AX.60).gif setStructureChangedValue Sets the pre-validated value of whether the structure has changed.
Gg754253.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif unpack Deserializes the pack parameter value to an instance of the DimensionStorage class.
Gg754253.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::accountNum2LedgerDimension Constructs a LedgerDimensionAccount object for the specified non-ledger account.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::addSegmentToDisplayValue Adds to a concatenated string of display values for the specified segment optionally separated by a delimiter added to the end.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::compareMainAccounts Indicates whether the two specified records in the DimensionAttributeValueCombination table have the same main account.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::construct Constructs and retrieves an instance of the DimensionStorage class that has the specified initial number of segments.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::constructStorageForAccount Constructs a new DimensionStorage object for the specified non-ledger account.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::create Creates an instance of the DimensionStorage class from a packed copy.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::dimLedgerAccountType2LedgerAccountType Converts a LedgerAccountType enumeration value to a DimensionLedgerAccountType enumeration value.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::equals Indicates whether the two specified instances are equal based on the values that are contained in each of the objects.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::findById Retrieves the specified combination and populates the list of hierarchies and segments.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::findByIdPacked Retrieves a packed copy of the specified combination and populates the list of hierarchies and segments.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getAccountStructureFromLedgerDimension Gets the DimensionHierarchy record that is the account structure of the specified ledger dimension.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getDefaultAccount Retrieves the record ID of a LedgerDimensionDefaultAccount record that represents the specified main account.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getDefaultAccountForMainAccountNum Constructs a LedgerDimensionDefaultAccount object for the specified main account number.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getDefaultDimensionFromLedgerDimension Retrieves the record ID of a DimensionDefault record that represents all dimension information from the combination other than the main account.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getDimensionAttributeValueHashKey Gets the value of the HashKey field from the DimensionAttributeValue record .
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getDisplayValueForFocusName Gets the dimension focus display value for the focus name and ledger dimension.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getDynamicAccount Constructs a LedgerDimensionAccount object for the specified non-ledger account.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getFirstDimHierarchyFromLedgerDimension Retrieves a DimensionHierarchy record that represents the first hierarchy associated with the specified LedgerDimension record.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getHash Computes a hash value for the specified message.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getHierarchyCollectionForLedgerDimension Gets a dimension hierarchy collection for the specified ledger dimension.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getHierarchyCollectionForLedgerDimPacked Gets a dimension hierarchy collection for the specified ledger dimension.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getHierarchyCollectionForLedgerDimServer Gets a dimension hierarchy collection for the specified ledger dimension.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getLedgerDefaultAccountFromLedgerDim Retrieves the record ID of a LedgerDimensionDefaultAccount record that represents the default account from the specified ledger dimension.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getMainAccountFromLedgerDimension Gets the MainAccount record that is part of the specified ledger dimension.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getMainAccountIdFromLedgerDimension Gets the record ID of the MainAccount record that is part of the specified ledger dimension.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getMainAccountNumFromLedgerDimension Gets the display value for the MainAccount record that is part of the specified ledger dimension.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getSavedComboRecIdByHash
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getSegmentCollectionForLedgerDimension Retrieves the DimensionStorageSegmentCollection object for the specified hierarchy and ledger dimension.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getSegmentCollectionForLedgerDimPacked Retrieves the DimensionStorageSegmentCollection object for the specified hierarchy and ledger dimension.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::getSegmentCollectionForLedgerDimServer Retrieves the DimensionStorageSegmentCollection object for the specified hierarchy and ledger dimension.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::ledgerDimension2AccountNum Retrieves the string value of the specified account.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::raiseDimensionAttributeValuesChanged Raises an event when dimension attribute values have changed.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::saveOnServer Saves the current information and returns the record ID of the persisted combination.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::syncRenamedValue Updates all stored combinations to reflect a change in the display value of a entity instance.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::syncRenamedValuesForAttributeValue Updates all stored combinations to reflect a change in the display value of a dimension attribute value.
Gg754253.privmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::syncRenamedValuesForValueSetItem Updates all stored value set items to reflect a change in a display value of a dimension attribute value.
Gg754253.pubmethod(en-us,AX.60).gif Gg754253.static(en-us,AX.60).gif ::validateCombinationIntegrity Validates the integrity of the overall combination.

Top

Remarks

The segment values and associated hierarchies are managed through a familiar collection type interface. The hierarchies and segments are stored in lists and are referenced from left to right based on their position in the list given. This is the typical UI presentation.

Inheritance Hierarchy

Object Class
  DimensionStorage Class