Package org.alfresco.repo.virtual.ref
Class AbstractProtocolMethod<R>
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.AbstractProtocolMethod<R>
-
- Type Parameters:
R-
- All Implemented Interfaces:
ProtocolMethod<R>
- Direct Known Subclasses:
ApplyTemplateMethod,GetActualNodeRefMethod,GetAllSetPermissionsMethod,GetAspectsMethod,GetChildAssocsMethod,GetChildByIdMethod,GetParentReferenceMethod,GetPathMethod,GetReferenceType,GetSetPermissionsMethod,GetTemplatePathMethod,GetVanillaScriptInputStreamMethod,HasPermissionMethod,NewVirtualReferenceMethod
public abstract class AbstractProtocolMethod<R> extends java.lang.Object implements ProtocolMethod<R>
Handles protocol method dispatch. Not supported: base protocol dispatches. The vanilla protocol can be handled by default as the virtual protocol.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPATH_SEPARATOR
-
Constructor Summary
Constructors Constructor Description AbstractProtocolMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rexecute(NodeProtocol protocol, Reference reference)Rexecute(Protocol protocol, Reference reference)Rexecute(VanillaProtocol vanillaProtocol, Reference reference)Rexecute(VirtualProtocol virtualProtocol, Reference reference)
-
-
-
Field Detail
-
PATH_SEPARATOR
public static final java.lang.String PATH_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public R execute(VanillaProtocol vanillaProtocol, Reference reference) throws ProtocolMethodException
- Specified by:
executein interfaceProtocolMethod<R>- Throws:
ProtocolMethodException
-
execute
public R execute(VirtualProtocol virtualProtocol, Reference reference) throws ProtocolMethodException
- Specified by:
executein interfaceProtocolMethod<R>- Throws:
ProtocolMethodException
-
execute
public R execute(NodeProtocol protocol, Reference reference) throws ProtocolMethodException
- Specified by:
executein interfaceProtocolMethod<R>- Throws:
ProtocolMethodException
-
execute
public R execute(Protocol protocol, Reference reference) throws ProtocolMethodException
- Specified by:
executein interfaceProtocolMethod<R>- Throws:
ProtocolMethodException
-
-