Interface IASLayoutDataService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASLayoutDataServiceImpl
public interface IASLayoutDataService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreatePageLayout(PageLayout pagelayout) Creates a new PageLayout object.createPageLayouts(List<PageLayout> list) Creates multiple new PageLayout objects.createPageStyle(PageStyle pagestyle) Creates a new PageStyle object.createPageStyles(List<PageStyle> list) Creates multiple new PageStyle objects.voidDeletes a PageLayout object by id.voiddeletePageLayout(PageLayout pagelayout) Deletes a PageLayout object.voiddeletePageLayouts(List<PageLayout> list) Deletes multiple PageLayout object.voidDeletes a PageStyle object by id.voiddeletePageStyle(PageStyle pagestyle) Deletes a PageStyle object.voiddeletePageStyles(List<PageStyle> list) Deletes multiple PageStyle 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.QueryResultexecuteQueryOnPageLayouts(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnPageStyles(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodeexportPageLayoutsToXML(List<PageLayout> listPageLayouts) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPageStylesToXML(List<PageStyle> listPageStyles) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchPageLayout(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this PageLayout document.voidfetchPageStyle(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this PageStyle document.getPageLayout(String id) Returns the PageLayout object with the specified id.Returns all PageLayouts objects stored.getPageLayouts(net.anotheria.util.slicer.Segment aSegment) Returns PageLayouts objects segment.getPageLayouts(net.anotheria.util.sorter.SortType sortType) Returns all PageLayouts objects sorted by given sortType.getPageLayoutsByProperty(String propertyName, Object value) Returns all PageLayout objects, where property with given name equals object.getPageLayoutsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all PageLayout objects, where property with given name equals object, sorted.getPageLayoutsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all PageLayout objects, where property matches.getPageLayoutsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PageLayout objects segment, where property matches.getPageLayoutsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PageLayout objects segment, where property matches, sorted.getPageLayoutsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all PageLayout objects, where property matches, sorted.intReturns all PageLayouts count.getPageStyle(String id) Returns the PageStyle object with the specified id.Returns all PageStyles objects stored.getPageStyles(net.anotheria.util.slicer.Segment aSegment) Returns PageStyles objects segment.getPageStyles(net.anotheria.util.sorter.SortType sortType) Returns all PageStyles objects sorted by given sortType.getPageStylesByProperty(String propertyName, Object value) Returns all PageStyle objects, where property with given name equals object.getPageStylesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all PageStyle objects, where property with given name equals object, sorted.getPageStylesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all PageStyle objects, where property matches.getPageStylesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PageStyle objects segment, where property matches.getPageStylesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns PageStyle objects segment, where property matches, sorted.getPageStylesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all PageStyle objects, where property matches, sorted.intReturns all PageStyles count.importPageLayout(PageLayout pagelayout) Imports a new PageLayout object.importPageLayouts(List<PageLayout> list) Imports multiple new PageLayout object.importPageStyle(PageStyle pagestyle) Imports a new PageStyle object.importPageStyles(List<PageStyle> list) Imports multiple new PageStyle object.updatePageLayout(PageLayout pagelayout) Updates a PageLayout object.updatePageLayouts(List<PageLayout> list) Updates multiple PageLayout objects.updatePageStyle(PageStyle pagestyle) Updates a PageStyle object.updatePageStyles(List<PageStyle> list) Updates multiple PageStyle objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getPageStyles
Returns all PageStyles objects stored.- Throws:
ASLayoutDataServiceException
-
getPageStyles
List<PageStyle> getPageStyles(net.anotheria.util.sorter.SortType sortType) throws ASLayoutDataServiceException Returns all PageStyles objects sorted by given sortType.- Throws:
ASLayoutDataServiceException
-
deletePageStyle
Deletes a PageStyle object by id.- Throws:
ASLayoutDataServiceException
-
deletePageStyle
Deletes a PageStyle object.- Throws:
ASLayoutDataServiceException
-
deletePageStyles
Deletes multiple PageStyle object.- Throws:
ASLayoutDataServiceException
-
getPageStyle
Returns the PageStyle object with the specified id.- Throws:
ASLayoutDataServiceException
-
importPageStyle
Imports a new PageStyle object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
importPageStyles
Imports multiple new PageStyle object. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
createPageStyle
Creates a new PageStyle object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
createPageStyles
Creates multiple new PageStyle objects. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
updatePageStyle
Updates a PageStyle object. Returns the updated version.- Throws:
ASLayoutDataServiceException
-
updatePageStyles
Updates multiple PageStyle objects. Returns the updated versions.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
List<PageStyle> getPageStylesByProperty(String propertyName, Object value) throws ASLayoutDataServiceException Returns all PageStyle objects, where property with given name equals object.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
List<PageStyle> getPageStylesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASLayoutDataServiceException Returns all PageStyle objects, where property with given name equals object, sorted.- Throws:
ASLayoutDataServiceException
-
executeQueryOnPageStyles
net.anotheria.anodoc.query2.QueryResult executeQueryOnPageStyles(net.anotheria.anodoc.query2.DocumentQuery query) throws ASLayoutDataServiceException Executes a query.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
List<PageStyle> getPageStylesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASLayoutDataServiceException Returns all PageStyle objects, where property matches.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
List<PageStyle> getPageStylesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASLayoutDataServiceException Returns all PageStyle objects, where property matches, sorted.- Throws:
ASLayoutDataServiceException
-
getPageStylesCount
Returns all PageStyles count.- Throws:
ASLayoutDataServiceException
-
getPageStyles
List<PageStyle> getPageStyles(net.anotheria.util.slicer.Segment aSegment) throws ASLayoutDataServiceException Returns PageStyles objects segment.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
List<PageStyle> getPageStylesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASLayoutDataServiceException Returns PageStyle objects segment, where property matches.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
List<PageStyle> getPageStylesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASLayoutDataServiceException Returns PageStyle objects segment, where property matches, sorted.- Throws:
ASLayoutDataServiceException
-
exportPageStylesToXML
net.anotheria.util.xml.XMLNode exportPageStylesToXML(List<PageStyle> listPageStyles) throws ASLayoutDataServiceException Creates an xml element with selected contained data.- Throws:
ASLayoutDataServiceException
-
fetchPageStyle
void fetchPageStyle(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASLayoutDataServiceException Create json object list dependencies for this PageStyle document.- Throws:
ASLayoutDataServiceException
-
getPageLayouts
Returns all PageLayouts objects stored.- Throws:
ASLayoutDataServiceException
-
getPageLayouts
List<PageLayout> getPageLayouts(net.anotheria.util.sorter.SortType sortType) throws ASLayoutDataServiceException Returns all PageLayouts objects sorted by given sortType.- Throws:
ASLayoutDataServiceException
-
deletePageLayout
Deletes a PageLayout object by id.- Throws:
ASLayoutDataServiceException
-
deletePageLayout
Deletes a PageLayout object.- Throws:
ASLayoutDataServiceException
-
deletePageLayouts
Deletes multiple PageLayout object.- Throws:
ASLayoutDataServiceException
-
getPageLayout
Returns the PageLayout object with the specified id.- Throws:
ASLayoutDataServiceException
-
importPageLayout
Imports a new PageLayout object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
importPageLayouts
Imports multiple new PageLayout object. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
createPageLayout
Creates a new PageLayout object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
createPageLayouts
Creates multiple new PageLayout objects. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
updatePageLayout
Updates a PageLayout object. Returns the updated version.- Throws:
ASLayoutDataServiceException
-
updatePageLayouts
Updates multiple PageLayout objects. Returns the updated versions.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
List<PageLayout> getPageLayoutsByProperty(String propertyName, Object value) throws ASLayoutDataServiceException Returns all PageLayout objects, where property with given name equals object.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
List<PageLayout> getPageLayoutsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASLayoutDataServiceException Returns all PageLayout objects, where property with given name equals object, sorted.- Throws:
ASLayoutDataServiceException
-
executeQueryOnPageLayouts
net.anotheria.anodoc.query2.QueryResult executeQueryOnPageLayouts(net.anotheria.anodoc.query2.DocumentQuery query) throws ASLayoutDataServiceException Executes a query.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
List<PageLayout> getPageLayoutsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASLayoutDataServiceException Returns all PageLayout objects, where property matches.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
List<PageLayout> getPageLayoutsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASLayoutDataServiceException Returns all PageLayout objects, where property matches, sorted.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsCount
Returns all PageLayouts count.- Throws:
ASLayoutDataServiceException
-
getPageLayouts
List<PageLayout> getPageLayouts(net.anotheria.util.slicer.Segment aSegment) throws ASLayoutDataServiceException Returns PageLayouts objects segment.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
List<PageLayout> getPageLayoutsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASLayoutDataServiceException Returns PageLayout objects segment, where property matches.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
List<PageLayout> getPageLayoutsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASLayoutDataServiceException Returns PageLayout objects segment, where property matches, sorted.- Throws:
ASLayoutDataServiceException
-
exportPageLayoutsToXML
net.anotheria.util.xml.XMLNode exportPageLayoutsToXML(List<PageLayout> listPageLayouts) throws ASLayoutDataServiceException Creates an xml element with selected contained data.- Throws:
ASLayoutDataServiceException
-
fetchPageLayout
void fetchPageLayout(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASLayoutDataServiceException Create json object list dependencies for this PageLayout document.- Throws:
ASLayoutDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASLayoutDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASLayoutDataServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASLayoutDataServiceException
-