Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This class of the apex api APEX API allows you to find dimension Dimension records that are available for a certain reservationReservation.


Panel
bgColorwhite
titleBGColorlightgray
borderStylesolid
titleMethods


Panel
borderStylesolid
titlefindAvailableDimensionIds(context)


Note
titledimensionIds

The dimensionIds property narrows down the search scope. This greatly improves performance. Any simple filters like field values should be performed before calling this method to improve performance.

Declaration

Code Block
languagejava
global static Set<Id> findAvailableDimensionIds(AvailableDimensionIds.Context context)

Parameters

  • context (AvailableDimensionIds.Context) 

Returns

Set<Id> The ids IDs of the given context that do not have conflicts, if used for the given reservationReservation.



Panel
bgColorwhite
titleBGColorlightgray
borderStylesolid
titleInner Classes


Panel
borderStylesolid
titleContext

Properties

  • reservation (B25__Reservation__c) - Reservation you want to insert.
  • dimensionFieldName (String) - Name of the field you want to search an available id ID for
  • dimensionIds (Set<Id>) - scope of ids IDs to search in. These have to be of the same type as the lookup dimensionFieldName.



Related articles

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@101b6
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "apexapi" and type = "page" and space = "BPD"
labelsApexApi

Page Properties
hiddentrue


Related issues




Panel
titleOn this page

Table of Contents