org.ucmtwine.annotation
Annotation Type ServiceMethod


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ServiceMethod

Defines a UCM service entry point.

Author:
tim

Required Element Summary
 String name
          The UCM service name.
 
Optional Element Summary
 int accessLevel
          The access level of the service.
 String errorMessage
          An error message to return if the service fails to execute.
 String subjects
          The notified subjects.
 String template
          The UCM service template.
 String type
          The type of service.
 

Element Detail

name

public abstract String name
The UCM service name.

template

public abstract String template
The UCM service template.

Default:
""

errorMessage

public abstract String errorMessage
An error message to return if the service fails to execute.

Default:
"Error executing service"

type

public abstract String type
The type of service. e.g. Normal (null) or SubService.

Default:
""

accessLevel

public abstract int accessLevel
The access level of the service. Defaults to Global, Scriptable, Read

Default:
49

subjects

public abstract String subjects
The notified subjects.

Default:
""


Copyright © 2012. All Rights Reserved.