Class PageObjectReference

    • Constructor Detail

      • PageObjectReference

        public PageObjectReference​(EntityReference reference)
        Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc.
        reference - the raw reference to build this object reference from
      • PageObjectReference

        protected PageObjectReference​(EntityReference reference,
                                      EntityReference oldReference,
                                      EntityReference newReference)
        Clone an ObjectReference, but replace one of the parent in the chain by a new one.
        reference - the reference that is cloned
        oldReference - the old parent that will be replaced
        newReference - the new parent that will replace oldReference in the chain
      • PageObjectReference

        public PageObjectReference​(String objectName,
                                   PageReference pageReference)
        objectName - the name of the object
        pageReference - the reference of the parent page of the object
      • PageObjectReference

        public PageObjectReference​(EntityReference reference,
                                   EntityReference parent)
        Clone an PageObjectReference, but use the specified parent for its new parent.
        reference - the reference to clone
        parent - the new parent to use