Package com.day.cq.dam.api.lightbox
Interface LightboxService
-
public interface LightboxService
TheLightboxService
makes sure that access to the respective user lightboxes is possible.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Lightbox
getLightbox(Session userSession)
Returns theLightbox
of the respective user (userSession).Lightbox
getLightbox(Session session, java.lang.String resourcePath)
Returns theLightbox
containing resource located at resourcePath.
-
-
-
Method Detail
-
getLightbox
Lightbox getLightbox(Session userSession)
Returns theLightbox
of the respective user (userSession).- Parameters:
userSession
- user session- Returns:
- the user's
Lightbox
-
getLightbox
Lightbox getLightbox(Session session, java.lang.String resourcePath)
Returns theLightbox
containing resource located at resourcePath. It returns null if resource is not found or resource is not contained within lightbox.- Parameters:
session
- jcr sessionresourcePath
- path of the resource- Returns:
- the resource's
Lightbox
or null
-
-