org.alfresco.repo.policy
Interface PolicyDefinition


public interface PolicyDefinition

Definition of a Policy


Method Summary
 Policy.Arg getArgument(int index)
          Gets Policy Argument definition for the specified argument index
 Policy.Arg[] getArguments()
          Gets Policy Argument definitions for all arguments in order of arguments
 org.alfresco.service.namespace.QName getName()
          Gets the name of the Policy
 java.lang.Class getPolicyInterface()
          Gets the Policy interface class
 PolicyType getType()
          Gets the Policy type
 

Method Detail

getName

org.alfresco.service.namespace.QName getName()
Gets the name of the Policy

Returns:
policy name

getPolicyInterface

java.lang.Class getPolicyInterface()
Gets the Policy interface class

Returns:
the class

getType

PolicyType getType()
Gets the Policy type

Returns:
the policy type

getArgument

Policy.Arg getArgument(int index)
Gets Policy Argument definition for the specified argument index

Parameters:
index - argument index
Returns:
ARG.KEY or ARG.START_VALUE or ARG.END_VALUE

getArguments

Policy.Arg[] getArguments()
Gets Policy Argument definitions for all arguments in order of arguments

Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.