Package com.day.cq.dam.api.lightbox
Interface LightboxService
public interface LightboxService
The
LightboxService makes sure that access to the respective
user lightboxes is possible.-
Method Summary
Modifier and TypeMethodDescriptiongetLightbox(Session userSession) Returns theLightboxof the respective user (userSession).getLightbox(Session session, String resourcePath) Returns theLightboxcontaining resource located at resourcePath.
-
Method Details
-
getLightbox
Returns theLightboxof the respective user (userSession).- Parameters:
userSession- user session- Returns:
- the user's
Lightbox
-
getLightbox
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
-