|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.policy.registration.PolicyRegistration
public abstract class PolicyRegistration
Bean that can be configured in spring to register a policy bahaviour
Field Summary | |
---|---|
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 Summary | |
---|---|
PolicyRegistration()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PolicyComponent policyComponent
protected java.util.List policyNames
protected org.alfresco.service.namespace.QName className
protected Behaviour behaviour
Constructor Detail |
---|
public PolicyRegistration()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |