@Test public void partFileTest() { PartBinaryResource _partBinaryResource = resource.partFile(); Assert.assertEquals(partBinaryResource, _partBinaryResource); }
@ApiOperation(value = "parts") @Path("/{workspaceId}/parts/{partNumber}/{version}") public PartBinaryResource partFile() { return partBinaryResource; }
FileResource { @ApiOperation(value = "parts") @Path("/{workspaceId}/parts/{partNumber}/{version}") public PartBinaryResource partFile() { return partBinaryResource; } }
FileResource { @ApiOperation(value = "parts") @Path("/{workspaceId}/parts/{partNumber}/{version}") public PartBinaryResource partFile() { return partBinaryResource; } FileResource(); }
FileResource { @ApiOperation(value = "parts") @Path("/{workspaceId}/parts/{partNumber}/{version}") public PartBinaryResource partFile() { return partBinaryResource; } FileResource(); @ApiOperation(value = "documents") @Path("/{workspaceId}/documents/{documentId}/{version}") DocumentBinaryResource documentFile(); @ApiOperation(value = "parts") @Path("/{workspaceId}/parts/{partNumber}/{version}") PartBinaryResource partFile(); @ApiOperation(value = "document-templates") @Path("/{workspaceId}/document-templates/{templateId}/") @RolesAllowed({UserGroupMapping.REGULAR_USER_ROLE_ID}) DocumentTemplateBinaryResource documentTemplateFile(); @ApiOperation(value = "part-templates") @Path("/{workspaceId}/part-templates/{templateId}/") @RolesAllowed({UserGroupMapping.REGULAR_USER_ROLE_ID}) PartTemplateBinaryResource partTemplateFile(); @ApiOperation(value = "product-instances") @Path("/{workspaceId}/product-instances/{serialNumber}/{ciId}/") @RolesAllowed({UserGroupMapping.REGULAR_USER_ROLE_ID}) ProductInstanceBinaryResource productInstanceFile(); }
FileResource { @ApiOperation(value = "parts") @Path("/{workspaceId}/parts/{partNumber}/{version}") public PartBinaryResource partFile() { return partBinaryResource; } FileResource(); @ApiOperation(value = "documents") @Path("/{workspaceId}/documents/{documentId}/{version}") DocumentBinaryResource documentFile(); @ApiOperation(value = "parts") @Path("/{workspaceId}/parts/{partNumber}/{version}") PartBinaryResource partFile(); @ApiOperation(value = "document-templates") @Path("/{workspaceId}/document-templates/{templateId}/") @RolesAllowed({UserGroupMapping.REGULAR_USER_ROLE_ID}) DocumentTemplateBinaryResource documentTemplateFile(); @ApiOperation(value = "part-templates") @Path("/{workspaceId}/part-templates/{templateId}/") @RolesAllowed({UserGroupMapping.REGULAR_USER_ROLE_ID}) PartTemplateBinaryResource partTemplateFile(); @ApiOperation(value = "product-instances") @Path("/{workspaceId}/product-instances/{serialNumber}/{ciId}/") @RolesAllowed({UserGroupMapping.REGULAR_USER_ROLE_ID}) ProductInstanceBinaryResource productInstanceFile();  }