mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-832 (It's impossible to Update Disposition As of Date)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -108,6 +108,7 @@
|
|||||||
<list>
|
<list>
|
||||||
<value>RECORD_FOLDER</value>
|
<value>RECORD_FOLDER</value>
|
||||||
<value>RECORD</value>
|
<value>RECORD</value>
|
||||||
|
<value>FILE_PLAN_COMPONENT</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
<property name="conditions">
|
<property name="conditions">
|
||||||
|
@@ -423,7 +423,7 @@ public class RecordsManagementServiceImpl extends ServiceBaseImpl
|
|||||||
*/
|
*/
|
||||||
public boolean isFilePlanComponent(NodeRef nodeRef)
|
public boolean isFilePlanComponent(NodeRef nodeRef)
|
||||||
{
|
{
|
||||||
return getFilePlanService().isFilePlan(nodeRef);
|
return getFilePlanService().isFilePlanComponent(nodeRef);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -57,6 +57,13 @@ public class HasDispositionDateCapabilityCondition extends AbstractCapabilityCon
|
|||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (filePlanService.isFilePlanComponent(nodeRef))
|
||||||
|
{
|
||||||
|
if (nodeService.getProperty(nodeRef, PROP_DISPOSITION_AS_OF) != null)
|
||||||
|
{
|
||||||
|
result = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user