*/
public void handle(AsnContext context) throws Exception {
// initialize
AsnOperation operation = context.getOperation();
AsnAuthorizer authorizer = context.getAuthorizer();
String subjectPfx = operation.getSubject().getURNPrefix();
String predicate = operation.getPredicate().getURN();
// query comments
if (subjectPfx.endsWith(":assertionid") &&
predicate.equals("urn:esri:geoportal:comment:query")) {
Assertion assertion = this.getIndexAdapter().loadAssertionById(context,true);
authorizer.authorizeQuery(context);
AsnAssertionRenderer renderer = new AsnAssertionRenderer();
AsnProperty prop = renderer.makeProperty(context,assertion);
context.getOperationResponse().generateResponse(context,prop);
} else if (subjectPfx.endsWith(":resourceid") &&
predicate.equals("urn:esri:geoportal:comment:query")) {
authorizer.authorizeQuery(context);
this.query(context);
} else {
throw new AsnInvalidOperationException();
}