public class ControlledDocEffectiveBehavior extends HBaseBehavior
policyComponent
Constructor and Description |
---|
ControlledDocEffectiveBehavior() |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.String ticket,
java.lang.String objectId,
java.lang.String behaviorKey)
Defines a generic HBase behavior and provides its executer.
|
java.util.List<java.lang.String> |
getAttrValues() |
java.util.Map<java.lang.String,java.lang.String> |
getPeriodicReviewDateMap() |
void |
init() |
void |
setAttrValues(java.util.List<java.lang.String> attrValues)
Injected list of attributes that drive how far out to automatically set the periodic date when the document becomes Effective
Example:
list
value=objectType
value=app_department
/list
|
void |
setPeriodicReviewDateMap(java.util.Map<java.lang.String,java.lang.String> periodicReviewDateMap)
Injected map where keys are attribute values (if more than one, separated by ~|~) and
value is the number of days out to automatically set the Periodic Review Date
Example:
map
entry key="ncgmp_policy~|~Marketing" value="730"
entry key="ncgmp_policy~|~Sales" value="365"
entry key="ncgmp_policy~|~Internal" value="1095"
/map
|
getPriority, setPriority
public java.util.List<java.lang.String> getAttrValues()
public void setAttrValues(java.util.List<java.lang.String> attrValues)
attrValues
- public java.util.Map<java.lang.String,java.lang.String> getPeriodicReviewDateMap()
public void setPeriodicReviewDateMap(java.util.Map<java.lang.String,java.lang.String> periodicReviewDateMap)
effectiveDateMap
- public void init() throws java.lang.Exception
java.lang.Exception
public void execute(java.lang.String ticket, java.lang.String objectId, java.lang.String behaviorKey)
HBaseBehavior
execute
in class HBaseBehavior