コード例 #1
0
 /**
  * Construct.
  *
  * @param refHandler
  */
 public ResourceReferenceLogData(ResourceReferenceRequestHandler refHandler) {
   super(
       refHandler.getResourceReference().getName(),
       refHandler.getLocale(),
       refHandler.getStyle(),
       refHandler.getVariation());
   resourceReferenceClass = refHandler.getResourceReference().getClass();
   scope = refHandler.getResourceReference().getScope();
   pageParameters = refHandler.getPageParameters();
 }
コード例 #2
0
 protected boolean handlesRequest(ResourceReferenceRequestHandler handler) {
   return resourceReference.equals(handler.getResourceReference())
       || mergedKeys.contains(handler.getResourceReference().toString());
 }