Class ThumbnailServiceImpl
- java.lang.Object
-
- org.silverpeas.core.io.media.image.thumbnail.service.ThumbnailServiceImpl
-
- All Implemented Interfaces:
ThumbnailService
@Service @Default public class ThumbnailServiceImpl extends Object implements ThumbnailService
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ThumbnailServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThumbnailDetail
createThumbnail(ThumbnailDetail thumbDetail)
void
deleteAllThumbnail(String componentId)
void
deleteThumbnail(ThumbnailDetail thumbDetail)
List<ThumbnailDetail>
getByReference(Set<ThumbnailReference> references)
ThumbnailDetail
getCompleteThumbnail(ThumbnailDetail thumbDetail)
void
moveThumbnail(ThumbnailDetail thumbDetail, String toInstanceId)
void
updateThumbnail(ThumbnailDetail thumbDetail)
-
-
-
Method Detail
-
createThumbnail
public ThumbnailDetail createThumbnail(ThumbnailDetail thumbDetail) throws ThumbnailException
- Specified by:
createThumbnail
in interfaceThumbnailService
- Throws:
ThumbnailException
-
updateThumbnail
public void updateThumbnail(ThumbnailDetail thumbDetail) throws ThumbnailException
- Specified by:
updateThumbnail
in interfaceThumbnailService
- Throws:
ThumbnailException
-
deleteThumbnail
public void deleteThumbnail(ThumbnailDetail thumbDetail) throws ThumbnailException
- Specified by:
deleteThumbnail
in interfaceThumbnailService
- Throws:
ThumbnailException
-
getCompleteThumbnail
public ThumbnailDetail getCompleteThumbnail(ThumbnailDetail thumbDetail) throws ThumbnailException
- Specified by:
getCompleteThumbnail
in interfaceThumbnailService
- Throws:
ThumbnailException
-
getByReference
public List<ThumbnailDetail> getByReference(Set<ThumbnailReference> references)
- Specified by:
getByReference
in interfaceThumbnailService
-
deleteAllThumbnail
public void deleteAllThumbnail(String componentId) throws ThumbnailException
- Specified by:
deleteAllThumbnail
in interfaceThumbnailService
- Throws:
ThumbnailException
-
moveThumbnail
public void moveThumbnail(ThumbnailDetail thumbDetail, String toInstanceId) throws ThumbnailException
- Specified by:
moveThumbnail
in interfaceThumbnailService
- Throws:
ThumbnailException
-
-