Class PersistedCollectionHelper

java.lang.Object
wt.facade.persistedcollection.PersistedCollectionHelper

public final class PersistedCollectionHelper extends Object
Helper class that provides easy access to the implementation of methods defined by the PersistedCollectionService interface.

Supported API: true

Extendable: false
  • Field Details

    • service

      public static final PersistedCollectionService service
      A static reference to the standard implementation class for PersistedCollectionService.

      Supported API: true
  • Method Details

    • allowsNesting

      public static boolean allowsNesting(PersistedCollectionHolder holder)
      Return true if a PersistedCollectionHolder allows nested collections to be added as members.

      Supported API: true
    • isPersistedCollectionHolder

      public static boolean isPersistedCollectionHolder(WTReference objectRef)
      Return true if the specified object reference is a PersistedCollectionHolder object. Guaranteed not to inflate the reference.

      Supported API: true
    • isPersistedCollectableHolder

      public static boolean isPersistedCollectableHolder(WTReference objectRef)
      Return true if the specified object reference is a PersistedCollectableHolder object. Guaranteed not to inflate the reference.

      Supported API: true
    • isPersistedCollectable

      public static boolean isPersistedCollectable(WTReference objectRef)
      Return true if the specified object reference is a PersistedCollectable object. Guaranteed not to inflate the reference.

      Supported API: true
    • isCheckedIn

      public static boolean isCheckedIn(PersistedCollectionHolder holder)
      Return true if a PersistedCollectionHolder is currently checked in.

      Supported API: true
      Parameters:
      holder - PersistedCollectionHolder object.
    • isCheckedOut

      public static boolean isCheckedOut(PersistedCollectionHolder holder)
      Return true if a PersistedCollectionHolder is currently checked out.

      Supported API: true
      Parameters:
      holder - PersistedCollectionHolder object.