use of org.alfresco.repo.virtual.ref.GetAspectsMethod in project alfresco-repository by Alfresco.
the class VirtualNodeServiceExtension method getAspects.
@Override
public Set<QName> getAspects(NodeRef nodeRef) {
NodeServiceTrait theTrait = getTrait();
Reference reference = Reference.fromNodeRef(nodeRef);
if (reference != null) {
GetAspectsMethod method = new GetAspectsMethod(theTrait, environment);
return reference.execute(method);
} else {
return theTrait.getAspects(nodeRef);
}
}
Aggregations