public class GetChildByIdMethod extends AbstractProtocolMethod<Reference>
PATH_SEPARATOR| Constructor and Description |
|---|
GetChildByIdMethod(String childId) |
| Modifier and Type | Method and Description |
|---|---|
Reference |
execute(VirtualProtocol virtualProtocol,
Reference reference)
|
execute, execute, executepublic GetChildByIdMethod(String childId)
public Reference execute(VirtualProtocol virtualProtocol, Reference reference) throws ProtocolMethodException
Reference obtained from the parent
Reference and the childId. The inner template path is obtained
from the parent Reference and then the childId String is
concatenated to it. The child Reference is created by calling
Protocol#replaceTemplatePathMethod with the new id String as a parameter.execute in interface ProtocolMethod<Reference>execute in class AbstractProtocolMethod<Reference>virtualProtocol - reference - the parent ReferenceReferenceProtocolMethodExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.