Package com.day.cq.dam.api.lightbox
Interface LightboxService
-
public interface LightboxServiceTheLightboxServicemakes sure that access to the respective user lightboxes is possible.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LightboxgetLightbox(javax.jcr.Session userSession)Returns theLightboxof the respective user (userSession).LightboxgetLightbox(javax.jcr.Session session, java.lang.String resourcePath)Returns theLightboxcontaining resource located at resourcePath.
-
-
-
Method Detail
-
getLightbox
Lightbox getLightbox(javax.jcr.Session userSession)
Returns theLightboxof the respective user (userSession).- Parameters:
userSession- user session- Returns:
- the user's
Lightbox
-
getLightbox
Lightbox getLightbox(javax.jcr.Session session, java.lang.String resourcePath)
Returns theLightboxcontaining 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
Lightboxor null
-
-