private String createOperationName(OperationMethodBinding theMethodBinding) { StringBuilder retVal = new StringBuilder(); if (theMethodBinding.getResourceName() != null) { retVal.append(theMethodBinding.getResourceName()); } retVal.append('-'); if (theMethodBinding.isCanOperateAtInstanceLevel()) { retVal.append('i'); } if (theMethodBinding.isCanOperateAtServerLevel()) { retVal.append('s'); } retVal.append('-'); // Exclude the leading $ retVal.append(theMethodBinding.getName(), 1, theMethodBinding.getName().length()); return retVal.toString(); }
private String createOperationName(OperationMethodBinding theMethodBinding) { StringBuilder retVal = new StringBuilder(); if (theMethodBinding.getResourceName() != null) { retVal.append(theMethodBinding.getResourceName()); } retVal.append('-'); if (theMethodBinding.isCanOperateAtInstanceLevel()) { retVal.append('i'); } if (theMethodBinding.isCanOperateAtServerLevel()) { retVal.append('s'); } retVal.append('-'); // Exclude the leading $ retVal.append(theMethodBinding.getName(), 1, theMethodBinding.getName().length()); return retVal.toString(); }
if (getResourceName() == null) { if (isNotBlank(theRequest.getResourceName())) { return false; if (getResourceName() != null && !getResourceName().equals(theRequest.getResourceName())) { return false;
if (getResourceName() == null) { myOtherOperationType = RestOperationTypeEnum.EXTENDED_OPERATION_SERVER; myCanOperateAtServerLevel = true;
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addTypeElement().setValue(sharedDescription.getResourceName());
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addType(sharedDescription.getResourceName());
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addResourceElement().setValue(sharedDescription.getResourceName());
private String createOperationName(OperationMethodBinding theMethodBinding) { StringBuilder retVal = new StringBuilder(); if (theMethodBinding.getResourceName() != null) { retVal.append(theMethodBinding.getResourceName()); } retVal.append('-'); if (theMethodBinding.isCanOperateAtInstanceLevel()) { retVal.append('i'); } if (theMethodBinding.isCanOperateAtServerLevel()) { retVal.append('s'); } retVal.append('-'); // Exclude the leading $ retVal.append(theMethodBinding.getName(), 1, theMethodBinding.getName().length()); return retVal.toString(); }
private String createOperationName(OperationMethodBinding theMethodBinding) { StringBuilder retVal = new StringBuilder(); if (theMethodBinding.getResourceName() != null) { retVal.append(theMethodBinding.getResourceName()); } retVal.append('-'); if (theMethodBinding.isCanOperateAtInstanceLevel()) { retVal.append('i'); } if (theMethodBinding.isCanOperateAtServerLevel()) { retVal.append('s'); } retVal.append('-'); // Exclude the leading $ retVal.append(theMethodBinding.getName(), 1, theMethodBinding.getName().length()); return retVal.toString(); }
private String createOperationName(OperationMethodBinding theMethodBinding) { StringBuilder retVal = new StringBuilder(); if (theMethodBinding.getResourceName() != null) { retVal.append(theMethodBinding.getResourceName()); } retVal.append('-'); if (theMethodBinding.isCanOperateAtInstanceLevel()) { retVal.append('i'); } if (theMethodBinding.isCanOperateAtServerLevel()) { retVal.append('s'); } retVal.append('-'); // Exclude the leading $ retVal.append(theMethodBinding.getName(), 1, theMethodBinding.getName().length()); return retVal.toString(); }
private String createOperationName(OperationMethodBinding theMethodBinding) { StringBuilder retVal = new StringBuilder(); if (theMethodBinding.getResourceName() != null) { retVal.append(theMethodBinding.getResourceName()); } retVal.append('-'); if (theMethodBinding.isCanOperateAtInstanceLevel()) { retVal.append('i'); } if (theMethodBinding.isCanOperateAtServerLevel()) { retVal.append('s'); } retVal.append('-'); // Exclude the leading $ retVal.append(theMethodBinding.getName(), 1, theMethodBinding.getName().length()); return retVal.toString(); }
if (getResourceName() == null) { if (isNotBlank(theRequest.getResourceName())) { return false; if (getResourceName() != null && !getResourceName().equals(theRequest.getResourceName())) { return false;
if (getResourceName() == null) { myOtherOperationType = RestOperationTypeEnum.EXTENDED_OPERATION_SERVER; myCanOperateAtServerLevel = true;
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addTypeElement().setValue(sharedDescription.getResourceName());
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addType().setValue(sharedDescription.getResourceName());
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addType(sharedDescription.getResourceName());
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addResourceElement().setValue(sharedDescription.getResourceName());
op.setSystem(sharedDescription.isCanOperateAtServerLevel()); if (isNotBlank(sharedDescription.getResourceName())) { op.addResourceElement().setValue(sharedDescription.getResourceName());