Package org.alfresco.repo.virtual.ref
Class GetChildByIdMethod
java.lang.Object
org.alfresco.repo.virtual.ref.AbstractProtocolMethod<Reference>
org.alfresco.repo.virtual.ref.GetChildByIdMethod
- All Implemented Interfaces:
ProtocolMethod<Reference>
-
Field Summary
Fields inherited from class org.alfresco.repo.virtual.ref.AbstractProtocolMethod
PATH_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.alfresco.repo.virtual.ref.AbstractProtocolMethod
execute, execute, execute
-
Constructor Details
-
GetChildByIdMethod
-
-
Method Details
-
execute
public Reference execute(VirtualProtocol virtualProtocol, Reference reference) throws ProtocolMethodException Provides a childReferenceobtained from the parentReferenceand the childId. The inner template path is obtained from the parentReferenceand then the childId String is concatenated to it. The childReferenceis created by calling Protocol#replaceTemplatePathMethod with the new id String as a parameter.- Specified by:
executein interfaceProtocolMethod<Reference>- Overrides:
executein classAbstractProtocolMethod<Reference>- Parameters:
virtualProtocol-reference- the parentReference- Returns:
- the child
Reference - Throws:
ProtocolMethodException
-