public interface IImagesService
extends net.anotheria.asg.service.ASGService
| Modifier and Type | Method and Description |
|---|---|
void |
copyMultilingualAttributesInAllImages(java.lang.String sourceLanguage,
java.lang.String targetLanguage)
In all documents of type Image copies all multilingual fields from sourceLanguage to targetLanguage.
|
void |
copyMultilingualAttributesInAllObjects(java.lang.String sourceLanguage,
java.lang.String targetLanguage)
Copies all multilingual fields from sourceLanguage to targetLanguage in all data objects (documents, vo) which are part of this module and managed by this service.
|
Image |
createImage(Image image)
Creates a new Image object.
|
java.util.List<Image> |
createImages(java.util.List<Image> list)
Creates multiple new Image objects.
|
void |
deleteImage(Image image)
Deletes a Image object.
|
void |
deleteImage(java.lang.String id)
Deletes a Image object by id.
|
void |
deleteImages(java.util.List<Image> list)
Deletes multiple Image object.
|
void |
executeParsingForDocument(DocumentName documentName,
org.codehaus.jettison.json.JSONObject data)
Save transferred document by its own type.
|
net.anotheria.anodoc.query2.QueryResult |
executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.
|
net.anotheria.anodoc.query2.QueryResult |
executeQueryOnImages(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query.
|
net.anotheria.util.xml.XMLNode |
exportImagesToXML(java.util.List<Image> listImages)
Creates an xml element with selected contained data.
|
net.anotheria.util.xml.XMLNode |
exportImagesToXML(java.lang.String[] languages,
java.util.List<Image> listImages)
creates an xml element with selected contained data but only selected languages in multilingual attributes
|
net.anotheria.util.xml.XMLNode |
exportToXML()
creates an xml element with all contained data.
|
net.anotheria.util.xml.XMLNode |
exportToXML(java.lang.String[] languages)
creates an xml element with all contained data but only selected languages in multilingual attributes.
|
void |
fetchImage(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
Create json object list dependencies for this Image document.
|
Image |
getImage(java.lang.String id)
Returns the Image object with the specified id.
|
java.util.List<Image> |
getImages()
Returns all Images objects stored.
|
java.util.List<Image> |
getImages(net.anotheria.util.slicer.Segment aSegment)
Returns Images objects segment.
|
java.util.List<Image> |
getImages(net.anotheria.util.sorter.SortType sortType)
Returns all Images objects sorted by given sortType.
|
java.util.List<Image> |
getImagesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Image objects, where property matches.
|
java.util.List<Image> |
getImagesByProperty(net.anotheria.util.slicer.Segment aSegment,
net.anotheria.anodoc.query2.QueryProperty... aProperty)
Returns Image objects segment, where property matches.
|
java.util.List<Image> |
getImagesByProperty(net.anotheria.util.slicer.Segment aSegment,
net.anotheria.util.sorter.SortType aSortType,
net.anotheria.anodoc.query2.QueryProperty... aProperty)
Returns Image objects segment, where property matches, sorted.
|
java.util.List<Image> |
getImagesByProperty(net.anotheria.util.sorter.SortType sortType,
net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Image objects, where property matches, sorted.
|
java.util.List<Image> |
getImagesByProperty(java.lang.String propertyName,
java.lang.Object value)
Returns all Image objects, where property with given name equals object.
|
java.util.List<Image> |
getImagesByProperty(java.lang.String propertyName,
java.lang.Object value,
net.anotheria.util.sorter.SortType sortType)
Returns all Image objects, where property with given name equals object, sorted.
|
int |
getImagesCount()
Returns all Images count.
|
Image |
importImage(Image image)
Imports a new Image object.
|
java.util.List<Image> |
importImages(java.util.List<Image> list)
Imports multiple new Image object.
|
Image |
updateImage(Image image)
Updates a Image object.
|
java.util.List<Image> |
updateImages(java.util.List<Image> list)
Updates multiple Image objects.
|
java.util.List<Image> getImages() throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImages(net.anotheria.util.sorter.SortType sortType) throws ImagesServiceException
ImagesServiceExceptionvoid deleteImage(java.lang.String id)
throws ImagesServiceException
ImagesServiceExceptionvoid deleteImage(Image image) throws ImagesServiceException
ImagesServiceExceptionvoid deleteImages(java.util.List<Image> list) throws ImagesServiceException
ImagesServiceExceptionImage getImage(java.lang.String id) throws ImagesServiceException
ImagesServiceExceptionImage importImage(Image image) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> importImages(java.util.List<Image> list) throws ImagesServiceException
ImagesServiceExceptionImage createImage(Image image) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> createImages(java.util.List<Image> list) throws ImagesServiceException
ImagesServiceExceptionImage updateImage(Image image) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> updateImages(java.util.List<Image> list) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImagesByProperty(java.lang.String propertyName, java.lang.Object value) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImagesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType) throws ImagesServiceException
ImagesServiceExceptionnet.anotheria.anodoc.query2.QueryResult executeQueryOnImages(net.anotheria.anodoc.query2.DocumentQuery query)
throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImagesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImagesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ImagesServiceException
ImagesServiceExceptionint getImagesCount()
throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImages(net.anotheria.util.slicer.Segment aSegment) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImagesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ImagesServiceException
ImagesServiceExceptionjava.util.List<Image> getImagesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ImagesServiceException
ImagesServiceExceptionvoid copyMultilingualAttributesInAllImages(java.lang.String sourceLanguage,
java.lang.String targetLanguage)
throws ImagesServiceException
ImagesServiceExceptionnet.anotheria.util.xml.XMLNode exportImagesToXML(java.util.List<Image> listImages) throws ImagesServiceException
ImagesServiceExceptionnet.anotheria.util.xml.XMLNode exportImagesToXML(java.lang.String[] languages,
java.util.List<Image> listImages)
throws ImagesServiceException
ImagesServiceExceptionvoid fetchImage(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ImagesServiceException
ImagesServiceExceptionvoid executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ImagesServiceException
ImagesServiceExceptionvoid copyMultilingualAttributesInAllObjects(java.lang.String sourceLanguage,
java.lang.String targetLanguage)
throws ImagesServiceException
ImagesServiceExceptionnet.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
throws ImagesServiceException
ImagesServiceExceptionnet.anotheria.util.xml.XMLNode exportToXML()
throws ImagesServiceException
ImagesServiceExceptionnet.anotheria.util.xml.XMLNode exportToXML(java.lang.String[] languages)
throws ImagesServiceException
ImagesServiceExceptionCopyright © 2012-2023 anotheria.net. All Rights Reserved.