public abstract class PolicyRegistration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Behaviour |
behaviour
The behaviour
|
protected org.alfresco.service.namespace.QName |
className
The class name
|
protected PolicyComponent |
policyComponent
The policy componenet
|
protected java.util.List |
policyNames
The policy names
|
| Constructor and Description |
|---|
PolicyRegistration() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
register()
Registers the behaviour with the policy component for the policy and type specified.
|
void |
setBehaviour(Behaviour behaviour)
Set the behaviour
|
void |
setClassName(java.lang.String className)
Set the class name
|
void |
setPolicyComponent(PolicyComponent policyComponent)
Set the policy component
|
void |
setPolicyName(java.lang.String policyName)
Set the policy name
|
void |
setPolicyNames(java.util.List policyNames)
Set the policy names.
|
protected PolicyComponent policyComponent
protected java.util.List policyNames
protected org.alfresco.service.namespace.QName className
protected Behaviour behaviour
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent - the policy componenetpublic void setPolicyName(java.lang.String policyName)
policyName - the policy namepublic void setPolicyNames(java.util.List policyNames)
policyNames - the policy namespublic void setClassName(java.lang.String className)
className - the class namepublic void setBehaviour(Behaviour behaviour)
behaviour - the behaviourpublic abstract void register()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.