de.espirit.firstspirit.client.access.editor
Interface ReferenceTransformationAgent


public interface ReferenceTransformationAgent

Agent providing means to transform reference holding containers to their persistency form and vice versa.

Since:
4.2.414

Field Summary
static SpecialistType<ReferenceTransformationAgent> TYPE
          Agent providing means to operate on references on store elements, data sets, and external URLs.
 
Method Summary
 ReferenceHolder read(Node node, Language language, boolean release)
          Read an element referencing container from a persistency node.
 Node write(String tag, ReferenceHolder holder)
          Write an element referencing container to a persistency node.
 

Field Detail

TYPE

static final SpecialistType<ReferenceTransformationAgent> TYPE
Agent providing means to operate on references on store elements, data sets, and external URLs.

Since:
4.2.414
Method Detail

read

@NotNull
ReferenceHolder read(@NotNull
                             Node node,
                             Language language,
                             boolean release)
Read an element referencing container from a persistency node.

Parameters:
node - The node containing information on the referenced element.
language - The language to read the node for.
release - An indicator on whether the reference is released.
Returns:
A container referencing the according element.
Since:
4.2.414

write

@NotNull
Node write(@NotNull
                   String tag,
                   @NotNull
                   ReferenceHolder holder)
Write an element referencing container to a persistency node.

Parameters:
tag - The tag name to be used for the node.
holder - The element referencing container to gather information from.
Returns:
A persistency node containing the relevant information.
Since:
4.2.414


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480