Class ASWebDataServiceImpl
- java.lang.Object
-
- net.anotheria.asg.service.AbstractASGService
-
- net.anotheria.anosite.gen.shared.service.BasicService
-
- net.anotheria.anosite.gen.shared.service.BasicCMSService
-
- net.anotheria.anosite.gen.aswebdata.service.ASWebDataServiceImpl
-
- All Implemented Interfaces:
net.anotheria.anoprise.metafactory.Service,IASWebDataService,net.anotheria.asg.service.ASGService,net.anotheria.asg.util.listener.IModuleListener
public class ASWebDataServiceImpl extends BasicCMSService implements IASWebDataService, net.anotheria.asg.util.listener.IModuleListener
-
-
Field Summary
-
Fields inherited from class net.anotheria.anosite.gen.shared.service.BasicCMSService
MY_OWNER_ID, service
-
Fields inherited from class net.anotheria.anosite.gen.shared.service.BasicService
log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyMultilingualAttributesInAllBoxs(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type Box 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 servicevoidcopyMultilingualAttributesInAllPagexs(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.AttributecreateAttribute(Attribute attribute)Creates a new Attribute object.java.util.List<Attribute>createAttributes(java.util.List<Attribute> list)Creates multiple new Attribute objects.BoxcreateBox(Box box)Creates a new Box object.java.util.List<Box>createBoxs(java.util.List<Box> list)Creates multiple new Box objects.PagexcreatePagex(Pagex pagex)Creates a new Pagex object.java.util.List<Pagex>createPagexs(java.util.List<Pagex> list)Creates multiple new Pagex objects.voiddeleteAttribute(java.lang.String id)Deletes a Attribute object by id.voiddeleteAttribute(Attribute attribute)Deletes a Attribute object.voiddeleteAttributes(java.util.List<Attribute> list)Deletes multiple Attribute object.voiddeleteBox(java.lang.String id)Deletes a Box object by id.voiddeleteBox(Box box)Deletes a Box object.voiddeleteBoxs(java.util.List<Box> list)Deletes multiple Box object.voiddeletePagex(java.lang.String id)Deletes a Pagex object by id.voiddeletePagex(Pagex pagex)Deletes a Pagex object.voiddeletePagexs(java.util.List<Pagex> list)Deletes multiple Pagex 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 servicenet.anotheria.anodoc.query2.QueryResultexecuteQueryOnAttributes(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query on Attributesnet.anotheria.anodoc.query2.QueryResultexecuteQueryOnBoxs(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query on Boxsnet.anotheria.anodoc.query2.QueryResultexecuteQueryOnPagexs(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query on Pagexsnet.anotheria.util.xml.XMLNodeexportAttributesToXML()net.anotheria.util.xml.XMLNodeexportAttributesToXML(java.lang.String[] languages)net.anotheria.util.xml.XMLNodeexportAttributesToXML(java.lang.String[] languages, java.util.List<Attribute> list)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportAttributesToXML(java.util.List<Attribute> list)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportBoxsToXML()net.anotheria.util.xml.XMLNodeexportBoxsToXML(java.lang.String[] languages)net.anotheria.util.xml.XMLNodeexportBoxsToXML(java.lang.String[] languages, java.util.List<Box> list)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportBoxsToXML(java.util.List<Box> list)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPagexsToXML()net.anotheria.util.xml.XMLNodeexportPagexsToXML(java.lang.String[] languages)net.anotheria.util.xml.XMLNodeexportPagexsToXML(java.lang.String[] languages, java.util.List<Pagex> list)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportPagexsToXML(java.util.List<Pagex> list)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.voidfetchAttribute(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Attribute document.voidfetchBox(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Box document.voidfetchPagex(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Pagex document.AttributegetAttribute(java.lang.String id)Returns the Attribute object with the specified id.java.util.List<Attribute>getAttributes()Returns all Attributes objects stored.java.util.List<Attribute>getAttributes(java.util.List<java.lang.String> ids)Returns the Attribute objects with the specified ids.java.util.List<Attribute>getAttributes(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)Returns the Attribute objects with the specified ids, sorted by given sorttype.java.util.List<Attribute>getAttributes(net.anotheria.util.slicer.Segment aSegment)Returns Attribute objects segment.java.util.List<Attribute>getAttributes(net.anotheria.util.sorter.SortType sortType)Returns all Attributes objects sorted by given sortType.java.util.List<Attribute>getAttributesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Attribute objects, where property with given name equals object.java.util.List<Attribute>getAttributesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Attribute objects, where property with given name equals object, sorted.java.util.List<Attribute>getAttributesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Attribute objects, where property matches.java.util.List<Attribute>getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)Returns Attribute objects segment, where property matched.java.util.List<Attribute>getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Attribute objects segment, where property matched, sorted.java.util.List<Attribute>getAttributesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Attribute objects, where property matches, sortedintgetAttributesCount()Returns Attribute objects count.BoxgetBox(java.lang.String id)Returns the Box object with the specified id.java.util.List<Box>getBoxs()Returns all Boxs objects stored.java.util.List<Box>getBoxs(java.util.List<java.lang.String> ids)Returns the Box objects with the specified ids.java.util.List<Box>getBoxs(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)Returns the Box objects with the specified ids, sorted by given sorttype.java.util.List<Box>getBoxs(net.anotheria.util.slicer.Segment aSegment)Returns Box objects segment.java.util.List<Box>getBoxs(net.anotheria.util.sorter.SortType sortType)Returns all Boxs objects sorted by given sortType.java.util.List<Box>getBoxsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Box objects, where property with given name equals object.java.util.List<Box>getBoxsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Box objects, where property with given name equals object, sorted.java.util.List<Box>getBoxsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Box objects, where property matches.java.util.List<Box>getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)Returns Box objects segment, where property matched.java.util.List<Box>getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Box objects segment, where property matched, sorted.java.util.List<Box>getBoxsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Box objects, where property matches, sortedintgetBoxsCount()Returns Box objects count.PagexgetPagex(java.lang.String id)Returns the Pagex object with the specified id.java.util.List<Pagex>getPagexs()Returns all Pagexs objects stored.java.util.List<Pagex>getPagexs(java.util.List<java.lang.String> ids)Returns the Pagex objects with the specified ids.java.util.List<Pagex>getPagexs(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)Returns the Pagex objects with the specified ids, sorted by given sorttype.java.util.List<Pagex>getPagexs(net.anotheria.util.slicer.Segment aSegment)Returns Pagex objects segment.java.util.List<Pagex>getPagexs(net.anotheria.util.sorter.SortType sortType)Returns all Pagexs objects sorted by given sortType.java.util.List<Pagex>getPagexsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Pagex objects, where property with given name equals object.java.util.List<Pagex>getPagexsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Pagex objects, where property with given name equals object, sorted.java.util.List<Pagex>getPagexsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Pagex objects, where property matches.java.util.List<Pagex>getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)Returns Pagex objects segment, where property matched.java.util.List<Pagex>getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Pagex objects segment, where property matched, sorted.java.util.List<Pagex>getPagexsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Pagex objects, where property matches, sortedintgetPagexsCount()Returns Pagex objects count.AttributeimportAttribute(Attribute attribute)Imports a new Attribute object.java.util.List<Attribute>importAttributes(java.util.List<Attribute> list)Imports multiple new Attribute object.BoximportBox(Box box)Imports a new Box object.java.util.List<Box>importBoxs(java.util.List<Box> list)Imports multiple new Box object.PageximportPagex(Pagex pagex)Imports a new Pagex object.java.util.List<Pagex>importPagexs(java.util.List<Pagex> list)Imports multiple new Pagex object.voidmoduleLoaded(net.anotheria.anodoc.data.Module module)AttributeupdateAttribute(Attribute attribute)Updates a Attribute object.java.util.List<Attribute>updateAttributes(java.util.List<Attribute> list)Updates multiple Attribute objects.BoxupdateBox(Box box)Updates a Box object.java.util.List<Box>updateBoxs(java.util.List<Box> list)Updates multiple Box objects.PagexupdatePagex(Pagex pagex)Updates a Pagex object.java.util.List<Pagex>updatePagexs(java.util.List<Pagex> list)Updates multiple Pagex objects.-
Methods inherited from class net.anotheria.anosite.gen.shared.service.BasicCMSService
addModuleListener, getModule, updateModule
-
Methods inherited from class net.anotheria.anosite.gen.shared.service.BasicService
getAnoAccessApplicationDataService, getAnoAccessConfigurationService, getASActionService, getASBrandService, getASCustomActionService, getASCustomDataService, getASExperimentService, getASFeatureService, getASFederatedDataService, getASGenericActionService, getASGenericDataService, getASLayoutDataService, getASResourceDataService, getASSiteConfigService, getASSiteDataService, getASUserDataService, getASWebDataService, getASWizardDataService, getImagesService
-
Methods inherited from class net.anotheria.asg.service.AbstractASGService
addServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListener
-
-
-
-
Method Detail
-
moduleLoaded
public void moduleLoaded(net.anotheria.anodoc.data.Module module)
- Specified by:
moduleLoadedin interfacenet.anotheria.asg.util.listener.IModuleListener
-
getPagexs
public java.util.List<Pagex> getPagexs()
Description copied from interface:IASWebDataServiceReturns all Pagexs objects stored.- Specified by:
getPagexsin interfaceIASWebDataService
-
getPagexs
public java.util.List<Pagex> getPagexs(net.anotheria.util.sorter.SortType sortType)
Description copied from interface:IASWebDataServiceReturns all Pagexs objects sorted by given sortType.- Specified by:
getPagexsin interfaceIASWebDataService
-
getPagexs
public java.util.List<Pagex> getPagexs(java.util.List<java.lang.String> ids)
Returns the Pagex objects with the specified ids.
-
getPagexs
public java.util.List<Pagex> getPagexs(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
Returns the Pagex objects with the specified ids, sorted by given sorttype.
-
deletePagex
public void deletePagex(Pagex pagex)
Description copied from interface:IASWebDataServiceDeletes a Pagex object.- Specified by:
deletePagexin interfaceIASWebDataService
-
deletePagex
public void deletePagex(java.lang.String id)
Description copied from interface:IASWebDataServiceDeletes a Pagex object by id.- Specified by:
deletePagexin interfaceIASWebDataService
-
deletePagexs
public void deletePagexs(java.util.List<Pagex> list)
Description copied from interface:IASWebDataServiceDeletes multiple Pagex object.- Specified by:
deletePagexsin interfaceIASWebDataService
-
getPagex
public Pagex getPagex(java.lang.String id)
Description copied from interface:IASWebDataServiceReturns the Pagex object with the specified id.- Specified by:
getPagexin interfaceIASWebDataService
-
importPagex
public Pagex importPagex(Pagex pagex)
Description copied from interface:IASWebDataServiceImports a new Pagex object. Returns the created version.- Specified by:
importPagexin interfaceIASWebDataService
-
importPagexs
public java.util.List<Pagex> importPagexs(java.util.List<Pagex> list)
Description copied from interface:IASWebDataServiceImports multiple new Pagex object. Returns the created versions.- Specified by:
importPagexsin interfaceIASWebDataService
-
createPagex
public Pagex createPagex(Pagex pagex)
Description copied from interface:IASWebDataServiceCreates a new Pagex object. Returns the created version.- Specified by:
createPagexin interfaceIASWebDataService
-
createPagexs
public java.util.List<Pagex> createPagexs(java.util.List<Pagex> list)
Description copied from interface:IASWebDataServiceCreates multiple new Pagex objects. Returns the created versions.- Specified by:
createPagexsin interfaceIASWebDataService
-
updatePagex
public Pagex updatePagex(Pagex pagex)
Description copied from interface:IASWebDataServiceUpdates a Pagex object. Returns the updated version.- Specified by:
updatePagexin interfaceIASWebDataService
-
updatePagexs
public java.util.List<Pagex> updatePagexs(java.util.List<Pagex> list)
Description copied from interface:IASWebDataServiceUpdates multiple Pagex objects. Returns the updated versions.- Specified by:
updatePagexsin interfaceIASWebDataService
-
getPagexsByProperty
public java.util.List<Pagex> getPagexsByProperty(java.lang.String propertyName, java.lang.Object value)
Description copied from interface:IASWebDataServiceReturns all Pagex objects, where property with given name equals object.- Specified by:
getPagexsByPropertyin interfaceIASWebDataService
-
getPagexsByProperty
public java.util.List<Pagex> getPagexsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
Description copied from interface:IASWebDataServiceReturns all Pagex objects, where property with given name equals object, sorted.- Specified by:
getPagexsByPropertyin interfaceIASWebDataService
-
executeQueryOnPagexs
public net.anotheria.anodoc.query2.QueryResult executeQueryOnPagexs(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on Pagexs- Specified by:
executeQueryOnPagexsin interfaceIASWebDataService
-
getPagexsByProperty
public java.util.List<Pagex> getPagexsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Pagex objects, where property matches.- Specified by:
getPagexsByPropertyin interfaceIASWebDataService
-
getPagexsByProperty
public java.util.List<Pagex> getPagexsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Pagex objects, where property matches, sorted- Specified by:
getPagexsByPropertyin interfaceIASWebDataService
-
getPagexsCount
public int getPagexsCount()
Returns Pagex objects count.- Specified by:
getPagexsCountin interfaceIASWebDataService
-
getPagexs
public java.util.List<Pagex> getPagexs(net.anotheria.util.slicer.Segment aSegment)
Returns Pagex objects segment.- Specified by:
getPagexsin interfaceIASWebDataService
-
getPagexsByProperty
public java.util.List<Pagex> getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
Returns Pagex objects segment, where property matched.- Specified by:
getPagexsByPropertyin interfaceIASWebDataService
-
getPagexsByProperty
public java.util.List<Pagex> getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
Returns Pagex objects segment, where property matched, sorted.- Specified by:
getPagexsByPropertyin interfaceIASWebDataService
-
fetchPagex
public void fetchPagex(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceExceptionDescription copied from interface:IASWebDataServiceCreate json object list dependencies for this Pagex document.- Specified by:
fetchPagexin interfaceIASWebDataService- Throws:
ASWebDataServiceException
-
copyMultilingualAttributesInAllPagexs
public void copyMultilingualAttributesInAllPagexs(java.lang.String sourceLanguage, java.lang.String targetLanguage)Description copied from interface:IASWebDataServiceIn all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.- Specified by:
copyMultilingualAttributesInAllPagexsin interfaceIASWebDataService
-
getBoxs
public java.util.List<Box> getBoxs()
Description copied from interface:IASWebDataServiceReturns all Boxs objects stored.- Specified by:
getBoxsin interfaceIASWebDataService
-
getBoxs
public java.util.List<Box> getBoxs(net.anotheria.util.sorter.SortType sortType)
Description copied from interface:IASWebDataServiceReturns all Boxs objects sorted by given sortType.- Specified by:
getBoxsin interfaceIASWebDataService
-
getBoxs
public java.util.List<Box> getBoxs(java.util.List<java.lang.String> ids)
Returns the Box objects with the specified ids.
-
getBoxs
public java.util.List<Box> getBoxs(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
Returns the Box objects with the specified ids, sorted by given sorttype.
-
deleteBox
public void deleteBox(Box box)
Description copied from interface:IASWebDataServiceDeletes a Box object.- Specified by:
deleteBoxin interfaceIASWebDataService
-
deleteBox
public void deleteBox(java.lang.String id)
Description copied from interface:IASWebDataServiceDeletes a Box object by id.- Specified by:
deleteBoxin interfaceIASWebDataService
-
deleteBoxs
public void deleteBoxs(java.util.List<Box> list)
Description copied from interface:IASWebDataServiceDeletes multiple Box object.- Specified by:
deleteBoxsin interfaceIASWebDataService
-
getBox
public Box getBox(java.lang.String id)
Description copied from interface:IASWebDataServiceReturns the Box object with the specified id.- Specified by:
getBoxin interfaceIASWebDataService
-
importBox
public Box importBox(Box box)
Description copied from interface:IASWebDataServiceImports a new Box object. Returns the created version.- Specified by:
importBoxin interfaceIASWebDataService
-
importBoxs
public java.util.List<Box> importBoxs(java.util.List<Box> list)
Description copied from interface:IASWebDataServiceImports multiple new Box object. Returns the created versions.- Specified by:
importBoxsin interfaceIASWebDataService
-
createBox
public Box createBox(Box box)
Description copied from interface:IASWebDataServiceCreates a new Box object. Returns the created version.- Specified by:
createBoxin interfaceIASWebDataService
-
createBoxs
public java.util.List<Box> createBoxs(java.util.List<Box> list)
Description copied from interface:IASWebDataServiceCreates multiple new Box objects. Returns the created versions.- Specified by:
createBoxsin interfaceIASWebDataService
-
updateBox
public Box updateBox(Box box)
Description copied from interface:IASWebDataServiceUpdates a Box object. Returns the updated version.- Specified by:
updateBoxin interfaceIASWebDataService
-
updateBoxs
public java.util.List<Box> updateBoxs(java.util.List<Box> list)
Description copied from interface:IASWebDataServiceUpdates multiple Box objects. Returns the updated versions.- Specified by:
updateBoxsin interfaceIASWebDataService
-
getBoxsByProperty
public java.util.List<Box> getBoxsByProperty(java.lang.String propertyName, java.lang.Object value)
Description copied from interface:IASWebDataServiceReturns all Box objects, where property with given name equals object.- Specified by:
getBoxsByPropertyin interfaceIASWebDataService
-
getBoxsByProperty
public java.util.List<Box> getBoxsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
Description copied from interface:IASWebDataServiceReturns all Box objects, where property with given name equals object, sorted.- Specified by:
getBoxsByPropertyin interfaceIASWebDataService
-
executeQueryOnBoxs
public net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxs(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on Boxs- Specified by:
executeQueryOnBoxsin interfaceIASWebDataService
-
getBoxsByProperty
public java.util.List<Box> getBoxsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Box objects, where property matches.- Specified by:
getBoxsByPropertyin interfaceIASWebDataService
-
getBoxsByProperty
public java.util.List<Box> getBoxsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Box objects, where property matches, sorted- Specified by:
getBoxsByPropertyin interfaceIASWebDataService
-
getBoxsCount
public int getBoxsCount()
Returns Box objects count.- Specified by:
getBoxsCountin interfaceIASWebDataService
-
getBoxs
public java.util.List<Box> getBoxs(net.anotheria.util.slicer.Segment aSegment)
Returns Box objects segment.- Specified by:
getBoxsin interfaceIASWebDataService
-
getBoxsByProperty
public java.util.List<Box> getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
Returns Box objects segment, where property matched.- Specified by:
getBoxsByPropertyin interfaceIASWebDataService
-
getBoxsByProperty
public java.util.List<Box> getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
Returns Box objects segment, where property matched, sorted.- Specified by:
getBoxsByPropertyin interfaceIASWebDataService
-
fetchBox
public void fetchBox(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceExceptionDescription copied from interface:IASWebDataServiceCreate json object list dependencies for this Box document.- Specified by:
fetchBoxin interfaceIASWebDataService- Throws:
ASWebDataServiceException
-
copyMultilingualAttributesInAllBoxs
public void copyMultilingualAttributesInAllBoxs(java.lang.String sourceLanguage, java.lang.String targetLanguage)Description copied from interface:IASWebDataServiceIn all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage.- Specified by:
copyMultilingualAttributesInAllBoxsin interfaceIASWebDataService
-
getAttributes
public java.util.List<Attribute> getAttributes()
Description copied from interface:IASWebDataServiceReturns all Attributes objects stored.- Specified by:
getAttributesin interfaceIASWebDataService
-
getAttributes
public java.util.List<Attribute> getAttributes(net.anotheria.util.sorter.SortType sortType)
Description copied from interface:IASWebDataServiceReturns all Attributes objects sorted by given sortType.- Specified by:
getAttributesin interfaceIASWebDataService
-
getAttributes
public java.util.List<Attribute> getAttributes(java.util.List<java.lang.String> ids)
Returns the Attribute objects with the specified ids.
-
getAttributes
public java.util.List<Attribute> getAttributes(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
Returns the Attribute objects with the specified ids, sorted by given sorttype.
-
deleteAttribute
public void deleteAttribute(Attribute attribute)
Description copied from interface:IASWebDataServiceDeletes a Attribute object.- Specified by:
deleteAttributein interfaceIASWebDataService
-
deleteAttribute
public void deleteAttribute(java.lang.String id)
Description copied from interface:IASWebDataServiceDeletes a Attribute object by id.- Specified by:
deleteAttributein interfaceIASWebDataService
-
deleteAttributes
public void deleteAttributes(java.util.List<Attribute> list)
Description copied from interface:IASWebDataServiceDeletes multiple Attribute object.- Specified by:
deleteAttributesin interfaceIASWebDataService
-
getAttribute
public Attribute getAttribute(java.lang.String id)
Description copied from interface:IASWebDataServiceReturns the Attribute object with the specified id.- Specified by:
getAttributein interfaceIASWebDataService
-
importAttribute
public Attribute importAttribute(Attribute attribute)
Description copied from interface:IASWebDataServiceImports a new Attribute object. Returns the created version.- Specified by:
importAttributein interfaceIASWebDataService
-
importAttributes
public java.util.List<Attribute> importAttributes(java.util.List<Attribute> list)
Description copied from interface:IASWebDataServiceImports multiple new Attribute object. Returns the created versions.- Specified by:
importAttributesin interfaceIASWebDataService
-
createAttribute
public Attribute createAttribute(Attribute attribute)
Description copied from interface:IASWebDataServiceCreates a new Attribute object. Returns the created version.- Specified by:
createAttributein interfaceIASWebDataService
-
createAttributes
public java.util.List<Attribute> createAttributes(java.util.List<Attribute> list)
Description copied from interface:IASWebDataServiceCreates multiple new Attribute objects. Returns the created versions.- Specified by:
createAttributesin interfaceIASWebDataService
-
updateAttribute
public Attribute updateAttribute(Attribute attribute)
Description copied from interface:IASWebDataServiceUpdates a Attribute object. Returns the updated version.- Specified by:
updateAttributein interfaceIASWebDataService
-
updateAttributes
public java.util.List<Attribute> updateAttributes(java.util.List<Attribute> list)
Description copied from interface:IASWebDataServiceUpdates multiple Attribute objects. Returns the updated versions.- Specified by:
updateAttributesin interfaceIASWebDataService
-
getAttributesByProperty
public java.util.List<Attribute> getAttributesByProperty(java.lang.String propertyName, java.lang.Object value)
Description copied from interface:IASWebDataServiceReturns all Attribute objects, where property with given name equals object.- Specified by:
getAttributesByPropertyin interfaceIASWebDataService
-
getAttributesByProperty
public java.util.List<Attribute> getAttributesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
Description copied from interface:IASWebDataServiceReturns all Attribute objects, where property with given name equals object, sorted.- Specified by:
getAttributesByPropertyin interfaceIASWebDataService
-
executeQueryOnAttributes
public net.anotheria.anodoc.query2.QueryResult executeQueryOnAttributes(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on Attributes- Specified by:
executeQueryOnAttributesin interfaceIASWebDataService
-
getAttributesByProperty
public java.util.List<Attribute> getAttributesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Attribute objects, where property matches.- Specified by:
getAttributesByPropertyin interfaceIASWebDataService
-
getAttributesByProperty
public java.util.List<Attribute> getAttributesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
Returns all Attribute objects, where property matches, sorted- Specified by:
getAttributesByPropertyin interfaceIASWebDataService
-
getAttributesCount
public int getAttributesCount()
Returns Attribute objects count.- Specified by:
getAttributesCountin interfaceIASWebDataService
-
getAttributes
public java.util.List<Attribute> getAttributes(net.anotheria.util.slicer.Segment aSegment)
Returns Attribute objects segment.- Specified by:
getAttributesin interfaceIASWebDataService
-
getAttributesByProperty
public java.util.List<Attribute> getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
Returns Attribute objects segment, where property matched.- Specified by:
getAttributesByPropertyin interfaceIASWebDataService
-
getAttributesByProperty
public java.util.List<Attribute> getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
Returns Attribute objects segment, where property matched, sorted.- Specified by:
getAttributesByPropertyin interfaceIASWebDataService
-
fetchAttribute
public void fetchAttribute(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceExceptionDescription copied from interface:IASWebDataServiceCreate json object list dependencies for this Attribute document.- Specified by:
fetchAttributein interfaceIASWebDataService- Throws:
ASWebDataServiceException
-
executeParsingForDocument
public void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASWebDataServiceException
Description copied from interface:IASWebDataServiceSave transferred document by its own type.- Specified by:
executeParsingForDocumentin interfaceIASWebDataService- Throws:
ASWebDataServiceException
-
copyMultilingualAttributesInAllObjects
public void copyMultilingualAttributesInAllObjects(java.lang.String sourceLanguage, java.lang.String targetLanguage)Copies all multilingual fields from sourceLanguage to targetLanguage in all data objects (documents, vo) which are part of this module and managed by this service- Specified by:
copyMultilingualAttributesInAllObjectsin interfaceIASWebDataService
-
executeQueryOnAllObjects
public net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on all data objects (documents, vo) which are part of this module and managed by this service- Specified by:
executeQueryOnAllObjectsin interfaceIASWebDataService
-
exportPagexsToXML
public net.anotheria.util.xml.XMLNode exportPagexsToXML()
-
exportPagexsToXML
public net.anotheria.util.xml.XMLNode exportPagexsToXML(java.util.List<Pagex> list)
Description copied from interface:IASWebDataServiceCreates an xml element with selected contained data.- Specified by:
exportPagexsToXMLin interfaceIASWebDataService
-
exportPagexsToXML
public net.anotheria.util.xml.XMLNode exportPagexsToXML(java.lang.String[] languages)
-
exportPagexsToXML
public net.anotheria.util.xml.XMLNode exportPagexsToXML(java.lang.String[] languages, java.util.List<Pagex> list)Description copied from interface:IASWebDataServicecreates an xml element with selected contained data but only selected languages in multilingual attributes- Specified by:
exportPagexsToXMLin interfaceIASWebDataService
-
exportBoxsToXML
public net.anotheria.util.xml.XMLNode exportBoxsToXML()
-
exportBoxsToXML
public net.anotheria.util.xml.XMLNode exportBoxsToXML(java.util.List<Box> list)
Description copied from interface:IASWebDataServiceCreates an xml element with selected contained data.- Specified by:
exportBoxsToXMLin interfaceIASWebDataService
-
exportBoxsToXML
public net.anotheria.util.xml.XMLNode exportBoxsToXML(java.lang.String[] languages)
-
exportBoxsToXML
public net.anotheria.util.xml.XMLNode exportBoxsToXML(java.lang.String[] languages, java.util.List<Box> list)Description copied from interface:IASWebDataServicecreates an xml element with selected contained data but only selected languages in multilingual attributes- Specified by:
exportBoxsToXMLin interfaceIASWebDataService
-
exportAttributesToXML
public net.anotheria.util.xml.XMLNode exportAttributesToXML()
-
exportAttributesToXML
public net.anotheria.util.xml.XMLNode exportAttributesToXML(java.util.List<Attribute> list)
Description copied from interface:IASWebDataServiceCreates an xml element with selected contained data.- Specified by:
exportAttributesToXMLin interfaceIASWebDataService
-
exportAttributesToXML
public net.anotheria.util.xml.XMLNode exportAttributesToXML(java.lang.String[] languages)
-
exportAttributesToXML
public net.anotheria.util.xml.XMLNode exportAttributesToXML(java.lang.String[] languages, java.util.List<Attribute> list)Description copied from interface:IASWebDataServicecreates an xml element with selected contained data but only selected languages in multilingual attributes- Specified by:
exportAttributesToXMLin interfaceIASWebDataService
-
exportToXML
public net.anotheria.util.xml.XMLNode exportToXML()
Description copied from interface:IASWebDataServicecreates an xml element with all contained data.- Specified by:
exportToXMLin interfaceIASWebDataService
-
exportToXML
public net.anotheria.util.xml.XMLNode exportToXML(java.lang.String[] languages)
Description copied from interface:IASWebDataServicecreates an xml element with all contained data but only selected languages in multilingual attributes.- Specified by:
exportToXMLin interfaceIASWebDataService
-
-