use of org.alfresco.repo.virtual.template.NullFilingRule in project alfresco-repository by Alfresco.
the class VirtualStoreImpl method createFilingData.
@Override
public FilingData createFilingData(Reference parentReference, QName assocTypeQName, QName assocQName, QName nodeTypeQName, Map<QName, Serializable> properties) throws VirtualizationException {
VirtualFolderDefinition structure = resolveVirtualFolderDefinition(parentReference);
FilingRule filingRule = structure.getFilingRule();
if (filingRule == null) {
filingRule = new NullFilingRule(environment);
}
FilingParameters filingParameters = new FilingParameters(parentReference, assocTypeQName, assocQName, nodeTypeQName, properties);
FilingData filingData = filingRule.createFilingData(filingParameters);
return filingData;
}
Aggregations