Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.policy
Interface PolicyDefinition<P extends Policy>
Type Parameters:
P - the policy interface

@org.alfresco.api.AlfrescoPublicApi
public interface PolicyDefinition<P extends Policy>
Definition of a Policy
Author:
David Caruana

Method Summary
org.alfresco.repo.policy.Policy.Arg
getArgument(int index)
          Gets Policy Argument definition for the specified argument index
org.alfresco.repo.policy.Policy.Arg[]
getArguments()
          Gets Policy Argument definitions for all arguments in order of arguments
getName()
          Gets the name of the Policy
getPolicyInterface()
          Gets the Policy interface class
getType()
          Gets the Policy type
Method Detail
getName
QName getName()
Gets the name of the Policy
Returns:
policy name

getPolicyInterface
Class<PgetPolicyInterface()
Gets the Policy interface class
Returns:
the class

getType
PolicyType getType()
Gets the Policy type
Returns:
the policy type

getArgument
org.alfresco.repo.policy.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
org.alfresco.repo.policy.Policy.Arg[] getArguments()
Gets Policy Argument definitions for all arguments in order of arguments
Returns:
Arg[]

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.