public class ImagesContainerClientSideElement extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
Ametys Repository
|
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
ImagesContainerClientSideElement() |
Modifier and Type | Method and Description |
---|---|
private boolean |
_isImage(Resource resource) |
Map<String,Object> |
getImages(String id)
Get the list of direct child images of a ResourceCollection
|
void |
service(ServiceManager smanager) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected AmetysObjectResolver _resolver
public ImagesContainerClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public Map<String,Object> getImages(String id)
id
- The id of the ResourceCollection or a child Resource