/** * Returns a numbered path relative to the root of this service, but is * ignorant of FS and similar constructs. For example, given an id of * 123456 this will return "ROOT/Thumbnails/Dir-123/Dir-456/123456" * * @param id the thumbnail identifier * @return the path relative to the root */ public String getThumbnailPath(Long id) { return getPath(THUMBNAILS_PATH, id); }
/** * Returns a numbered path relative to the root of this service, but is * ignorant of FS and similar constructs. For example, given an id of * 123456 this will return "ROOT/Files/Dir-123/Dir-456/123456" * * @param id the Files identifier * @return the path relative to the root */ public String getFilesPath(Long id) { return getPath(FILES_PATH, id); }
/** * Returns a numbered path relative to the root of this service, but is * ignorant of FS and similar constructs. For example, given an id of * 12345 this will return "ROOT/Pixels/Dir-123/Dir-456/123456" * * @param id the Pixels identifier * @return the path relative to the root */ public String getPixelsPath(Long id) { return getPath(PIXELS_PATH, id); }