package Ġcom . example . cms . domains . file uploads . services Ċ Ċ import Ġcom . example . cms . domains . file uploads . models . entities . Upload Properties Ċ import Ġcom . example . common . exceptions . not found . NotFoundException Ċ import Ġkotlin . Throws Ċ import Ġjava . io . IOException Ċ import Ġorg . springframework . web . multipart . Multipart File Ċ Ċ interface ĠFile Upload Service Ġ{ ĊĠĠĠ Ġ@ Throws ( IOException :: class ) ĊĠĠĠ Ġfun Ġupload Image ( ĊĠĠĠĠĠĠĠ Ġmultipart File : ĠMultip art File , ĊĠĠĠĠĠĠĠ Ġnamespace : ĠString , ĊĠĠĠĠĠĠĠ Ġunique Property : ĠString , ĊĠĠĠĠĠĠĠ Ġheight : ĠInt ĊĠĠĠ Ġ): ĠUpload Properties ĊĊĠĠĠ Ġ@ Throws ( IOException :: class ) ĊĠĠĠ Ġfun Ġupload File ( bytes : ĠByteArray , Ġext : ĠString , Ġnamespace : ĠString , Ġunique Property : ĠString ): ĠUpload Properties ĊĊĠĠĠ Ġ@ Throws ( NotFoundException :: class ) ĊĠĠĠ Ġfun Ġfind ( id : ĠLong ): ĠUpload Properties ĊĊĠĠĠ Ġ@ Throws ( NotFoundException :: class ) ĊĠĠĠ Ġfun ĠfindBy Uuid ( uuid : ĠString ): ĠUpload Properties Ċ } Ċ