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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PageLayoutcreatePageLayout(PageLayout pagelayout)Creates a new PageLayout object.java.util.List<PageLayout>createPageLayouts(java.util.List<PageLayout> list)Creates multiple new PageLayout objects.PageStylecreatePageStyle(PageStyle pagestyle)Creates a new PageStyle object.java.util.List<PageStyle>createPageStyles(java.util.List<PageStyle> list)Creates multiple new PageStyle objects.voiddeletePageLayout(java.lang.String id)Deletes a PageLayout object by id.voiddeletePageLayout(PageLayout pagelayout)Deletes a PageLayout object.voiddeletePageLayouts(java.util.List<PageLayout> list)Deletes multiple PageLayout object.voiddeletePageStyle(java.lang.String id)Deletes a PageStyle object by id.voiddeletePageStyle(PageStyle pagestyle)Deletes a PageStyle object.voiddeletePageStyles(java.util.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(java.util.List<PageLayout> listPageLayouts)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPageStylesToXML(java.util.List<PageStyle> listPageStyles)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.voidfetchPageLayout(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this PageLayout document.voidfetchPageStyle(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this PageStyle document.PageLayoutgetPageLayout(java.lang.String id)Returns the PageLayout object with the specified id.java.util.List<PageLayout>getPageLayouts()Returns all PageLayouts objects stored.java.util.List<PageLayout>getPageLayouts(net.anotheria.util.slicer.Segment aSegment)Returns PageLayouts objects segment.java.util.List<PageLayout>getPageLayouts(net.anotheria.util.sorter.SortType sortType)Returns all PageLayouts objects sorted by given sortType.java.util.List<PageLayout>getPageLayoutsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all PageLayout objects, where property with given name equals object.java.util.List<PageLayout>getPageLayoutsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all PageLayout objects, where property with given name equals object, sorted.java.util.List<PageLayout>getPageLayoutsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all PageLayout objects, where property matches.java.util.List<PageLayout>getPageLayoutsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns PageLayout objects segment, where property matches.java.util.List<PageLayout>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.java.util.List<PageLayout>getPageLayoutsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all PageLayout objects, where property matches, sorted.intgetPageLayoutsCount()Returns all PageLayouts count.PageStylegetPageStyle(java.lang.String id)Returns the PageStyle object with the specified id.java.util.List<PageStyle>getPageStyles()Returns all PageStyles objects stored.java.util.List<PageStyle>getPageStyles(net.anotheria.util.slicer.Segment aSegment)Returns PageStyles objects segment.java.util.List<PageStyle>getPageStyles(net.anotheria.util.sorter.SortType sortType)Returns all PageStyles objects sorted by given sortType.java.util.List<PageStyle>getPageStylesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all PageStyle objects, where property with given name equals object.java.util.List<PageStyle>getPageStylesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all PageStyle objects, where property with given name equals object, sorted.java.util.List<PageStyle>getPageStylesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all PageStyle objects, where property matches.java.util.List<PageStyle>getPageStylesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns PageStyle objects segment, where property matches.java.util.List<PageStyle>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.java.util.List<PageStyle>getPageStylesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all PageStyle objects, where property matches, sorted.intgetPageStylesCount()Returns all PageStyles count.PageLayoutimportPageLayout(PageLayout pagelayout)Imports a new PageLayout object.java.util.List<PageLayout>importPageLayouts(java.util.List<PageLayout> list)Imports multiple new PageLayout object.PageStyleimportPageStyle(PageStyle pagestyle)Imports a new PageStyle object.java.util.List<PageStyle>importPageStyles(java.util.List<PageStyle> list)Imports multiple new PageStyle object.PageLayoutupdatePageLayout(PageLayout pagelayout)Updates a PageLayout object.java.util.List<PageLayout>updatePageLayouts(java.util.List<PageLayout> list)Updates multiple PageLayout objects.PageStyleupdatePageStyle(PageStyle pagestyle)Updates a PageStyle object.java.util.List<PageStyle>updatePageStyles(java.util.List<PageStyle> list)Updates multiple PageStyle objects.
-
-
-
Method Detail
-
getPageStyles
java.util.List<PageStyle> getPageStyles() throws ASLayoutDataServiceException
Returns all PageStyles objects stored.- Throws:
ASLayoutDataServiceException
-
getPageStyles
java.util.List<PageStyle> getPageStyles(net.anotheria.util.sorter.SortType sortType) throws ASLayoutDataServiceException
Returns all PageStyles objects sorted by given sortType.- Throws:
ASLayoutDataServiceException
-
deletePageStyle
void deletePageStyle(java.lang.String id) throws ASLayoutDataServiceExceptionDeletes a PageStyle object by id.- Throws:
ASLayoutDataServiceException
-
deletePageStyle
void deletePageStyle(PageStyle pagestyle) throws ASLayoutDataServiceException
Deletes a PageStyle object.- Throws:
ASLayoutDataServiceException
-
deletePageStyles
void deletePageStyles(java.util.List<PageStyle> list) throws ASLayoutDataServiceException
Deletes multiple PageStyle object.- Throws:
ASLayoutDataServiceException
-
getPageStyle
PageStyle getPageStyle(java.lang.String id) throws ASLayoutDataServiceException
Returns the PageStyle object with the specified id.- Throws:
ASLayoutDataServiceException
-
importPageStyle
PageStyle importPageStyle(PageStyle pagestyle) throws ASLayoutDataServiceException
Imports a new PageStyle object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
importPageStyles
java.util.List<PageStyle> importPageStyles(java.util.List<PageStyle> list) throws ASLayoutDataServiceException
Imports multiple new PageStyle object. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
createPageStyle
PageStyle createPageStyle(PageStyle pagestyle) throws ASLayoutDataServiceException
Creates a new PageStyle object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
createPageStyles
java.util.List<PageStyle> createPageStyles(java.util.List<PageStyle> list) throws ASLayoutDataServiceException
Creates multiple new PageStyle objects. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
updatePageStyle
PageStyle updatePageStyle(PageStyle pagestyle) throws ASLayoutDataServiceException
Updates a PageStyle object. Returns the updated version.- Throws:
ASLayoutDataServiceException
-
updatePageStyles
java.util.List<PageStyle> updatePageStyles(java.util.List<PageStyle> list) throws ASLayoutDataServiceException
Updates multiple PageStyle objects. Returns the updated versions.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
java.util.List<PageStyle> getPageStylesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASLayoutDataServiceException
Returns all PageStyle objects, where property with given name equals object.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
java.util.List<PageStyle> getPageStylesByProperty(java.lang.String propertyName, java.lang.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 ASLayoutDataServiceExceptionExecutes a query.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
java.util.List<PageStyle> getPageStylesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASLayoutDataServiceException
Returns all PageStyle objects, where property matches.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
java.util.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
int getPageStylesCount() throws ASLayoutDataServiceExceptionReturns all PageStyles count.- Throws:
ASLayoutDataServiceException
-
getPageStyles
java.util.List<PageStyle> getPageStyles(net.anotheria.util.slicer.Segment aSegment) throws ASLayoutDataServiceException
Returns PageStyles objects segment.- Throws:
ASLayoutDataServiceException
-
getPageStylesByProperty
java.util.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
java.util.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(java.util.List<PageStyle> listPageStyles) throws ASLayoutDataServiceException
Creates an xml element with selected contained data.- Throws:
ASLayoutDataServiceException
-
fetchPageStyle
void fetchPageStyle(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASLayoutDataServiceExceptionCreate json object list dependencies for this PageStyle document.- Throws:
ASLayoutDataServiceException
-
getPageLayouts
java.util.List<PageLayout> getPageLayouts() throws ASLayoutDataServiceException
Returns all PageLayouts objects stored.- Throws:
ASLayoutDataServiceException
-
getPageLayouts
java.util.List<PageLayout> getPageLayouts(net.anotheria.util.sorter.SortType sortType) throws ASLayoutDataServiceException
Returns all PageLayouts objects sorted by given sortType.- Throws:
ASLayoutDataServiceException
-
deletePageLayout
void deletePageLayout(java.lang.String id) throws ASLayoutDataServiceExceptionDeletes a PageLayout object by id.- Throws:
ASLayoutDataServiceException
-
deletePageLayout
void deletePageLayout(PageLayout pagelayout) throws ASLayoutDataServiceException
Deletes a PageLayout object.- Throws:
ASLayoutDataServiceException
-
deletePageLayouts
void deletePageLayouts(java.util.List<PageLayout> list) throws ASLayoutDataServiceException
Deletes multiple PageLayout object.- Throws:
ASLayoutDataServiceException
-
getPageLayout
PageLayout getPageLayout(java.lang.String id) throws ASLayoutDataServiceException
Returns the PageLayout object with the specified id.- Throws:
ASLayoutDataServiceException
-
importPageLayout
PageLayout importPageLayout(PageLayout pagelayout) throws ASLayoutDataServiceException
Imports a new PageLayout object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
importPageLayouts
java.util.List<PageLayout> importPageLayouts(java.util.List<PageLayout> list) throws ASLayoutDataServiceException
Imports multiple new PageLayout object. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
createPageLayout
PageLayout createPageLayout(PageLayout pagelayout) throws ASLayoutDataServiceException
Creates a new PageLayout object. Returns the created version.- Throws:
ASLayoutDataServiceException
-
createPageLayouts
java.util.List<PageLayout> createPageLayouts(java.util.List<PageLayout> list) throws ASLayoutDataServiceException
Creates multiple new PageLayout objects. Returns the created versions.- Throws:
ASLayoutDataServiceException
-
updatePageLayout
PageLayout updatePageLayout(PageLayout pagelayout) throws ASLayoutDataServiceException
Updates a PageLayout object. Returns the updated version.- Throws:
ASLayoutDataServiceException
-
updatePageLayouts
java.util.List<PageLayout> updatePageLayouts(java.util.List<PageLayout> list) throws ASLayoutDataServiceException
Updates multiple PageLayout objects. Returns the updated versions.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
java.util.List<PageLayout> getPageLayoutsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASLayoutDataServiceException
Returns all PageLayout objects, where property with given name equals object.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
java.util.List<PageLayout> getPageLayoutsByProperty(java.lang.String propertyName, java.lang.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 ASLayoutDataServiceExceptionExecutes a query.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
java.util.List<PageLayout> getPageLayoutsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASLayoutDataServiceException
Returns all PageLayout objects, where property matches.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
java.util.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
int getPageLayoutsCount() throws ASLayoutDataServiceExceptionReturns all PageLayouts count.- Throws:
ASLayoutDataServiceException
-
getPageLayouts
java.util.List<PageLayout> getPageLayouts(net.anotheria.util.slicer.Segment aSegment) throws ASLayoutDataServiceException
Returns PageLayouts objects segment.- Throws:
ASLayoutDataServiceException
-
getPageLayoutsByProperty
java.util.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
java.util.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(java.util.List<PageLayout> listPageLayouts) throws ASLayoutDataServiceException
Creates an xml element with selected contained data.- Throws:
ASLayoutDataServiceException
-
fetchPageLayout
void fetchPageLayout(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASLayoutDataServiceExceptionCreate json object list dependencies for this PageLayout document.- Throws:
ASLayoutDataServiceException
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASLayoutDataServiceException
Save transferred document by its own type.- Throws:
ASLayoutDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASLayoutDataServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASLayoutDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASLayoutDataServiceExceptioncreates an xml element with all contained data.- Throws:
ASLayoutDataServiceException
-
-