public class ApplyTemplateMethod extends AbstractProtocolMethod<VirtualFolderDefinition>
VirtualFolderDefinition
by executing the template indicated
by a virtualized entity reference.Modifier and Type | Field and Description |
---|---|
static String |
VANILLA_JSON_PARAM_NAME |
PATH_SEPARATOR
Constructor and Description |
---|
ApplyTemplateMethod(ActualEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
VirtualFolderDefinition |
execute(NodeProtocol protocol,
Reference reference)
Creates an empty
VirtualFolderDefinition parameterized with a
NullFilingRule as this method is called for non-virtual nodes. |
VirtualFolderDefinition |
execute(VanillaProtocol vanillaProtocol,
Reference reference) |
VirtualFolderDefinition |
execute(VirtualProtocol virtualProtocol,
Reference reference) |
VirtualFolderDefinition |
execute(VirtualProtocol virtualProtocol,
Reference reference,
VirtualContext context) |
execute
public static final String VANILLA_JSON_PARAM_NAME
public ApplyTemplateMethod(ActualEnvironment environment)
public VirtualFolderDefinition execute(VirtualProtocol virtualProtocol, Reference reference) throws ProtocolMethodException
execute
in interface ProtocolMethod<VirtualFolderDefinition>
execute
in class AbstractProtocolMethod<VirtualFolderDefinition>
ProtocolMethodException
public VirtualFolderDefinition execute(VirtualProtocol virtualProtocol, Reference reference, VirtualContext context) throws ProtocolMethodException
ProtocolMethodException
public VirtualFolderDefinition execute(VanillaProtocol vanillaProtocol, Reference reference) throws ProtocolMethodException
execute
in interface ProtocolMethod<VirtualFolderDefinition>
execute
in class AbstractProtocolMethod<VirtualFolderDefinition>
ProtocolMethodException
public VirtualFolderDefinition execute(NodeProtocol protocol, Reference reference) throws ProtocolMethodException
VirtualFolderDefinition
parameterized with a
NullFilingRule
as this method is called for non-virtual nodes.execute
in interface ProtocolMethod<VirtualFolderDefinition>
execute
in class AbstractProtocolMethod<VirtualFolderDefinition>
protocol
- reference
- VirtualFolderDefinition
.ProtocolMethodException
Copyright © 2005–2017 Alfresco Software. All rights reserved.