Interface IASResourceDataService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASResourceDataServiceFixtureImpl,ASResourceDataServiceImpl
public interface IASResourceDataService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptionvoidcopyMultilingualAttributesInAllImages(String sourceLanguage, String targetLanguage) In all documents of type Image copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllLocalizationBundles(String sourceLanguage, String targetLanguage) In all documents of type LocalizationBundle copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllMailTemplates(String sourceLanguage, String targetLanguage) In all documents of type MailTemplate copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllObjects(String sourceLanguage, 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.voidcopyMultilingualAttributesInAllPdfTemplates(String sourceLanguage, String targetLanguage) In all documents of type PdfTemplate copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllPushNotificationTemplates(String sourceLanguage, String targetLanguage) In all documents of type PushNotificationTemplate copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllTextResources(String sourceLanguage, String targetLanguage) In all documents of type TextResource copies all multilingual fields from sourceLanguage to targetLanguage.createFileLink(FileLink filelink) Creates a new FileLink object.createFileLinks(List<FileLink> list) Creates multiple new FileLink objects.createImage(Image image) Creates a new Image object.createImages(List<Image> list) Creates multiple new Image objects.createLocalizationBundle(LocalizationBundle localizationbundle) Creates a new LocalizationBundle object.Creates multiple new LocalizationBundle objects.createMailTemplate(MailTemplate mailtemplate) Creates a new MailTemplate object.createMailTemplates(List<MailTemplate> list) Creates multiple new MailTemplate objects.createPdfTemplate(PdfTemplate pdftemplate) Creates a new PdfTemplate object.createPdfTemplates(List<PdfTemplate> list) Creates multiple new PdfTemplate objects.createPushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) Creates a new PushNotificationTemplate object.Creates multiple new PushNotificationTemplate objects.createTextResource(TextResource textresource) Creates a new TextResource object.createTextResources(List<TextResource> list) Creates multiple new TextResource objects.voiddeleteFileLink(String id) Deletes a FileLink object by id.voiddeleteFileLink(FileLink filelink) Deletes a FileLink object.voiddeleteFileLinks(List<FileLink> list) Deletes multiple FileLink object.voiddeleteImage(String id) Deletes a Image object by id.voiddeleteImage(Image image) Deletes a Image object.voiddeleteImages(List<Image> list) Deletes multiple Image object.voidDeletes a LocalizationBundle object by id.voiddeleteLocalizationBundle(LocalizationBundle localizationbundle) Deletes a LocalizationBundle object.voidDeletes multiple LocalizationBundle object.voidDeletes a MailTemplate object by id.voiddeleteMailTemplate(MailTemplate mailtemplate) Deletes a MailTemplate object.voiddeleteMailTemplates(List<MailTemplate> list) Deletes multiple MailTemplate object.voidDeletes a PdfTemplate object by id.voiddeletePdfTemplate(PdfTemplate pdftemplate) Deletes a PdfTemplate object.voiddeletePdfTemplates(List<PdfTemplate> list) Deletes multiple PdfTemplate object.voidDeletes a PushNotificationTemplate object by id.voiddeletePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) Deletes a PushNotificationTemplate object.voidDeletes multiple PushNotificationTemplate object.voidDeletes a TextResource object by id.voiddeleteTextResource(TextResource textresource) Deletes a TextResource object.voiddeleteTextResources(List<TextResource> list) Deletes multiple TextResource object.voidexecuteParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) Save transferred document by its own type.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnAllObjects(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.QueryResultexecuteQueryOnFileLinks(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnImages(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnLocalizationBundles(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnMailTemplates(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnPdfTemplates(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnPushNotificationTemplates(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnTextResources(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodeexportFileLinksToXML(String[] languages, List<FileLink> listFileLinks) creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportFileLinksToXML(List<FileLink> listFileLinks) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportImagesToXML(String[] languages, List<Image> listImages) creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportImagesToXML(List<Image> listImages) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportLocalizationBundlesToXML(String[] languages, List<LocalizationBundle> listLocalizationBundles) creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportLocalizationBundlesToXML(List<LocalizationBundle> listLocalizationBundles) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportMailTemplatesToXML(String[] languages, List<MailTemplate> listMailTemplates) creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportMailTemplatesToXML(List<MailTemplate> listMailTemplates) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPdfTemplatesToXML(String[] languages, List<PdfTemplate> listPdfTemplates) creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportPdfTemplatesToXML(List<PdfTemplate> listPdfTemplates) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPushNotificationTemplatesToXML(String[] languages, List<PushNotificationTemplate> listPushNotificationTemplates) creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportPushNotificationTemplatesToXML(List<PushNotificationTemplate> listPushNotificationTemplates) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportTextResourcesToXML(String[] languages, List<TextResource> listTextResources) creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportTextResourcesToXML(List<TextResource> listTextResources) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportToXML(String[] languages) creates an xml element with all contained data but only selected languages in multilingual attributes.voidfetchFileLink(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this FileLink document.voidfetchImage(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this Image document.voidfetchLocalizationBundle(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this LocalizationBundle document.voidfetchMailTemplate(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this MailTemplate document.voidfetchPdfTemplate(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this PdfTemplate document.voidfetchPushNotificationTemplate(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this PushNotificationTemplate document.voidfetchTextResource(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this TextResource document.getFileLink(String id) Returns the FileLink object with the specified id.Returns all FileLinks objects stored.getFileLinks(net.anotheria.util.slicer.Segment aSegment) Returns FileLinks objects segment.getFileLinks(net.anotheria.util.sorter.SortType sortType) Returns all FileLinks objects sorted by given sortType.getFileLinksByProperty(String propertyName, Object value) Returns all FileLink objects, where property with given name equals object.getFileLinksByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all FileLink objects, where property with given name equals object, sorted.getFileLinksByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all FileLink objects, where property matches.getFileLinksByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns FileLink objects segment, where property matches.getFileLinksByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns FileLink objects segment, where property matches, sorted.getFileLinksByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all FileLink objects, where property matches, sorted.intReturns all FileLinks count.Returns the Image object with the specified id.Returns all Images objects stored.getImages(net.anotheria.util.slicer.Segment aSegment) Returns Images objects segment.getImages(net.anotheria.util.sorter.SortType sortType) Returns all Images objects sorted by given sortType.getImagesByProperty(String propertyName, Object value) Returns all Image objects, where property with given name equals object.getImagesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all Image objects, where property with given name equals object, sorted.getImagesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all Image objects, where property matches.getImagesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns Image objects segment, where property matches.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.getImagesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all Image objects, where property matches, sorted.intReturns all Images count.Returns the LocalizationBundle object with the specified id.Returns all LocalizationBundles objects stored.getLocalizationBundles(net.anotheria.util.slicer.Segment aSegment) Returns LocalizationBundles objects segment.getLocalizationBundles(net.anotheria.util.sorter.SortType sortType) Returns all LocalizationBundles objects sorted by given sortType.getLocalizationBundlesByProperty(String propertyName, Object value) Returns all LocalizationBundle objects, where property with given name equals object.getLocalizationBundlesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all LocalizationBundle objects, where property with given name equals object, sorted.getLocalizationBundlesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all LocalizationBundle objects, where property matches.getLocalizationBundlesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns LocalizationBundle objects segment, where property matches.getLocalizationBundlesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns LocalizationBundle objects segment, where property matches, sorted.getLocalizationBundlesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all LocalizationBundle objects, where property matches, sorted.intReturns all LocalizationBundles count.Returns the MailTemplate object with the specified id.Returns all MailTemplates objects stored.getMailTemplates(net.anotheria.util.slicer.Segment aSegment) Returns MailTemplates objects segment.getMailTemplates(net.anotheria.util.sorter.SortType sortType) Returns all MailTemplates objects sorted by given sortType.getMailTemplatesByProperty(String propertyName, Object value) Returns all MailTemplate objects, where property with given name equals object.getMailTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all MailTemplate objects, where property with given name equals object, sorted.getMailTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all MailTemplate objects, where property matches.getMailTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns MailTemplate objects segment, where property matches.getMailTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns MailTemplate objects segment, where property matches, sorted.getMailTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all MailTemplate objects, where property matches, sorted.intReturns all MailTemplates count.getPdfTemplate(String id) Returns the PdfTemplate object with the specified id.Returns all PdfTemplates objects stored.getPdfTemplates(net.anotheria.util.slicer.Segment aSegment) Returns PdfTemplates objects segment.getPdfTemplates(net.anotheria.util.sorter.SortType sortType) Returns all PdfTemplates objects sorted by given sortType.getPdfTemplatesByProperty(String propertyName, Object value) Returns all PdfTemplate objects, where property with given name equals object.getPdfTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all PdfTemplate objects, where property with given name equals object, sorted.getPdfTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all PdfTemplate objects, where property matches.getPdfTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PdfTemplate objects segment, where property matches.getPdfTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PdfTemplate objects segment, where property matches, sorted.getPdfTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all PdfTemplate objects, where property matches, sorted.intReturns all PdfTemplates count.Returns the PushNotificationTemplate object with the specified id.Returns all PushNotificationTemplates objects stored.getPushNotificationTemplates(net.anotheria.util.slicer.Segment aSegment) Returns PushNotificationTemplates objects segment.getPushNotificationTemplates(net.anotheria.util.sorter.SortType sortType) Returns all PushNotificationTemplates objects sorted by given sortType.getPushNotificationTemplatesByProperty(String propertyName, Object value) Returns all PushNotificationTemplate objects, where property with given name equals object.getPushNotificationTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all PushNotificationTemplate objects, where property with given name equals object, sorted.getPushNotificationTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all PushNotificationTemplate objects, where property matches.getPushNotificationTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PushNotificationTemplate objects segment, where property matches.getPushNotificationTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PushNotificationTemplate objects segment, where property matches, sorted.getPushNotificationTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all PushNotificationTemplate objects, where property matches, sorted.intReturns all PushNotificationTemplates count.Returns the TextResource object with the specified id.Returns all TextResources objects stored.getTextResources(net.anotheria.util.slicer.Segment aSegment) Returns TextResources objects segment.getTextResources(net.anotheria.util.sorter.SortType sortType) Returns all TextResources objects sorted by given sortType.getTextResourcesByProperty(String propertyName, Object value) Returns all TextResource objects, where property with given name equals object.getTextResourcesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all TextResource objects, where property with given name equals object, sorted.getTextResourcesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all TextResource objects, where property matches.getTextResourcesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns TextResource objects segment, where property matches.getTextResourcesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns TextResource objects segment, where property matches, sorted.getTextResourcesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all TextResource objects, where property matches, sorted.intReturns all TextResources count.importFileLink(FileLink filelink) Imports a new FileLink object.importFileLinks(List<FileLink> list) Imports multiple new FileLink object.importImage(Image image) Imports a new Image object.importImages(List<Image> list) Imports multiple new Image object.importLocalizationBundle(LocalizationBundle localizationbundle) Imports a new LocalizationBundle object.Imports multiple new LocalizationBundle object.importMailTemplate(MailTemplate mailtemplate) Imports a new MailTemplate object.importMailTemplates(List<MailTemplate> list) Imports multiple new MailTemplate object.importPdfTemplate(PdfTemplate pdftemplate) Imports a new PdfTemplate object.importPdfTemplates(List<PdfTemplate> list) Imports multiple new PdfTemplate object.importPushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) Imports a new PushNotificationTemplate object.Imports multiple new PushNotificationTemplate object.importTextResource(TextResource textresource) Imports a new TextResource object.importTextResources(List<TextResource> list) Imports multiple new TextResource object.updateFileLink(FileLink filelink) Updates a FileLink object.updateFileLinks(List<FileLink> list) Updates multiple FileLink objects.updateImage(Image image) Updates a Image object.updateImages(List<Image> list) Updates multiple Image objects.updateLocalizationBundle(LocalizationBundle localizationbundle) Updates a LocalizationBundle object.Updates multiple LocalizationBundle objects.updateMailTemplate(MailTemplate mailtemplate) Updates a MailTemplate object.updateMailTemplates(List<MailTemplate> list) Updates multiple MailTemplate objects.updatePdfTemplate(PdfTemplate pdftemplate) Updates a PdfTemplate object.updatePdfTemplates(List<PdfTemplate> list) Updates multiple PdfTemplate objects.updatePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) Updates a PushNotificationTemplate object.Updates multiple PushNotificationTemplate objects.updateTextResource(TextResource textresource) Updates a TextResource object.updateTextResources(List<TextResource> list) Updates multiple TextResource objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getTextResources
Returns all TextResources objects stored.- Throws:
ASResourceDataServiceException
-
getTextResources
List<TextResource> getTextResources(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all TextResources objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteTextResource
Deletes a TextResource object by id.- Throws:
ASResourceDataServiceException
-
deleteTextResource
Deletes a TextResource object.- Throws:
ASResourceDataServiceException
-
deleteTextResources
Deletes multiple TextResource object.- Throws:
ASResourceDataServiceException
-
getTextResource
Returns the TextResource object with the specified id.- Throws:
ASResourceDataServiceException
-
importTextResource
Imports a new TextResource object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importTextResources
List<TextResource> importTextResources(List<TextResource> list) throws ASResourceDataServiceException Imports multiple new TextResource object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createTextResource
Creates a new TextResource object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createTextResources
List<TextResource> createTextResources(List<TextResource> list) throws ASResourceDataServiceException Creates multiple new TextResource objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateTextResource
Updates a TextResource object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateTextResources
List<TextResource> updateTextResources(List<TextResource> list) throws ASResourceDataServiceException Updates multiple TextResource objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
List<TextResource> getTextResourcesByProperty(String propertyName, Object value) throws ASResourceDataServiceException Returns all TextResource objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
List<TextResource> getTextResourcesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all TextResource objects, where property with given name equals object, sorted.- Throws:
ASResourceDataServiceException
-
executeQueryOnTextResources
net.anotheria.anodoc.query2.QueryResult executeQueryOnTextResources(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
List<TextResource> getTextResourcesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all TextResource objects, where property matches.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
List<TextResource> getTextResourcesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all TextResource objects, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
getTextResourcesCount
Returns all TextResources count.- Throws:
ASResourceDataServiceException
-
getTextResources
List<TextResource> getTextResources(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException Returns TextResources objects segment.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
List<TextResource> getTextResourcesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns TextResource objects segment, where property matches.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
List<TextResource> getTextResourcesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns TextResource objects segment, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllTextResources
void copyMultilingualAttributesInAllTextResources(String sourceLanguage, String targetLanguage) throws ASResourceDataServiceException In all documents of type TextResource copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportTextResourcesToXML
net.anotheria.util.xml.XMLNode exportTextResourcesToXML(List<TextResource> listTextResources) throws ASResourceDataServiceException Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportTextResourcesToXML
net.anotheria.util.xml.XMLNode exportTextResourcesToXML(String[] languages, List<TextResource> listTextResources) throws ASResourceDataServiceException creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchTextResource
void fetchTextResource(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceException Create json object list dependencies for this TextResource document.- Throws:
ASResourceDataServiceException
-
getLocalizationBundles
Returns all LocalizationBundles objects stored.- Throws:
ASResourceDataServiceException
-
getLocalizationBundles
List<LocalizationBundle> getLocalizationBundles(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all LocalizationBundles objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundle
Deletes a LocalizationBundle object by id.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundle
void deleteLocalizationBundle(LocalizationBundle localizationbundle) throws ASResourceDataServiceException Deletes a LocalizationBundle object.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundles
Deletes multiple LocalizationBundle object.- Throws:
ASResourceDataServiceException
-
getLocalizationBundle
Returns the LocalizationBundle object with the specified id.- Throws:
ASResourceDataServiceException
-
importLocalizationBundle
LocalizationBundle importLocalizationBundle(LocalizationBundle localizationbundle) throws ASResourceDataServiceException Imports a new LocalizationBundle object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importLocalizationBundles
List<LocalizationBundle> importLocalizationBundles(List<LocalizationBundle> list) throws ASResourceDataServiceException Imports multiple new LocalizationBundle object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createLocalizationBundle
LocalizationBundle createLocalizationBundle(LocalizationBundle localizationbundle) throws ASResourceDataServiceException Creates a new LocalizationBundle object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createLocalizationBundles
List<LocalizationBundle> createLocalizationBundles(List<LocalizationBundle> list) throws ASResourceDataServiceException Creates multiple new LocalizationBundle objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateLocalizationBundle
LocalizationBundle updateLocalizationBundle(LocalizationBundle localizationbundle) throws ASResourceDataServiceException Updates a LocalizationBundle object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateLocalizationBundles
List<LocalizationBundle> updateLocalizationBundles(List<LocalizationBundle> list) throws ASResourceDataServiceException Updates multiple LocalizationBundle objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
List<LocalizationBundle> getLocalizationBundlesByProperty(String propertyName, Object value) throws ASResourceDataServiceException Returns all LocalizationBundle objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
List<LocalizationBundle> getLocalizationBundlesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all LocalizationBundle objects, where property with given name equals object, sorted.- Throws:
ASResourceDataServiceException
-
executeQueryOnLocalizationBundles
net.anotheria.anodoc.query2.QueryResult executeQueryOnLocalizationBundles(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
List<LocalizationBundle> getLocalizationBundlesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all LocalizationBundle objects, where property matches.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
List<LocalizationBundle> getLocalizationBundlesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all LocalizationBundle objects, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesCount
Returns all LocalizationBundles count.- Throws:
ASResourceDataServiceException
-
getLocalizationBundles
List<LocalizationBundle> getLocalizationBundles(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException Returns LocalizationBundles objects segment.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
List<LocalizationBundle> getLocalizationBundlesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns LocalizationBundle objects segment, where property matches.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
List<LocalizationBundle> getLocalizationBundlesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns LocalizationBundle objects segment, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllLocalizationBundles
void copyMultilingualAttributesInAllLocalizationBundles(String sourceLanguage, String targetLanguage) throws ASResourceDataServiceException In all documents of type LocalizationBundle copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportLocalizationBundlesToXML
net.anotheria.util.xml.XMLNode exportLocalizationBundlesToXML(List<LocalizationBundle> listLocalizationBundles) throws ASResourceDataServiceException Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportLocalizationBundlesToXML
net.anotheria.util.xml.XMLNode exportLocalizationBundlesToXML(String[] languages, List<LocalizationBundle> listLocalizationBundles) throws ASResourceDataServiceException creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchLocalizationBundle
void fetchLocalizationBundle(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceException Create json object list dependencies for this LocalizationBundle document.- Throws:
ASResourceDataServiceException
-
getMailTemplates
Returns all MailTemplates objects stored.- Throws:
ASResourceDataServiceException
-
getMailTemplates
List<MailTemplate> getMailTemplates(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all MailTemplates objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteMailTemplate
Deletes a MailTemplate object by id.- Throws:
ASResourceDataServiceException
-
deleteMailTemplate
Deletes a MailTemplate object.- Throws:
ASResourceDataServiceException
-
deleteMailTemplates
Deletes multiple MailTemplate object.- Throws:
ASResourceDataServiceException
-
getMailTemplate
Returns the MailTemplate object with the specified id.- Throws:
ASResourceDataServiceException
-
importMailTemplate
Imports a new MailTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importMailTemplates
List<MailTemplate> importMailTemplates(List<MailTemplate> list) throws ASResourceDataServiceException Imports multiple new MailTemplate object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createMailTemplate
Creates a new MailTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createMailTemplates
List<MailTemplate> createMailTemplates(List<MailTemplate> list) throws ASResourceDataServiceException Creates multiple new MailTemplate objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateMailTemplate
Updates a MailTemplate object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateMailTemplates
List<MailTemplate> updateMailTemplates(List<MailTemplate> list) throws ASResourceDataServiceException Updates multiple MailTemplate objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
List<MailTemplate> getMailTemplatesByProperty(String propertyName, Object value) throws ASResourceDataServiceException Returns all MailTemplate objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
List<MailTemplate> getMailTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all MailTemplate objects, where property with given name equals object, sorted.- Throws:
ASResourceDataServiceException
-
executeQueryOnMailTemplates
net.anotheria.anodoc.query2.QueryResult executeQueryOnMailTemplates(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
List<MailTemplate> getMailTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all MailTemplate objects, where property matches.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
List<MailTemplate> getMailTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all MailTemplate objects, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
getMailTemplatesCount
Returns all MailTemplates count.- Throws:
ASResourceDataServiceException
-
getMailTemplates
List<MailTemplate> getMailTemplates(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException Returns MailTemplates objects segment.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
List<MailTemplate> getMailTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns MailTemplate objects segment, where property matches.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
List<MailTemplate> getMailTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns MailTemplate objects segment, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllMailTemplates
void copyMultilingualAttributesInAllMailTemplates(String sourceLanguage, String targetLanguage) throws ASResourceDataServiceException In all documents of type MailTemplate copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportMailTemplatesToXML
net.anotheria.util.xml.XMLNode exportMailTemplatesToXML(List<MailTemplate> listMailTemplates) throws ASResourceDataServiceException Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportMailTemplatesToXML
net.anotheria.util.xml.XMLNode exportMailTemplatesToXML(String[] languages, List<MailTemplate> listMailTemplates) throws ASResourceDataServiceException creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchMailTemplate
void fetchMailTemplate(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceException Create json object list dependencies for this MailTemplate document.- Throws:
ASResourceDataServiceException
-
getPdfTemplates
Returns all PdfTemplates objects stored.- Throws:
ASResourceDataServiceException
-
getPdfTemplates
List<PdfTemplate> getPdfTemplates(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all PdfTemplates objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deletePdfTemplate
Deletes a PdfTemplate object by id.- Throws:
ASResourceDataServiceException
-
deletePdfTemplate
Deletes a PdfTemplate object.- Throws:
ASResourceDataServiceException
-
deletePdfTemplates
Deletes multiple PdfTemplate object.- Throws:
ASResourceDataServiceException
-
getPdfTemplate
Returns the PdfTemplate object with the specified id.- Throws:
ASResourceDataServiceException
-
importPdfTemplate
Imports a new PdfTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importPdfTemplates
Imports multiple new PdfTemplate object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createPdfTemplate
Creates a new PdfTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createPdfTemplates
Creates multiple new PdfTemplate objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updatePdfTemplate
Updates a PdfTemplate object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updatePdfTemplates
Updates multiple PdfTemplate objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
List<PdfTemplate> getPdfTemplatesByProperty(String propertyName, Object value) throws ASResourceDataServiceException Returns all PdfTemplate objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
List<PdfTemplate> getPdfTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all PdfTemplate objects, where property with given name equals object, sorted.- Throws:
ASResourceDataServiceException
-
executeQueryOnPdfTemplates
net.anotheria.anodoc.query2.QueryResult executeQueryOnPdfTemplates(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
List<PdfTemplate> getPdfTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all PdfTemplate objects, where property matches.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
List<PdfTemplate> getPdfTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all PdfTemplate objects, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesCount
Returns all PdfTemplates count.- Throws:
ASResourceDataServiceException
-
getPdfTemplates
List<PdfTemplate> getPdfTemplates(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException Returns PdfTemplates objects segment.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
List<PdfTemplate> getPdfTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns PdfTemplate objects segment, where property matches.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
List<PdfTemplate> getPdfTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns PdfTemplate objects segment, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllPdfTemplates
void copyMultilingualAttributesInAllPdfTemplates(String sourceLanguage, String targetLanguage) throws ASResourceDataServiceException In all documents of type PdfTemplate copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportPdfTemplatesToXML
net.anotheria.util.xml.XMLNode exportPdfTemplatesToXML(List<PdfTemplate> listPdfTemplates) throws ASResourceDataServiceException Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportPdfTemplatesToXML
net.anotheria.util.xml.XMLNode exportPdfTemplatesToXML(String[] languages, List<PdfTemplate> listPdfTemplates) throws ASResourceDataServiceException creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchPdfTemplate
void fetchPdfTemplate(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceException Create json object list dependencies for this PdfTemplate document.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplates
Returns all PushNotificationTemplates objects stored.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplates
List<PushNotificationTemplate> getPushNotificationTemplates(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all PushNotificationTemplates objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deletePushNotificationTemplate
Deletes a PushNotificationTemplate object by id.- Throws:
ASResourceDataServiceException
-
deletePushNotificationTemplate
void deletePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) throws ASResourceDataServiceException Deletes a PushNotificationTemplate object.- Throws:
ASResourceDataServiceException
-
deletePushNotificationTemplates
void deletePushNotificationTemplates(List<PushNotificationTemplate> list) throws ASResourceDataServiceException Deletes multiple PushNotificationTemplate object.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplate
PushNotificationTemplate getPushNotificationTemplate(String id) throws ASResourceDataServiceException Returns the PushNotificationTemplate object with the specified id.- Throws:
ASResourceDataServiceException
-
importPushNotificationTemplate
PushNotificationTemplate importPushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) throws ASResourceDataServiceException Imports a new PushNotificationTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importPushNotificationTemplates
List<PushNotificationTemplate> importPushNotificationTemplates(List<PushNotificationTemplate> list) throws ASResourceDataServiceException Imports multiple new PushNotificationTemplate object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createPushNotificationTemplate
PushNotificationTemplate createPushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) throws ASResourceDataServiceException Creates a new PushNotificationTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createPushNotificationTemplates
List<PushNotificationTemplate> createPushNotificationTemplates(List<PushNotificationTemplate> list) throws ASResourceDataServiceException Creates multiple new PushNotificationTemplate objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updatePushNotificationTemplate
PushNotificationTemplate updatePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) throws ASResourceDataServiceException Updates a PushNotificationTemplate object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updatePushNotificationTemplates
List<PushNotificationTemplate> updatePushNotificationTemplates(List<PushNotificationTemplate> list) throws ASResourceDataServiceException Updates multiple PushNotificationTemplate objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(String propertyName, Object value) throws ASResourceDataServiceException Returns all PushNotificationTemplate objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all PushNotificationTemplate objects, where property with given name equals object, sorted.- Throws:
ASResourceDataServiceException
-
executeQueryOnPushNotificationTemplates
net.anotheria.anodoc.query2.QueryResult executeQueryOnPushNotificationTemplates(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all PushNotificationTemplate objects, where property matches.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all PushNotificationTemplate objects, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesCount
Returns all PushNotificationTemplates count.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplates
List<PushNotificationTemplate> getPushNotificationTemplates(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException Returns PushNotificationTemplates objects segment.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns PushNotificationTemplate objects segment, where property matches.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns PushNotificationTemplate objects segment, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllPushNotificationTemplates
void copyMultilingualAttributesInAllPushNotificationTemplates(String sourceLanguage, String targetLanguage) throws ASResourceDataServiceException In all documents of type PushNotificationTemplate copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportPushNotificationTemplatesToXML
net.anotheria.util.xml.XMLNode exportPushNotificationTemplatesToXML(List<PushNotificationTemplate> listPushNotificationTemplates) throws ASResourceDataServiceException Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportPushNotificationTemplatesToXML
net.anotheria.util.xml.XMLNode exportPushNotificationTemplatesToXML(String[] languages, List<PushNotificationTemplate> listPushNotificationTemplates) throws ASResourceDataServiceException creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchPushNotificationTemplate
void fetchPushNotificationTemplate(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceException Create json object list dependencies for this PushNotificationTemplate document.- Throws:
ASResourceDataServiceException
-
getImages
Returns all Images objects stored.- Throws:
ASResourceDataServiceException
-
getImages
List<Image> getImages(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all Images objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteImage
Deletes a Image object by id.- Throws:
ASResourceDataServiceException
-
deleteImage
Deletes a Image object.- Throws:
ASResourceDataServiceException
-
deleteImages
Deletes multiple Image object.- Throws:
ASResourceDataServiceException
-
getImage
Returns the Image object with the specified id.- Throws:
ASResourceDataServiceException
-
importImage
Imports a new Image object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importImages
Imports multiple new Image object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createImage
Creates a new Image object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createImages
Creates multiple new Image objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateImage
Updates a Image object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateImages
Updates multiple Image objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
List<Image> getImagesByProperty(String propertyName, Object value) throws ASResourceDataServiceException Returns all Image objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
List<Image> getImagesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all Image objects, where property with given name equals object, sorted.- Throws:
ASResourceDataServiceException
-
executeQueryOnImages
net.anotheria.anodoc.query2.QueryResult executeQueryOnImages(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
List<Image> getImagesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all Image objects, where property matches.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
List<Image> getImagesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all Image objects, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
getImagesCount
Returns all Images count.- Throws:
ASResourceDataServiceException
-
getImages
List<Image> getImages(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException Returns Images objects segment.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
List<Image> getImagesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns Image objects segment, where property matches.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
List<Image> getImagesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns Image objects segment, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllImages
void copyMultilingualAttributesInAllImages(String sourceLanguage, String targetLanguage) throws ASResourceDataServiceException In all documents of type Image copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportImagesToXML
net.anotheria.util.xml.XMLNode exportImagesToXML(List<Image> listImages) throws ASResourceDataServiceException Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportImagesToXML
net.anotheria.util.xml.XMLNode exportImagesToXML(String[] languages, List<Image> listImages) throws ASResourceDataServiceException creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchImage
void fetchImage(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceException Create json object list dependencies for this Image document.- Throws:
ASResourceDataServiceException
-
getFileLinks
Returns all FileLinks objects stored.- Throws:
ASResourceDataServiceException
-
getFileLinks
List<FileLink> getFileLinks(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all FileLinks objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteFileLink
Deletes a FileLink object by id.- Throws:
ASResourceDataServiceException
-
deleteFileLink
Deletes a FileLink object.- Throws:
ASResourceDataServiceException
-
deleteFileLinks
Deletes multiple FileLink object.- Throws:
ASResourceDataServiceException
-
getFileLink
Returns the FileLink object with the specified id.- Throws:
ASResourceDataServiceException
-
importFileLink
Imports a new FileLink object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importFileLinks
Imports multiple new FileLink object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createFileLink
Creates a new FileLink object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createFileLinks
Creates multiple new FileLink objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateFileLink
Updates a FileLink object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateFileLinks
Updates multiple FileLink objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
List<FileLink> getFileLinksByProperty(String propertyName, Object value) throws ASResourceDataServiceException Returns all FileLink objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
List<FileLink> getFileLinksByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException Returns all FileLink objects, where property with given name equals object, sorted.- Throws:
ASResourceDataServiceException
-
executeQueryOnFileLinks
net.anotheria.anodoc.query2.QueryResult executeQueryOnFileLinks(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
List<FileLink> getFileLinksByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all FileLink objects, where property matches.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
List<FileLink> getFileLinksByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException Returns all FileLink objects, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
getFileLinksCount
Returns all FileLinks count.- Throws:
ASResourceDataServiceException
-
getFileLinks
List<FileLink> getFileLinks(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException Returns FileLinks objects segment.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
List<FileLink> getFileLinksByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns FileLink objects segment, where property matches.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
List<FileLink> getFileLinksByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASResourceDataServiceException Returns FileLink objects segment, where property matches, sorted.- Throws:
ASResourceDataServiceException
-
exportFileLinksToXML
net.anotheria.util.xml.XMLNode exportFileLinksToXML(List<FileLink> listFileLinks) throws ASResourceDataServiceException Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportFileLinksToXML
net.anotheria.util.xml.XMLNode exportFileLinksToXML(String[] languages, List<FileLink> listFileLinks) throws ASResourceDataServiceException creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchFileLink
void fetchFileLink(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceException Create json object list dependencies for this FileLink document.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllObjects
void copyMultilingualAttributesInAllObjects(String sourceLanguage, String targetLanguage) throws ASResourceDataServiceException 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.- Throws:
ASResourceDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASResourceDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASResourceDataServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASResourceDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML(String[] languages) throws ASResourceDataServiceException creates an xml element with all contained data but only selected languages in multilingual attributes.- Throws:
ASResourceDataServiceException
-