public class ControlledDocApprovedBehavior extends HBaseBehavior
Modifier and Type | Field and Description |
---|---|
protected boolean |
deleteMinorVersions |
policyComponent
Constructor and Description |
---|
ControlledDocApprovedBehavior() |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.String ticket,
java.lang.String objectId,
java.lang.String lifecycleState)
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> |
getEffectiveDateMap() |
void |
init() |
void |
setAttrValues(java.util.List<java.lang.String> attrValues)
Injected list of attributes that drive how far out to automatically set the effective date when the document is approved
Example:
list
value=objectType
value=app_department
/list
|
void |
setDeleteMinorVersions(boolean value) |
void |
setEffectiveDateMap(java.util.Map<java.lang.String,java.lang.String> effectiveDateMap)
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 Effective Date
Example:
map
entry key="ncgmp_policy~|~Marketing" value="14"
entry key="ncgmp_policy~|~Sales" value="30"
entry key="ncgmp_policy~|~Internal" value="21"
/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> getEffectiveDateMap()
public void setEffectiveDateMap(java.util.Map<java.lang.String,java.lang.String> effectiveDateMap)
effectiveDateMap
- public void setDeleteMinorVersions(boolean value)
public void init() throws java.lang.Exception
java.lang.Exception
public void execute(java.lang.String ticket, java.lang.String objectId, java.lang.String lifecycleState)
HBaseBehavior
execute
in class HBaseBehavior