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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcopyMultilingualAttributesInAllImages(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type Image copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllLocalizationBundles(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type LocalizationBundle copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllMailTemplates(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type MailTemplate copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllObjects(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.voidcopyMultilingualAttributesInAllPdfTemplates(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type PdfTemplate copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllPushNotificationTemplates(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type PushNotificationTemplate copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllTextResources(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type TextResource copies all multilingual fields from sourceLanguage to targetLanguage.FileLinkcreateFileLink(FileLink filelink)Creates a new FileLink object.java.util.List<FileLink>createFileLinks(java.util.List<FileLink> list)Creates multiple new FileLink objects.ImagecreateImage(Image image)Creates a new Image object.java.util.List<Image>createImages(java.util.List<Image> list)Creates multiple new Image objects.LocalizationBundlecreateLocalizationBundle(LocalizationBundle localizationbundle)Creates a new LocalizationBundle object.java.util.List<LocalizationBundle>createLocalizationBundles(java.util.List<LocalizationBundle> list)Creates multiple new LocalizationBundle objects.MailTemplatecreateMailTemplate(MailTemplate mailtemplate)Creates a new MailTemplate object.java.util.List<MailTemplate>createMailTemplates(java.util.List<MailTemplate> list)Creates multiple new MailTemplate objects.PdfTemplatecreatePdfTemplate(PdfTemplate pdftemplate)Creates a new PdfTemplate object.java.util.List<PdfTemplate>createPdfTemplates(java.util.List<PdfTemplate> list)Creates multiple new PdfTemplate objects.PushNotificationTemplatecreatePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Creates a new PushNotificationTemplate object.java.util.List<PushNotificationTemplate>createPushNotificationTemplates(java.util.List<PushNotificationTemplate> list)Creates multiple new PushNotificationTemplate objects.TextResourcecreateTextResource(TextResource textresource)Creates a new TextResource object.java.util.List<TextResource>createTextResources(java.util.List<TextResource> list)Creates multiple new TextResource objects.voiddeleteFileLink(java.lang.String id)Deletes a FileLink object by id.voiddeleteFileLink(FileLink filelink)Deletes a FileLink object.voiddeleteFileLinks(java.util.List<FileLink> list)Deletes multiple FileLink object.voiddeleteImage(java.lang.String id)Deletes a Image object by id.voiddeleteImage(Image image)Deletes a Image object.voiddeleteImages(java.util.List<Image> list)Deletes multiple Image object.voiddeleteLocalizationBundle(java.lang.String id)Deletes a LocalizationBundle object by id.voiddeleteLocalizationBundle(LocalizationBundle localizationbundle)Deletes a LocalizationBundle object.voiddeleteLocalizationBundles(java.util.List<LocalizationBundle> list)Deletes multiple LocalizationBundle object.voiddeleteMailTemplate(java.lang.String id)Deletes a MailTemplate object by id.voiddeleteMailTemplate(MailTemplate mailtemplate)Deletes a MailTemplate object.voiddeleteMailTemplates(java.util.List<MailTemplate> list)Deletes multiple MailTemplate object.voiddeletePdfTemplate(java.lang.String id)Deletes a PdfTemplate object by id.voiddeletePdfTemplate(PdfTemplate pdftemplate)Deletes a PdfTemplate object.voiddeletePdfTemplates(java.util.List<PdfTemplate> list)Deletes multiple PdfTemplate object.voiddeletePushNotificationTemplate(java.lang.String id)Deletes a PushNotificationTemplate object by id.voiddeletePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Deletes a PushNotificationTemplate object.voiddeletePushNotificationTemplates(java.util.List<PushNotificationTemplate> list)Deletes multiple PushNotificationTemplate object.voiddeleteTextResource(java.lang.String id)Deletes a TextResource object by id.voiddeleteTextResource(TextResource textresource)Deletes a TextResource object.voiddeleteTextResources(java.util.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(java.lang.String[] languages, java.util.List<FileLink> listFileLinks)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportFileLinksToXML(java.util.List<FileLink> listFileLinks)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportImagesToXML(java.lang.String[] languages, java.util.List<Image> listImages)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportImagesToXML(java.util.List<Image> listImages)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportLocalizationBundlesToXML(java.lang.String[] languages, java.util.List<LocalizationBundle> listLocalizationBundles)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportLocalizationBundlesToXML(java.util.List<LocalizationBundle> listLocalizationBundles)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportMailTemplatesToXML(java.lang.String[] languages, java.util.List<MailTemplate> listMailTemplates)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportMailTemplatesToXML(java.util.List<MailTemplate> listMailTemplates)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPdfTemplatesToXML(java.lang.String[] languages, java.util.List<PdfTemplate> listPdfTemplates)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportPdfTemplatesToXML(java.util.List<PdfTemplate> listPdfTemplates)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPushNotificationTemplatesToXML(java.lang.String[] languages, java.util.List<PushNotificationTemplate> listPushNotificationTemplates)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportPushNotificationTemplatesToXML(java.util.List<PushNotificationTemplate> listPushNotificationTemplates)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportTextResourcesToXML(java.lang.String[] languages, java.util.List<TextResource> listTextResources)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportTextResourcesToXML(java.util.List<TextResource> listTextResources)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportToXML(java.lang.String[] languages)creates an xml element with all contained data but only selected languages in multilingual attributes.voidfetchFileLink(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this FileLink document.voidfetchImage(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.voidfetchLocalizationBundle(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this LocalizationBundle document.voidfetchMailTemplate(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this MailTemplate document.voidfetchPdfTemplate(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this PdfTemplate document.voidfetchPushNotificationTemplate(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this PushNotificationTemplate document.voidfetchTextResource(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this TextResource document.FileLinkgetFileLink(java.lang.String id)Returns the FileLink object with the specified id.java.util.List<FileLink>getFileLinks()Returns all FileLinks objects stored.java.util.List<FileLink>getFileLinks(net.anotheria.util.slicer.Segment aSegment)Returns FileLinks objects segment.java.util.List<FileLink>getFileLinks(net.anotheria.util.sorter.SortType sortType)Returns all FileLinks objects sorted by given sortType.java.util.List<FileLink>getFileLinksByProperty(java.lang.String propertyName, java.lang.Object value)Returns all FileLink objects, where property with given name equals object.java.util.List<FileLink>getFileLinksByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all FileLink objects, where property with given name equals object, sorted.java.util.List<FileLink>getFileLinksByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all FileLink objects, where property matches.java.util.List<FileLink>getFileLinksByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns FileLink objects segment, where property matches.java.util.List<FileLink>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.java.util.List<FileLink>getFileLinksByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all FileLink objects, where property matches, sorted.intgetFileLinksCount()Returns all FileLinks count.ImagegetImage(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(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.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.intgetImagesCount()Returns all Images count.LocalizationBundlegetLocalizationBundle(java.lang.String id)Returns the LocalizationBundle object with the specified id.java.util.List<LocalizationBundle>getLocalizationBundles()Returns all LocalizationBundles objects stored.java.util.List<LocalizationBundle>getLocalizationBundles(net.anotheria.util.slicer.Segment aSegment)Returns LocalizationBundles objects segment.java.util.List<LocalizationBundle>getLocalizationBundles(net.anotheria.util.sorter.SortType sortType)Returns all LocalizationBundles objects sorted by given sortType.java.util.List<LocalizationBundle>getLocalizationBundlesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all LocalizationBundle objects, where property with given name equals object.java.util.List<LocalizationBundle>getLocalizationBundlesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all LocalizationBundle objects, where property with given name equals object, sorted.java.util.List<LocalizationBundle>getLocalizationBundlesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all LocalizationBundle objects, where property matches.java.util.List<LocalizationBundle>getLocalizationBundlesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns LocalizationBundle objects segment, where property matches.java.util.List<LocalizationBundle>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.java.util.List<LocalizationBundle>getLocalizationBundlesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all LocalizationBundle objects, where property matches, sorted.intgetLocalizationBundlesCount()Returns all LocalizationBundles count.MailTemplategetMailTemplate(java.lang.String id)Returns the MailTemplate object with the specified id.java.util.List<MailTemplate>getMailTemplates()Returns all MailTemplates objects stored.java.util.List<MailTemplate>getMailTemplates(net.anotheria.util.slicer.Segment aSegment)Returns MailTemplates objects segment.java.util.List<MailTemplate>getMailTemplates(net.anotheria.util.sorter.SortType sortType)Returns all MailTemplates objects sorted by given sortType.java.util.List<MailTemplate>getMailTemplatesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all MailTemplate objects, where property with given name equals object.java.util.List<MailTemplate>getMailTemplatesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all MailTemplate objects, where property with given name equals object, sorted.java.util.List<MailTemplate>getMailTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all MailTemplate objects, where property matches.java.util.List<MailTemplate>getMailTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns MailTemplate objects segment, where property matches.java.util.List<MailTemplate>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.java.util.List<MailTemplate>getMailTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all MailTemplate objects, where property matches, sorted.intgetMailTemplatesCount()Returns all MailTemplates count.PdfTemplategetPdfTemplate(java.lang.String id)Returns the PdfTemplate object with the specified id.java.util.List<PdfTemplate>getPdfTemplates()Returns all PdfTemplates objects stored.java.util.List<PdfTemplate>getPdfTemplates(net.anotheria.util.slicer.Segment aSegment)Returns PdfTemplates objects segment.java.util.List<PdfTemplate>getPdfTemplates(net.anotheria.util.sorter.SortType sortType)Returns all PdfTemplates objects sorted by given sortType.java.util.List<PdfTemplate>getPdfTemplatesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all PdfTemplate objects, where property with given name equals object.java.util.List<PdfTemplate>getPdfTemplatesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all PdfTemplate objects, where property with given name equals object, sorted.java.util.List<PdfTemplate>getPdfTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all PdfTemplate objects, where property matches.java.util.List<PdfTemplate>getPdfTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns PdfTemplate objects segment, where property matches.java.util.List<PdfTemplate>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.java.util.List<PdfTemplate>getPdfTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all PdfTemplate objects, where property matches, sorted.intgetPdfTemplatesCount()Returns all PdfTemplates count.PushNotificationTemplategetPushNotificationTemplate(java.lang.String id)Returns the PushNotificationTemplate object with the specified id.java.util.List<PushNotificationTemplate>getPushNotificationTemplates()Returns all PushNotificationTemplates objects stored.java.util.List<PushNotificationTemplate>getPushNotificationTemplates(net.anotheria.util.slicer.Segment aSegment)Returns PushNotificationTemplates objects segment.java.util.List<PushNotificationTemplate>getPushNotificationTemplates(net.anotheria.util.sorter.SortType sortType)Returns all PushNotificationTemplates objects sorted by given sortType.java.util.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all PushNotificationTemplate objects, where property with given name equals object.java.util.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all PushNotificationTemplate objects, where property with given name equals object, sorted.java.util.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all PushNotificationTemplate objects, where property matches.java.util.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns PushNotificationTemplate objects segment, where property matches.java.util.List<PushNotificationTemplate>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.java.util.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all PushNotificationTemplate objects, where property matches, sorted.intgetPushNotificationTemplatesCount()Returns all PushNotificationTemplates count.TextResourcegetTextResource(java.lang.String id)Returns the TextResource object with the specified id.java.util.List<TextResource>getTextResources()Returns all TextResources objects stored.java.util.List<TextResource>getTextResources(net.anotheria.util.slicer.Segment aSegment)Returns TextResources objects segment.java.util.List<TextResource>getTextResources(net.anotheria.util.sorter.SortType sortType)Returns all TextResources objects sorted by given sortType.java.util.List<TextResource>getTextResourcesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all TextResource objects, where property with given name equals object.java.util.List<TextResource>getTextResourcesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all TextResource objects, where property with given name equals object, sorted.java.util.List<TextResource>getTextResourcesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all TextResource objects, where property matches.java.util.List<TextResource>getTextResourcesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns TextResource objects segment, where property matches.java.util.List<TextResource>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.java.util.List<TextResource>getTextResourcesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all TextResource objects, where property matches, sorted.intgetTextResourcesCount()Returns all TextResources count.FileLinkimportFileLink(FileLink filelink)Imports a new FileLink object.java.util.List<FileLink>importFileLinks(java.util.List<FileLink> list)Imports multiple new FileLink object.ImageimportImage(Image image)Imports a new Image object.java.util.List<Image>importImages(java.util.List<Image> list)Imports multiple new Image object.LocalizationBundleimportLocalizationBundle(LocalizationBundle localizationbundle)Imports a new LocalizationBundle object.java.util.List<LocalizationBundle>importLocalizationBundles(java.util.List<LocalizationBundle> list)Imports multiple new LocalizationBundle object.MailTemplateimportMailTemplate(MailTemplate mailtemplate)Imports a new MailTemplate object.java.util.List<MailTemplate>importMailTemplates(java.util.List<MailTemplate> list)Imports multiple new MailTemplate object.PdfTemplateimportPdfTemplate(PdfTemplate pdftemplate)Imports a new PdfTemplate object.java.util.List<PdfTemplate>importPdfTemplates(java.util.List<PdfTemplate> list)Imports multiple new PdfTemplate object.PushNotificationTemplateimportPushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Imports a new PushNotificationTemplate object.java.util.List<PushNotificationTemplate>importPushNotificationTemplates(java.util.List<PushNotificationTemplate> list)Imports multiple new PushNotificationTemplate object.TextResourceimportTextResource(TextResource textresource)Imports a new TextResource object.java.util.List<TextResource>importTextResources(java.util.List<TextResource> list)Imports multiple new TextResource object.FileLinkupdateFileLink(FileLink filelink)Updates a FileLink object.java.util.List<FileLink>updateFileLinks(java.util.List<FileLink> list)Updates multiple FileLink objects.ImageupdateImage(Image image)Updates a Image object.java.util.List<Image>updateImages(java.util.List<Image> list)Updates multiple Image objects.LocalizationBundleupdateLocalizationBundle(LocalizationBundle localizationbundle)Updates a LocalizationBundle object.java.util.List<LocalizationBundle>updateLocalizationBundles(java.util.List<LocalizationBundle> list)Updates multiple LocalizationBundle objects.MailTemplateupdateMailTemplate(MailTemplate mailtemplate)Updates a MailTemplate object.java.util.List<MailTemplate>updateMailTemplates(java.util.List<MailTemplate> list)Updates multiple MailTemplate objects.PdfTemplateupdatePdfTemplate(PdfTemplate pdftemplate)Updates a PdfTemplate object.java.util.List<PdfTemplate>updatePdfTemplates(java.util.List<PdfTemplate> list)Updates multiple PdfTemplate objects.PushNotificationTemplateupdatePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Updates a PushNotificationTemplate object.java.util.List<PushNotificationTemplate>updatePushNotificationTemplates(java.util.List<PushNotificationTemplate> list)Updates multiple PushNotificationTemplate objects.TextResourceupdateTextResource(TextResource textresource)Updates a TextResource object.java.util.List<TextResource>updateTextResources(java.util.List<TextResource> list)Updates multiple TextResource objects.
-
-
-
Method Detail
-
getTextResources
java.util.List<TextResource> getTextResources() throws ASResourceDataServiceException
Returns all TextResources objects stored.- Throws:
ASResourceDataServiceException
-
getTextResources
java.util.List<TextResource> getTextResources(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException
Returns all TextResources objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteTextResource
void deleteTextResource(java.lang.String id) throws ASResourceDataServiceExceptionDeletes a TextResource object by id.- Throws:
ASResourceDataServiceException
-
deleteTextResource
void deleteTextResource(TextResource textresource) throws ASResourceDataServiceException
Deletes a TextResource object.- Throws:
ASResourceDataServiceException
-
deleteTextResources
void deleteTextResources(java.util.List<TextResource> list) throws ASResourceDataServiceException
Deletes multiple TextResource object.- Throws:
ASResourceDataServiceException
-
getTextResource
TextResource getTextResource(java.lang.String id) throws ASResourceDataServiceException
Returns the TextResource object with the specified id.- Throws:
ASResourceDataServiceException
-
importTextResource
TextResource importTextResource(TextResource textresource) throws ASResourceDataServiceException
Imports a new TextResource object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importTextResources
java.util.List<TextResource> importTextResources(java.util.List<TextResource> list) throws ASResourceDataServiceException
Imports multiple new TextResource object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createTextResource
TextResource createTextResource(TextResource textresource) throws ASResourceDataServiceException
Creates a new TextResource object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createTextResources
java.util.List<TextResource> createTextResources(java.util.List<TextResource> list) throws ASResourceDataServiceException
Creates multiple new TextResource objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateTextResource
TextResource updateTextResource(TextResource textresource) throws ASResourceDataServiceException
Updates a TextResource object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateTextResources
java.util.List<TextResource> updateTextResources(java.util.List<TextResource> list) throws ASResourceDataServiceException
Updates multiple TextResource objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
java.util.List<TextResource> getTextResourcesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASResourceDataServiceException
Returns all TextResource objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
java.util.List<TextResource> getTextResourcesByProperty(java.lang.String propertyName, java.lang.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 ASResourceDataServiceExceptionExecutes a query.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
java.util.List<TextResource> getTextResourcesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException
Returns all TextResource objects, where property matches.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
java.util.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
int getTextResourcesCount() throws ASResourceDataServiceExceptionReturns all TextResources count.- Throws:
ASResourceDataServiceException
-
getTextResources
java.util.List<TextResource> getTextResources(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException
Returns TextResources objects segment.- Throws:
ASResourceDataServiceException
-
getTextResourcesByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASResourceDataServiceExceptionIn all documents of type TextResource copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportTextResourcesToXML
net.anotheria.util.xml.XMLNode exportTextResourcesToXML(java.util.List<TextResource> listTextResources) throws ASResourceDataServiceException
Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportTextResourcesToXML
net.anotheria.util.xml.XMLNode exportTextResourcesToXML(java.lang.String[] languages, java.util.List<TextResource> listTextResources) throws ASResourceDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchTextResource
void fetchTextResource(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceExceptionCreate json object list dependencies for this TextResource document.- Throws:
ASResourceDataServiceException
-
getLocalizationBundles
java.util.List<LocalizationBundle> getLocalizationBundles() throws ASResourceDataServiceException
Returns all LocalizationBundles objects stored.- Throws:
ASResourceDataServiceException
-
getLocalizationBundles
java.util.List<LocalizationBundle> getLocalizationBundles(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException
Returns all LocalizationBundles objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundle
void deleteLocalizationBundle(java.lang.String id) throws ASResourceDataServiceExceptionDeletes a LocalizationBundle object by id.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundle
void deleteLocalizationBundle(LocalizationBundle localizationbundle) throws ASResourceDataServiceException
Deletes a LocalizationBundle object.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundles
void deleteLocalizationBundles(java.util.List<LocalizationBundle> list) throws ASResourceDataServiceException
Deletes multiple LocalizationBundle object.- Throws:
ASResourceDataServiceException
-
getLocalizationBundle
LocalizationBundle getLocalizationBundle(java.lang.String id) throws ASResourceDataServiceException
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
java.util.List<LocalizationBundle> importLocalizationBundles(java.util.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
java.util.List<LocalizationBundle> createLocalizationBundles(java.util.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
java.util.List<LocalizationBundle> updateLocalizationBundles(java.util.List<LocalizationBundle> list) throws ASResourceDataServiceException
Updates multiple LocalizationBundle objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
java.util.List<LocalizationBundle> getLocalizationBundlesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASResourceDataServiceException
Returns all LocalizationBundle objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
java.util.List<LocalizationBundle> getLocalizationBundlesByProperty(java.lang.String propertyName, java.lang.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 ASResourceDataServiceExceptionExecutes a query.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
java.util.List<LocalizationBundle> getLocalizationBundlesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException
Returns all LocalizationBundle objects, where property matches.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
java.util.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
int getLocalizationBundlesCount() throws ASResourceDataServiceExceptionReturns all LocalizationBundles count.- Throws:
ASResourceDataServiceException
-
getLocalizationBundles
java.util.List<LocalizationBundle> getLocalizationBundles(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException
Returns LocalizationBundles objects segment.- Throws:
ASResourceDataServiceException
-
getLocalizationBundlesByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASResourceDataServiceExceptionIn all documents of type LocalizationBundle copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportLocalizationBundlesToXML
net.anotheria.util.xml.XMLNode exportLocalizationBundlesToXML(java.util.List<LocalizationBundle> listLocalizationBundles) throws ASResourceDataServiceException
Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportLocalizationBundlesToXML
net.anotheria.util.xml.XMLNode exportLocalizationBundlesToXML(java.lang.String[] languages, java.util.List<LocalizationBundle> listLocalizationBundles) throws ASResourceDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchLocalizationBundle
void fetchLocalizationBundle(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceExceptionCreate json object list dependencies for this LocalizationBundle document.- Throws:
ASResourceDataServiceException
-
getMailTemplates
java.util.List<MailTemplate> getMailTemplates() throws ASResourceDataServiceException
Returns all MailTemplates objects stored.- Throws:
ASResourceDataServiceException
-
getMailTemplates
java.util.List<MailTemplate> getMailTemplates(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException
Returns all MailTemplates objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteMailTemplate
void deleteMailTemplate(java.lang.String id) throws ASResourceDataServiceExceptionDeletes a MailTemplate object by id.- Throws:
ASResourceDataServiceException
-
deleteMailTemplate
void deleteMailTemplate(MailTemplate mailtemplate) throws ASResourceDataServiceException
Deletes a MailTemplate object.- Throws:
ASResourceDataServiceException
-
deleteMailTemplates
void deleteMailTemplates(java.util.List<MailTemplate> list) throws ASResourceDataServiceException
Deletes multiple MailTemplate object.- Throws:
ASResourceDataServiceException
-
getMailTemplate
MailTemplate getMailTemplate(java.lang.String id) throws ASResourceDataServiceException
Returns the MailTemplate object with the specified id.- Throws:
ASResourceDataServiceException
-
importMailTemplate
MailTemplate importMailTemplate(MailTemplate mailtemplate) throws ASResourceDataServiceException
Imports a new MailTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importMailTemplates
java.util.List<MailTemplate> importMailTemplates(java.util.List<MailTemplate> list) throws ASResourceDataServiceException
Imports multiple new MailTemplate object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createMailTemplate
MailTemplate createMailTemplate(MailTemplate mailtemplate) throws ASResourceDataServiceException
Creates a new MailTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createMailTemplates
java.util.List<MailTemplate> createMailTemplates(java.util.List<MailTemplate> list) throws ASResourceDataServiceException
Creates multiple new MailTemplate objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateMailTemplate
MailTemplate updateMailTemplate(MailTemplate mailtemplate) throws ASResourceDataServiceException
Updates a MailTemplate object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateMailTemplates
java.util.List<MailTemplate> updateMailTemplates(java.util.List<MailTemplate> list) throws ASResourceDataServiceException
Updates multiple MailTemplate objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
java.util.List<MailTemplate> getMailTemplatesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASResourceDataServiceException
Returns all MailTemplate objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
java.util.List<MailTemplate> getMailTemplatesByProperty(java.lang.String propertyName, java.lang.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 ASResourceDataServiceExceptionExecutes a query.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
java.util.List<MailTemplate> getMailTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException
Returns all MailTemplate objects, where property matches.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
java.util.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
int getMailTemplatesCount() throws ASResourceDataServiceExceptionReturns all MailTemplates count.- Throws:
ASResourceDataServiceException
-
getMailTemplates
java.util.List<MailTemplate> getMailTemplates(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException
Returns MailTemplates objects segment.- Throws:
ASResourceDataServiceException
-
getMailTemplatesByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASResourceDataServiceExceptionIn all documents of type MailTemplate copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportMailTemplatesToXML
net.anotheria.util.xml.XMLNode exportMailTemplatesToXML(java.util.List<MailTemplate> listMailTemplates) throws ASResourceDataServiceException
Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportMailTemplatesToXML
net.anotheria.util.xml.XMLNode exportMailTemplatesToXML(java.lang.String[] languages, java.util.List<MailTemplate> listMailTemplates) throws ASResourceDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchMailTemplate
void fetchMailTemplate(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceExceptionCreate json object list dependencies for this MailTemplate document.- Throws:
ASResourceDataServiceException
-
getPdfTemplates
java.util.List<PdfTemplate> getPdfTemplates() throws ASResourceDataServiceException
Returns all PdfTemplates objects stored.- Throws:
ASResourceDataServiceException
-
getPdfTemplates
java.util.List<PdfTemplate> getPdfTemplates(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException
Returns all PdfTemplates objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deletePdfTemplate
void deletePdfTemplate(java.lang.String id) throws ASResourceDataServiceExceptionDeletes a PdfTemplate object by id.- Throws:
ASResourceDataServiceException
-
deletePdfTemplate
void deletePdfTemplate(PdfTemplate pdftemplate) throws ASResourceDataServiceException
Deletes a PdfTemplate object.- Throws:
ASResourceDataServiceException
-
deletePdfTemplates
void deletePdfTemplates(java.util.List<PdfTemplate> list) throws ASResourceDataServiceException
Deletes multiple PdfTemplate object.- Throws:
ASResourceDataServiceException
-
getPdfTemplate
PdfTemplate getPdfTemplate(java.lang.String id) throws ASResourceDataServiceException
Returns the PdfTemplate object with the specified id.- Throws:
ASResourceDataServiceException
-
importPdfTemplate
PdfTemplate importPdfTemplate(PdfTemplate pdftemplate) throws ASResourceDataServiceException
Imports a new PdfTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importPdfTemplates
java.util.List<PdfTemplate> importPdfTemplates(java.util.List<PdfTemplate> list) throws ASResourceDataServiceException
Imports multiple new PdfTemplate object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createPdfTemplate
PdfTemplate createPdfTemplate(PdfTemplate pdftemplate) throws ASResourceDataServiceException
Creates a new PdfTemplate object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createPdfTemplates
java.util.List<PdfTemplate> createPdfTemplates(java.util.List<PdfTemplate> list) throws ASResourceDataServiceException
Creates multiple new PdfTemplate objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updatePdfTemplate
PdfTemplate updatePdfTemplate(PdfTemplate pdftemplate) throws ASResourceDataServiceException
Updates a PdfTemplate object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updatePdfTemplates
java.util.List<PdfTemplate> updatePdfTemplates(java.util.List<PdfTemplate> list) throws ASResourceDataServiceException
Updates multiple PdfTemplate objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
java.util.List<PdfTemplate> getPdfTemplatesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASResourceDataServiceException
Returns all PdfTemplate objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
java.util.List<PdfTemplate> getPdfTemplatesByProperty(java.lang.String propertyName, java.lang.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 ASResourceDataServiceExceptionExecutes a query.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
java.util.List<PdfTemplate> getPdfTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException
Returns all PdfTemplate objects, where property matches.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
java.util.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
int getPdfTemplatesCount() throws ASResourceDataServiceExceptionReturns all PdfTemplates count.- Throws:
ASResourceDataServiceException
-
getPdfTemplates
java.util.List<PdfTemplate> getPdfTemplates(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException
Returns PdfTemplates objects segment.- Throws:
ASResourceDataServiceException
-
getPdfTemplatesByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASResourceDataServiceExceptionIn all documents of type PdfTemplate copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportPdfTemplatesToXML
net.anotheria.util.xml.XMLNode exportPdfTemplatesToXML(java.util.List<PdfTemplate> listPdfTemplates) throws ASResourceDataServiceException
Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportPdfTemplatesToXML
net.anotheria.util.xml.XMLNode exportPdfTemplatesToXML(java.lang.String[] languages, java.util.List<PdfTemplate> listPdfTemplates) throws ASResourceDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchPdfTemplate
void fetchPdfTemplate(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceExceptionCreate json object list dependencies for this PdfTemplate document.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplates
java.util.List<PushNotificationTemplate> getPushNotificationTemplates() throws ASResourceDataServiceException
Returns all PushNotificationTemplates objects stored.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplates
java.util.List<PushNotificationTemplate> getPushNotificationTemplates(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException
Returns all PushNotificationTemplates objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deletePushNotificationTemplate
void deletePushNotificationTemplate(java.lang.String id) throws ASResourceDataServiceExceptionDeletes a PushNotificationTemplate object by id.- Throws:
ASResourceDataServiceException
-
deletePushNotificationTemplate
void deletePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate) throws ASResourceDataServiceException
Deletes a PushNotificationTemplate object.- Throws:
ASResourceDataServiceException
-
deletePushNotificationTemplates
void deletePushNotificationTemplates(java.util.List<PushNotificationTemplate> list) throws ASResourceDataServiceException
Deletes multiple PushNotificationTemplate object.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplate
PushNotificationTemplate getPushNotificationTemplate(java.lang.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
java.util.List<PushNotificationTemplate> importPushNotificationTemplates(java.util.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
java.util.List<PushNotificationTemplate> createPushNotificationTemplates(java.util.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
java.util.List<PushNotificationTemplate> updatePushNotificationTemplates(java.util.List<PushNotificationTemplate> list) throws ASResourceDataServiceException
Updates multiple PushNotificationTemplate objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
java.util.List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASResourceDataServiceException
Returns all PushNotificationTemplate objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
java.util.List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(java.lang.String propertyName, java.lang.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 ASResourceDataServiceExceptionExecutes a query.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
java.util.List<PushNotificationTemplate> getPushNotificationTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException
Returns all PushNotificationTemplate objects, where property matches.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
java.util.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
int getPushNotificationTemplatesCount() throws ASResourceDataServiceExceptionReturns all PushNotificationTemplates count.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplates
java.util.List<PushNotificationTemplate> getPushNotificationTemplates(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException
Returns PushNotificationTemplates objects segment.- Throws:
ASResourceDataServiceException
-
getPushNotificationTemplatesByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASResourceDataServiceExceptionIn all documents of type PushNotificationTemplate copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportPushNotificationTemplatesToXML
net.anotheria.util.xml.XMLNode exportPushNotificationTemplatesToXML(java.util.List<PushNotificationTemplate> listPushNotificationTemplates) throws ASResourceDataServiceException
Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportPushNotificationTemplatesToXML
net.anotheria.util.xml.XMLNode exportPushNotificationTemplatesToXML(java.lang.String[] languages, java.util.List<PushNotificationTemplate> listPushNotificationTemplates) throws ASResourceDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchPushNotificationTemplate
void fetchPushNotificationTemplate(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceExceptionCreate json object list dependencies for this PushNotificationTemplate document.- Throws:
ASResourceDataServiceException
-
getImages
java.util.List<Image> getImages() throws ASResourceDataServiceException
Returns all Images objects stored.- Throws:
ASResourceDataServiceException
-
getImages
java.util.List<Image> getImages(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException
Returns all Images objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteImage
void deleteImage(java.lang.String id) throws ASResourceDataServiceExceptionDeletes a Image object by id.- Throws:
ASResourceDataServiceException
-
deleteImage
void deleteImage(Image image) throws ASResourceDataServiceException
Deletes a Image object.- Throws:
ASResourceDataServiceException
-
deleteImages
void deleteImages(java.util.List<Image> list) throws ASResourceDataServiceException
Deletes multiple Image object.- Throws:
ASResourceDataServiceException
-
getImage
Image getImage(java.lang.String id) throws ASResourceDataServiceException
Returns the Image object with the specified id.- Throws:
ASResourceDataServiceException
-
importImage
Image importImage(Image image) throws ASResourceDataServiceException
Imports a new Image object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importImages
java.util.List<Image> importImages(java.util.List<Image> list) throws ASResourceDataServiceException
Imports multiple new Image object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createImage
Image createImage(Image image) throws ASResourceDataServiceException
Creates a new Image object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createImages
java.util.List<Image> createImages(java.util.List<Image> list) throws ASResourceDataServiceException
Creates multiple new Image objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateImage
Image updateImage(Image image) throws ASResourceDataServiceException
Updates a Image object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateImages
java.util.List<Image> updateImages(java.util.List<Image> list) throws ASResourceDataServiceException
Updates multiple Image objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
java.util.List<Image> getImagesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASResourceDataServiceException
Returns all Image objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
java.util.List<Image> getImagesByProperty(java.lang.String propertyName, java.lang.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 ASResourceDataServiceExceptionExecutes a query.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
java.util.List<Image> getImagesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException
Returns all Image objects, where property matches.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
java.util.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
int getImagesCount() throws ASResourceDataServiceExceptionReturns all Images count.- Throws:
ASResourceDataServiceException
-
getImages
java.util.List<Image> getImages(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException
Returns Images objects segment.- Throws:
ASResourceDataServiceException
-
getImagesByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASResourceDataServiceExceptionIn all documents of type Image copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASResourceDataServiceException
-
exportImagesToXML
net.anotheria.util.xml.XMLNode exportImagesToXML(java.util.List<Image> listImages) throws ASResourceDataServiceException
Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportImagesToXML
net.anotheria.util.xml.XMLNode exportImagesToXML(java.lang.String[] languages, java.util.List<Image> listImages) throws ASResourceDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchImage
void fetchImage(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceExceptionCreate json object list dependencies for this Image document.- Throws:
ASResourceDataServiceException
-
getFileLinks
java.util.List<FileLink> getFileLinks() throws ASResourceDataServiceException
Returns all FileLinks objects stored.- Throws:
ASResourceDataServiceException
-
getFileLinks
java.util.List<FileLink> getFileLinks(net.anotheria.util.sorter.SortType sortType) throws ASResourceDataServiceException
Returns all FileLinks objects sorted by given sortType.- Throws:
ASResourceDataServiceException
-
deleteFileLink
void deleteFileLink(java.lang.String id) throws ASResourceDataServiceExceptionDeletes a FileLink object by id.- Throws:
ASResourceDataServiceException
-
deleteFileLink
void deleteFileLink(FileLink filelink) throws ASResourceDataServiceException
Deletes a FileLink object.- Throws:
ASResourceDataServiceException
-
deleteFileLinks
void deleteFileLinks(java.util.List<FileLink> list) throws ASResourceDataServiceException
Deletes multiple FileLink object.- Throws:
ASResourceDataServiceException
-
getFileLink
FileLink getFileLink(java.lang.String id) throws ASResourceDataServiceException
Returns the FileLink object with the specified id.- Throws:
ASResourceDataServiceException
-
importFileLink
FileLink importFileLink(FileLink filelink) throws ASResourceDataServiceException
Imports a new FileLink object. Returns the created version.- Throws:
ASResourceDataServiceException
-
importFileLinks
java.util.List<FileLink> importFileLinks(java.util.List<FileLink> list) throws ASResourceDataServiceException
Imports multiple new FileLink object. Returns the created versions.- Throws:
ASResourceDataServiceException
-
createFileLink
FileLink createFileLink(FileLink filelink) throws ASResourceDataServiceException
Creates a new FileLink object. Returns the created version.- Throws:
ASResourceDataServiceException
-
createFileLinks
java.util.List<FileLink> createFileLinks(java.util.List<FileLink> list) throws ASResourceDataServiceException
Creates multiple new FileLink objects. Returns the created versions.- Throws:
ASResourceDataServiceException
-
updateFileLink
FileLink updateFileLink(FileLink filelink) throws ASResourceDataServiceException
Updates a FileLink object. Returns the updated version.- Throws:
ASResourceDataServiceException
-
updateFileLinks
java.util.List<FileLink> updateFileLinks(java.util.List<FileLink> list) throws ASResourceDataServiceException
Updates multiple FileLink objects. Returns the updated versions.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
java.util.List<FileLink> getFileLinksByProperty(java.lang.String propertyName, java.lang.Object value) throws ASResourceDataServiceException
Returns all FileLink objects, where property with given name equals object.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
java.util.List<FileLink> getFileLinksByProperty(java.lang.String propertyName, java.lang.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 ASResourceDataServiceExceptionExecutes a query.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
java.util.List<FileLink> getFileLinksByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASResourceDataServiceException
Returns all FileLink objects, where property matches.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
java.util.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
int getFileLinksCount() throws ASResourceDataServiceExceptionReturns all FileLinks count.- Throws:
ASResourceDataServiceException
-
getFileLinks
java.util.List<FileLink> getFileLinks(net.anotheria.util.slicer.Segment aSegment) throws ASResourceDataServiceException
Returns FileLinks objects segment.- Throws:
ASResourceDataServiceException
-
getFileLinksByProperty
java.util.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
java.util.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(java.util.List<FileLink> listFileLinks) throws ASResourceDataServiceException
Creates an xml element with selected contained data.- Throws:
ASResourceDataServiceException
-
exportFileLinksToXML
net.anotheria.util.xml.XMLNode exportFileLinksToXML(java.lang.String[] languages, java.util.List<FileLink> listFileLinks) throws ASResourceDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASResourceDataServiceException
-
fetchFileLink
void fetchFileLink(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASResourceDataServiceExceptionCreate json object list dependencies for this FileLink document.- Throws:
ASResourceDataServiceException
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASResourceDataServiceException
Save transferred document by its own type.- Throws:
ASResourceDataServiceException
-
copyMultilingualAttributesInAllObjects
void copyMultilingualAttributesInAllObjects(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASResourceDataServiceExceptionCopies 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 ASResourceDataServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASResourceDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASResourceDataServiceExceptioncreates an xml element with all contained data.- Throws:
ASResourceDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML(java.lang.String[] languages) throws ASResourceDataServiceExceptioncreates an xml element with all contained data but only selected languages in multilingual attributes.- Throws:
ASResourceDataServiceException
-
-