public abstract class PolicyRegistration extends 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 List<org.alfresco.service.namespace.QName> |
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(String className)
Set the class name
|
void |
setPolicyComponent(PolicyComponent policyComponent)
Set the policy component
|
void |
setPolicyName(String policyName)
Set the policy name
|
void |
setPolicyNames(List<String> policyNames)
Set the policy names.
|
protected PolicyComponent policyComponent
protected List<org.alfresco.service.namespace.QName> policyNames
protected org.alfresco.service.namespace.QName className
protected Behaviour behaviour
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent
- the policy componenetpublic void setPolicyName(String policyName)
policyName
- the policy namepublic void setPolicyNames(List<String> policyNames)
policyNames
- the policy namespublic void setClassName(String className)
className
- the class namepublic void setBehaviour(Behaviour behaviour)
behaviour
- the behaviourpublic abstract void register()
Copyright © 2005–2017 Alfresco Software. All rights reserved.