| Modifier and Type | Method and Description |
|---|---|
Asset |
AssetResource.saveAsset(Asset asset,
String id) |
| Modifier and Type | Method and Description |
|---|---|
<U extends Previewable & Identifiable> |
AssetResource.assets(String id) |
org.springframework.http.ResponseEntity<Asset> |
AssetResource.saveOrUpdate(org.springframework.web.multipart.MultipartFile file,
String id,
String type) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
AssetResource.saveAsset(Asset asset,
String id) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
AssetService.changeAssetOrderInComponent(T component,
String assetId,
AssetService.OrderType ordering)
Uses to change assset order in the component
|
Asset |
AssetService.save(T component,
Asset asset)
Save an external asset
|
Asset |
AssetService.save(T component,
Asset asset,
byte[] content)
Save an internal asset
|
Asset |
AssetService.upload(org.springframework.web.multipart.MultipartFile file,
T component,
String type)
Upload a local asset
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PageAssetPredicate.apply(Asset asset) |
String |
AssetService.getAssetContent(T component,
Asset asset) |
Asset |
AssetService.save(T component,
Asset asset)
Save an external asset
|
Asset |
AssetService.save(T component,
Asset asset,
byte[] content)
Save an internal asset
|
| Modifier and Type | Method and Description |
|---|---|
List<Asset> |
AssetImporter.load(Identifiable component,
Path resources) |
| Modifier and Type | Method and Description |
|---|---|
void |
AssetImporter.save(List<Asset> elements,
Path resources) |
| Modifier and Type | Method and Description |
|---|---|
Set<Asset> |
Assetable.getAssets() |
| Modifier and Type | Method and Description |
|---|---|
void |
Assetable.addAsset(Asset asset) |
| Modifier and Type | Method and Description |
|---|---|
void |
Assetable.addAssets(Set<Asset> assets) |
void |
Assetable.setAssets(Set<Asset> assets) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
Asset.setActive(boolean inactive) |
Asset |
Asset.setComponentId(String componentId) |
Asset |
Asset.setExternal(boolean external) |
Asset |
Asset.setId(String id) |
Asset |
Asset.setName(String name) |
Asset |
Asset.setOrder(int order) |
Asset |
Asset.setScope(String scope) |
Asset |
Asset.setType(AssetType type) |
| Modifier and Type | Method and Description |
|---|---|
static Comparator<Asset> |
Asset.getComparatorByComponentId() |
static Comparator<Asset> |
Asset.getComparatorByOrder() |
| Modifier and Type | Method and Description |
|---|---|
Set<Asset> |
AbstractPage.getAssets() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPage.addAsset(Asset asset) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPage.addAssets(Set<Asset> assets) |
void |
AbstractPage.setAssets(Set<Asset> assets) |
| Modifier and Type | Method and Description |
|---|---|
Set<Asset> |
Widget.getAssets() |
| Modifier and Type | Method and Description |
|---|---|
void |
Widget.addAsset(Asset asset) |
| Modifier and Type | Method and Description |
|---|---|
void |
Widget.addAssets(Set<Asset> assets) |
void |
Widget.setAssets(Set<Asset> assets) |
| Modifier and Type | Method and Description |
|---|---|
List<Asset> |
AssetRepository.findAssetInPath(T component,
AssetType type,
Path directory)
Return the list of assets found in a repository
|
List<Asset> |
AssetRepository.findAssetInPathWhithoutComponentId(T component,
AssetType type,
Path directory)
AssetRepository.refreshAssets(T) need to not set componentId for asset otherwise it makes page creation failing
AssetImporter need it
// TODO : to be refactored
|
| Modifier and Type | Method and Description |
|---|---|
void |
AssetRepository.delete(Asset asset)
Remove an asset
|
byte[] |
AssetRepository.readAllBytes(Asset asset)
Read resource content
|
byte[] |
AssetRepository.readAllBytes(String componentId,
Asset asset)
Read resource content
|
protected Path |
AssetRepository.resolveAssetPath(Asset asset) |
protected Path |
AssetRepository.resolveAssetPath(String componentId,
Asset asset) |
protected Path |
AssetRepository.resolveExistingAssetPath(Asset asset) |
protected Path |
AssetRepository.resolveExistingAssetPath(String componentId,
Asset asset) |
void |
AssetRepository.save(Asset asset,
byte[] content)
Add a file asset to a component
|
void |
AssetRepository.save(String componentId,
Asset asset,
byte[] content)
Add a file asset to a component
|
| Modifier and Type | Method and Description |
|---|---|
protected <P extends Previewable & Identifiable> |
HtmlBuilderVisitor.getSortedAssets(P previewable)
Return the list of the previewable assets sorted with only active assets
|
Set<Asset> |
AssetVisitor.visit(Component component) |
Set<Asset> |
AssetVisitor.visit(Container container) |
Set<Asset> |
AssetVisitor.visit(FormContainer formContainer) |
Set<Asset> |
AssetVisitor.visit(FragmentElement fragmentElement) |
Set<Asset> |
AssetVisitor.visit(ModalContainer modalContainer) |
<P extends Previewable & Identifiable> |
AssetVisitor.visit(P previewable) |
Set<Asset> |
AssetVisitor.visit(TabContainer tabContainer) |
Set<Asset> |
AssetVisitor.visit(TabsContainer tabsContainer) |
Set<Asset> |
AssetVisitor.visit(Widget widget) |
protected Set<Asset> |
AssetVisitor.visitRows(List<List<Element>> rows) |
Copyright © 2021. All rights reserved.