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(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.FileLinkcreateFileLink(FileLink filelink)Creates a new FileLink object.List<FileLink>createFileLinks(List<FileLink> list)Creates multiple new FileLink objects.ImagecreateImage(Image image)Creates a new Image object.List<Image>createImages(List<Image> list)Creates multiple new Image objects.LocalizationBundlecreateLocalizationBundle(LocalizationBundle localizationbundle)Creates a new LocalizationBundle object.List<LocalizationBundle>createLocalizationBundles(List<LocalizationBundle> list)Creates multiple new LocalizationBundle objects.MailTemplatecreateMailTemplate(MailTemplate mailtemplate)Creates a new MailTemplate object.List<MailTemplate>createMailTemplates(List<MailTemplate> list)Creates multiple new MailTemplate objects.PdfTemplatecreatePdfTemplate(PdfTemplate pdftemplate)Creates a new PdfTemplate object.List<PdfTemplate>createPdfTemplates(List<PdfTemplate> list)Creates multiple new PdfTemplate objects.PushNotificationTemplatecreatePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Creates a new PushNotificationTemplate object.List<PushNotificationTemplate>createPushNotificationTemplates(List<PushNotificationTemplate> list)Creates multiple new PushNotificationTemplate objects.TextResourcecreateTextResource(TextResource textresource)Creates a new TextResource object.List<TextResource>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.voiddeleteLocalizationBundle(String id)Deletes a LocalizationBundle object by id.voiddeleteLocalizationBundle(LocalizationBundle localizationbundle)Deletes a LocalizationBundle object.voiddeleteLocalizationBundles(List<LocalizationBundle> list)Deletes multiple LocalizationBundle object.voiddeleteMailTemplate(String id)Deletes a MailTemplate object by id.voiddeleteMailTemplate(MailTemplate mailtemplate)Deletes a MailTemplate object.voiddeleteMailTemplates(List<MailTemplate> list)Deletes multiple MailTemplate object.voiddeletePdfTemplate(String id)Deletes a PdfTemplate object by id.voiddeletePdfTemplate(PdfTemplate pdftemplate)Deletes a PdfTemplate object.voiddeletePdfTemplates(List<PdfTemplate> list)Deletes multiple PdfTemplate object.voiddeletePushNotificationTemplate(String id)Deletes a PushNotificationTemplate object by id.voiddeletePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Deletes a PushNotificationTemplate object.voiddeletePushNotificationTemplates(List<PushNotificationTemplate> list)Deletes multiple PushNotificationTemplate object.voiddeleteTextResource(String id)Deletes 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.XMLNodeexportToXML()creates 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.FileLinkgetFileLink(String id)Returns the FileLink object with the specified id.List<FileLink>getFileLinks()Returns all FileLinks objects stored.List<FileLink>getFileLinks(net.anotheria.util.slicer.Segment aSegment)Returns FileLinks objects segment.List<FileLink>getFileLinks(net.anotheria.util.sorter.SortType sortType)Returns all FileLinks objects sorted by given sortType.List<FileLink>getFileLinksByProperty(String propertyName, Object value)Returns all FileLink objects, where property with given name equals object.List<FileLink>getFileLinksByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all FileLink objects, where property with given name equals object, sorted.List<FileLink>getFileLinksByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all FileLink objects, where property matches.List<FileLink>getFileLinksByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns FileLink objects segment, where property matches.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.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(String id)Returns the Image object with the specified id.List<Image>getImages()Returns all Images objects stored.List<Image>getImages(net.anotheria.util.slicer.Segment aSegment)Returns Images objects segment.List<Image>getImages(net.anotheria.util.sorter.SortType sortType)Returns all Images objects sorted by given sortType.List<Image>getImagesByProperty(String propertyName, Object value)Returns all Image objects, where property with given name equals object.List<Image>getImagesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all Image objects, where property with given name equals object, sorted.List<Image>getImagesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Image objects, where property matches.List<Image>getImagesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Image objects segment, where property matches.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.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(String id)Returns the LocalizationBundle object with the specified id.List<LocalizationBundle>getLocalizationBundles()Returns all LocalizationBundles objects stored.List<LocalizationBundle>getLocalizationBundles(net.anotheria.util.slicer.Segment aSegment)Returns LocalizationBundles objects segment.List<LocalizationBundle>getLocalizationBundles(net.anotheria.util.sorter.SortType sortType)Returns all LocalizationBundles objects sorted by given sortType.List<LocalizationBundle>getLocalizationBundlesByProperty(String propertyName, Object value)Returns all LocalizationBundle objects, where property with given name equals object.List<LocalizationBundle>getLocalizationBundlesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all LocalizationBundle objects, where property with given name equals object, sorted.List<LocalizationBundle>getLocalizationBundlesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all LocalizationBundle objects, where property matches.List<LocalizationBundle>getLocalizationBundlesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns LocalizationBundle objects segment, where property matches.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.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(String id)Returns the MailTemplate object with the specified id.List<MailTemplate>getMailTemplates()Returns all MailTemplates objects stored.List<MailTemplate>getMailTemplates(net.anotheria.util.slicer.Segment aSegment)Returns MailTemplates objects segment.List<MailTemplate>getMailTemplates(net.anotheria.util.sorter.SortType sortType)Returns all MailTemplates objects sorted by given sortType.List<MailTemplate>getMailTemplatesByProperty(String propertyName, Object value)Returns all MailTemplate objects, where property with given name equals object.List<MailTemplate>getMailTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all MailTemplate objects, where property with given name equals object, sorted.List<MailTemplate>getMailTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all MailTemplate objects, where property matches.List<MailTemplate>getMailTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns MailTemplate objects segment, where property matches.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.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(String id)Returns the PdfTemplate object with the specified id.List<PdfTemplate>getPdfTemplates()Returns all PdfTemplates objects stored.List<PdfTemplate>getPdfTemplates(net.anotheria.util.slicer.Segment aSegment)Returns PdfTemplates objects segment.List<PdfTemplate>getPdfTemplates(net.anotheria.util.sorter.SortType sortType)Returns all PdfTemplates objects sorted by given sortType.List<PdfTemplate>getPdfTemplatesByProperty(String propertyName, Object value)Returns all PdfTemplate objects, where property with given name equals object.List<PdfTemplate>getPdfTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all PdfTemplate objects, where property with given name equals object, sorted.List<PdfTemplate>getPdfTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all PdfTemplate objects, where property matches.List<PdfTemplate>getPdfTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns PdfTemplate objects segment, where property matches.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.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(String id)Returns the PushNotificationTemplate object with the specified id.List<PushNotificationTemplate>getPushNotificationTemplates()Returns all PushNotificationTemplates objects stored.List<PushNotificationTemplate>getPushNotificationTemplates(net.anotheria.util.slicer.Segment aSegment)Returns PushNotificationTemplates objects segment.List<PushNotificationTemplate>getPushNotificationTemplates(net.anotheria.util.sorter.SortType sortType)Returns all PushNotificationTemplates objects sorted by given sortType.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(String propertyName, Object value)Returns all PushNotificationTemplate objects, where property with given name equals object.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all PushNotificationTemplate objects, where property with given name equals object, sorted.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all PushNotificationTemplate objects, where property matches.List<PushNotificationTemplate>getPushNotificationTemplatesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns PushNotificationTemplate objects segment, where property matches.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.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(String id)Returns the TextResource object with the specified id.List<TextResource>getTextResources()Returns all TextResources objects stored.List<TextResource>getTextResources(net.anotheria.util.slicer.Segment aSegment)Returns TextResources objects segment.List<TextResource>getTextResources(net.anotheria.util.sorter.SortType sortType)Returns all TextResources objects sorted by given sortType.List<TextResource>getTextResourcesByProperty(String propertyName, Object value)Returns all TextResource objects, where property with given name equals object.List<TextResource>getTextResourcesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all TextResource objects, where property with given name equals object, sorted.List<TextResource>getTextResourcesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all TextResource objects, where property matches.List<TextResource>getTextResourcesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns TextResource objects segment, where property matches.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.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.List<FileLink>importFileLinks(List<FileLink> list)Imports multiple new FileLink object.ImageimportImage(Image image)Imports a new Image object.List<Image>importImages(List<Image> list)Imports multiple new Image object.LocalizationBundleimportLocalizationBundle(LocalizationBundle localizationbundle)Imports a new LocalizationBundle object.List<LocalizationBundle>importLocalizationBundles(List<LocalizationBundle> list)Imports multiple new LocalizationBundle object.MailTemplateimportMailTemplate(MailTemplate mailtemplate)Imports a new MailTemplate object.List<MailTemplate>importMailTemplates(List<MailTemplate> list)Imports multiple new MailTemplate object.PdfTemplateimportPdfTemplate(PdfTemplate pdftemplate)Imports a new PdfTemplate object.List<PdfTemplate>importPdfTemplates(List<PdfTemplate> list)Imports multiple new PdfTemplate object.PushNotificationTemplateimportPushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Imports a new PushNotificationTemplate object.List<PushNotificationTemplate>importPushNotificationTemplates(List<PushNotificationTemplate> list)Imports multiple new PushNotificationTemplate object.TextResourceimportTextResource(TextResource textresource)Imports a new TextResource object.List<TextResource>importTextResources(List<TextResource> list)Imports multiple new TextResource object.FileLinkupdateFileLink(FileLink filelink)Updates a FileLink object.List<FileLink>updateFileLinks(List<FileLink> list)Updates multiple FileLink objects.ImageupdateImage(Image image)Updates a Image object.List<Image>updateImages(List<Image> list)Updates multiple Image objects.LocalizationBundleupdateLocalizationBundle(LocalizationBundle localizationbundle)Updates a LocalizationBundle object.List<LocalizationBundle>updateLocalizationBundles(List<LocalizationBundle> list)Updates multiple LocalizationBundle objects.MailTemplateupdateMailTemplate(MailTemplate mailtemplate)Updates a MailTemplate object.List<MailTemplate>updateMailTemplates(List<MailTemplate> list)Updates multiple MailTemplate objects.PdfTemplateupdatePdfTemplate(PdfTemplate pdftemplate)Updates a PdfTemplate object.List<PdfTemplate>updatePdfTemplates(List<PdfTemplate> list)Updates multiple PdfTemplate objects.PushNotificationTemplateupdatePushNotificationTemplate(PushNotificationTemplate pushnotificationtemplate)Updates a PushNotificationTemplate object.List<PushNotificationTemplate>updatePushNotificationTemplates(List<PushNotificationTemplate> list)Updates multiple PushNotificationTemplate objects.TextResourceupdateTextResource(TextResource textresource)Updates a TextResource object.List<TextResource>updateTextResources(List<TextResource> list)Updates multiple TextResource objects.
-
-
-
Method Detail
-
getTextResources
List<TextResource> getTextResources() throws ASResourceDataServiceException
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
void deleteTextResource(String id) throws ASResourceDataServiceException
Deletes a TextResource object by id.- Throws:
ASResourceDataServiceException
-
deleteTextResource
void deleteTextResource(TextResource textresource) throws ASResourceDataServiceException
Deletes a TextResource object.- Throws:
ASResourceDataServiceException
-
deleteTextResources
void deleteTextResources(List<TextResource> list) throws ASResourceDataServiceException
Deletes multiple TextResource object.- Throws:
ASResourceDataServiceException
-
getTextResource
TextResource getTextResource(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
List<TextResource> importTextResources(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
List<TextResource> createTextResources(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
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 ASResourceDataServiceExceptionExecutes 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
int getTextResourcesCount() throws ASResourceDataServiceExceptionReturns 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
List<LocalizationBundle> getLocalizationBundles() throws ASResourceDataServiceException
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
void deleteLocalizationBundle(String id) throws ASResourceDataServiceException
Deletes a LocalizationBundle object by id.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundle
void deleteLocalizationBundle(LocalizationBundle localizationbundle) throws ASResourceDataServiceException
Deletes a LocalizationBundle object.- Throws:
ASResourceDataServiceException
-
deleteLocalizationBundles
void deleteLocalizationBundles(List<LocalizationBundle> list) throws ASResourceDataServiceException
Deletes multiple LocalizationBundle object.- Throws:
ASResourceDataServiceException
-
getLocalizationBundle
LocalizationBundle getLocalizationBundle(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
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 ASResourceDataServiceExceptionExecutes 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
int getLocalizationBundlesCount() throws ASResourceDataServiceExceptionReturns 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
List<MailTemplate> getMailTemplates() throws ASResourceDataServiceException
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
void deleteMailTemplate(String id) throws ASResourceDataServiceException
Deletes a MailTemplate object by id.- Throws:
ASResourceDataServiceException
-
deleteMailTemplate
void deleteMailTemplate(MailTemplate mailtemplate) throws ASResourceDataServiceException
Deletes a MailTemplate object.- Throws:
ASResourceDataServiceException
-
deleteMailTemplates
void deleteMailTemplates(List<MailTemplate> list) throws ASResourceDataServiceException
Deletes multiple MailTemplate object.- Throws:
ASResourceDataServiceException
-
getMailTemplate
MailTemplate getMailTemplate(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
List<MailTemplate> importMailTemplates(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
List<MailTemplate> createMailTemplates(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
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 ASResourceDataServiceExceptionExecutes 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
int getMailTemplatesCount() throws ASResourceDataServiceExceptionReturns 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
List<PdfTemplate> getPdfTemplates() throws ASResourceDataServiceException
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
void deletePdfTemplate(String id) throws ASResourceDataServiceException
Deletes a PdfTemplate object by id.- Throws:
ASResourceDataServiceException
-
deletePdfTemplate
void deletePdfTemplate(PdfTemplate pdftemplate) throws ASResourceDataServiceException
Deletes a PdfTemplate object.- Throws:
ASResourceDataServiceException
-
deletePdfTemplates
void deletePdfTemplates(List<PdfTemplate> list) throws ASResourceDataServiceException
Deletes multiple PdfTemplate object.- Throws:
ASResourceDataServiceException
-
getPdfTemplate
PdfTemplate getPdfTemplate(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
List<PdfTemplate> importPdfTemplates(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
List<PdfTemplate> createPdfTemplates(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
List<PdfTemplate> updatePdfTemplates(List<PdfTemplate> list) throws ASResourceDataServiceException
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 ASResourceDataServiceExceptionExecutes 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
int getPdfTemplatesCount() throws ASResourceDataServiceExceptionReturns 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
List<PushNotificationTemplate> getPushNotificationTemplates() throws ASResourceDataServiceException
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
void deletePushNotificationTemplate(String id) throws ASResourceDataServiceException
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 ASResourceDataServiceExceptionExecutes 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
int getPushNotificationTemplatesCount() throws ASResourceDataServiceExceptionReturns 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
List<Image> getImages() throws ASResourceDataServiceException
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
void deleteImage(String id) throws ASResourceDataServiceException
Deletes a Image object by id.- Throws:
ASResourceDataServiceException
-
deleteImage
void deleteImage(Image image) throws ASResourceDataServiceException
Deletes a Image object.- Throws:
ASResourceDataServiceException
-
deleteImages
void deleteImages(List<Image> list) throws ASResourceDataServiceException
Deletes multiple Image object.- Throws:
ASResourceDataServiceException
-
getImage
Image getImage(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
List<Image> importImages(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
List<Image> createImages(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
List<Image> updateImages(List<Image> list) throws ASResourceDataServiceException
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 ASResourceDataServiceExceptionExecutes 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
int getImagesCount() throws ASResourceDataServiceExceptionReturns 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
List<FileLink> getFileLinks() throws ASResourceDataServiceException
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
void deleteFileLink(String id) throws ASResourceDataServiceException
Deletes a FileLink object by id.- Throws:
ASResourceDataServiceException
-
deleteFileLink
void deleteFileLink(FileLink filelink) throws ASResourceDataServiceException
Deletes a FileLink object.- Throws:
ASResourceDataServiceException
-
deleteFileLinks
void deleteFileLinks(List<FileLink> list) throws ASResourceDataServiceException
Deletes multiple FileLink object.- Throws:
ASResourceDataServiceException
-
getFileLink
FileLink getFileLink(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
List<FileLink> importFileLinks(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
List<FileLink> createFileLinks(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
List<FileLink> updateFileLinks(List<FileLink> list) throws ASResourceDataServiceException
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 ASResourceDataServiceExceptionExecutes 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
int getFileLinksCount() throws ASResourceDataServiceExceptionReturns 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
-
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(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 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(String[] languages) throws ASResourceDataServiceException
creates an xml element with all contained data but only selected languages in multilingual attributes.- Throws:
ASResourceDataServiceException
-
-