public class ASLayoutDataServiceImpl extends BasicCMSService implements IASLayoutDataService, net.anotheria.asg.util.listener.IModuleListener
MY_OWNER_ID, servicelog| Modifier and Type | Method and Description |
|---|---|
PageLayout |
createPageLayout(PageLayout pagelayout)
Creates a new PageLayout object.
|
java.util.List<PageLayout> |
createPageLayouts(java.util.List<PageLayout> list)
Creates multiple new PageLayout objects.
|
PageStyle |
createPageStyle(PageStyle pagestyle)
Creates a new PageStyle object.
|
java.util.List<PageStyle> |
createPageStyles(java.util.List<PageStyle> list)
Creates multiple new PageStyle objects.
|
void |
deletePageLayout(PageLayout pagelayout)
Deletes a PageLayout object.
|
void |
deletePageLayout(java.lang.String id)
Deletes a PageLayout object by id.
|
void |
deletePageLayouts(java.util.List<PageLayout> list)
Deletes multiple PageLayout object.
|
void |
deletePageStyle(PageStyle pagestyle)
Deletes a PageStyle object.
|
void |
deletePageStyle(java.lang.String id)
Deletes a PageStyle object by id.
|
void |
deletePageStyles(java.util.List<PageStyle> list)
Deletes multiple PageStyle object.
|
void |
executeParsingForDocument(DocumentName documentName,
org.codehaus.jettison.json.JSONObject data)
Save transferred document by its own type.
|
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
|
net.anotheria.anodoc.query2.QueryResult |
executeQueryOnPageLayouts(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on PageLayouts
|
net.anotheria.anodoc.query2.QueryResult |
executeQueryOnPageStyles(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on PageStyles
|
net.anotheria.util.xml.XMLNode |
exportPageLayoutsToXML() |
net.anotheria.util.xml.XMLNode |
exportPageLayoutsToXML(java.util.List<PageLayout> list)
Creates an xml element with selected contained data.
|
net.anotheria.util.xml.XMLNode |
exportPageStylesToXML() |
net.anotheria.util.xml.XMLNode |
exportPageStylesToXML(java.util.List<PageStyle> list)
Creates an xml element with selected contained data.
|
net.anotheria.util.xml.XMLNode |
exportToXML()
creates an xml element with all contained data.
|
void |
fetchPageLayout(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.
|
void |
fetchPageStyle(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.
|
PageLayout |
getPageLayout(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(java.util.List<java.lang.String> ids)
Returns the PageLayout objects with the specified ids.
|
java.util.List<PageLayout> |
getPageLayouts(java.util.List<java.lang.String> ids,
net.anotheria.util.sorter.SortType sortType)
Returns the PageLayout objects with the specified ids, sorted by given sorttype.
|
java.util.List<PageLayout> |
getPageLayouts(net.anotheria.util.slicer.Segment aSegment)
Returns PageLayout 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(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... property)
Returns PageLayout objects segment, where property matched.
|
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 matched, 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
|
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.
|
int |
getPageLayoutsCount()
Returns PageLayout objects count.
|
PageStyle |
getPageStyle(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(java.util.List<java.lang.String> ids)
Returns the PageStyle objects with the specified ids.
|
java.util.List<PageStyle> |
getPageStyles(java.util.List<java.lang.String> ids,
net.anotheria.util.sorter.SortType sortType)
Returns the PageStyle objects with the specified ids, sorted by given sorttype.
|
java.util.List<PageStyle> |
getPageStyles(net.anotheria.util.slicer.Segment aSegment)
Returns PageStyle 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(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... property)
Returns PageStyle objects segment, where property matched.
|
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 matched, 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
|
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.
|
int |
getPageStylesCount()
Returns PageStyle objects count.
|
PageLayout |
importPageLayout(PageLayout pagelayout)
Imports a new PageLayout object.
|
java.util.List<PageLayout> |
importPageLayouts(java.util.List<PageLayout> list)
Imports multiple new PageLayout object.
|
PageStyle |
importPageStyle(PageStyle pagestyle)
Imports a new PageStyle object.
|
java.util.List<PageStyle> |
importPageStyles(java.util.List<PageStyle> list)
Imports multiple new PageStyle object.
|
void |
moduleLoaded(net.anotheria.anodoc.data.Module module) |
PageLayout |
updatePageLayout(PageLayout pagelayout)
Updates a PageLayout object.
|
java.util.List<PageLayout> |
updatePageLayouts(java.util.List<PageLayout> list)
Updates multiple PageLayout objects.
|
PageStyle |
updatePageStyle(PageStyle pagestyle)
Updates a PageStyle object.
|
java.util.List<PageStyle> |
updatePageStyles(java.util.List<PageStyle> list)
Updates multiple PageStyle objects.
|
addModuleListener, getModule, updateModulegetAnoAccessApplicationDataService, getAnoAccessConfigurationService, getASActionService, getASBrandService, getASCustomActionService, getASCustomDataService, getASExperimentService, getASFeatureService, getASFederatedDataService, getASGenericActionService, getASGenericDataService, getASLayoutDataService, getASResourceDataService, getASSiteConfigService, getASSiteDataService, getASUserDataService, getASWebDataService, getASWizardDataService, getImagesServiceaddServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListenerpublic void moduleLoaded(net.anotheria.anodoc.data.Module module)
moduleLoaded in interface net.anotheria.asg.util.listener.IModuleListenerpublic java.util.List<PageStyle> getPageStyles()
IASLayoutDataServicegetPageStyles in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStyles(net.anotheria.util.sorter.SortType sortType)
IASLayoutDataServicegetPageStyles in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStyles(java.util.List<java.lang.String> ids)
public java.util.List<PageStyle> getPageStyles(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
public void deletePageStyle(PageStyle pagestyle)
IASLayoutDataServicedeletePageStyle in interface IASLayoutDataServicepublic void deletePageStyle(java.lang.String id)
IASLayoutDataServicedeletePageStyle in interface IASLayoutDataServicepublic void deletePageStyles(java.util.List<PageStyle> list)
IASLayoutDataServicedeletePageStyles in interface IASLayoutDataServicepublic PageStyle getPageStyle(java.lang.String id)
IASLayoutDataServicegetPageStyle in interface IASLayoutDataServicepublic PageStyle importPageStyle(PageStyle pagestyle)
IASLayoutDataServiceimportPageStyle in interface IASLayoutDataServicepublic java.util.List<PageStyle> importPageStyles(java.util.List<PageStyle> list)
IASLayoutDataServiceimportPageStyles in interface IASLayoutDataServicepublic PageStyle createPageStyle(PageStyle pagestyle)
IASLayoutDataServicecreatePageStyle in interface IASLayoutDataServicepublic java.util.List<PageStyle> createPageStyles(java.util.List<PageStyle> list)
IASLayoutDataServicecreatePageStyles in interface IASLayoutDataServicepublic PageStyle updatePageStyle(PageStyle pagestyle)
IASLayoutDataServiceupdatePageStyle in interface IASLayoutDataServicepublic java.util.List<PageStyle> updatePageStyles(java.util.List<PageStyle> list)
IASLayoutDataServiceupdatePageStyles in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStylesByProperty(java.lang.String propertyName, java.lang.Object value)
IASLayoutDataServicegetPageStylesByProperty in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStylesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
IASLayoutDataServicegetPageStylesByProperty in interface IASLayoutDataServicepublic net.anotheria.anodoc.query2.QueryResult executeQueryOnPageStyles(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnPageStyles in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStylesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
getPageStylesByProperty in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStylesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
getPageStylesByProperty in interface IASLayoutDataServicepublic int getPageStylesCount()
getPageStylesCount in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStyles(net.anotheria.util.slicer.Segment aSegment)
getPageStyles in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStylesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
getPageStylesByProperty in interface IASLayoutDataServicepublic java.util.List<PageStyle> getPageStylesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
getPageStylesByProperty in interface IASLayoutDataServicepublic void fetchPageStyle(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASLayoutDataServiceException
IASLayoutDataServicefetchPageStyle in interface IASLayoutDataServiceASLayoutDataServiceExceptionpublic java.util.List<PageLayout> getPageLayouts()
IASLayoutDataServicegetPageLayouts in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayouts(net.anotheria.util.sorter.SortType sortType)
IASLayoutDataServicegetPageLayouts in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayouts(java.util.List<java.lang.String> ids)
public java.util.List<PageLayout> getPageLayouts(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
public void deletePageLayout(PageLayout pagelayout)
IASLayoutDataServicedeletePageLayout in interface IASLayoutDataServicepublic void deletePageLayout(java.lang.String id)
IASLayoutDataServicedeletePageLayout in interface IASLayoutDataServicepublic void deletePageLayouts(java.util.List<PageLayout> list)
IASLayoutDataServicedeletePageLayouts in interface IASLayoutDataServicepublic PageLayout getPageLayout(java.lang.String id)
IASLayoutDataServicegetPageLayout in interface IASLayoutDataServicepublic PageLayout importPageLayout(PageLayout pagelayout)
IASLayoutDataServiceimportPageLayout in interface IASLayoutDataServicepublic java.util.List<PageLayout> importPageLayouts(java.util.List<PageLayout> list)
IASLayoutDataServiceimportPageLayouts in interface IASLayoutDataServicepublic PageLayout createPageLayout(PageLayout pagelayout)
IASLayoutDataServicecreatePageLayout in interface IASLayoutDataServicepublic java.util.List<PageLayout> createPageLayouts(java.util.List<PageLayout> list)
IASLayoutDataServicecreatePageLayouts in interface IASLayoutDataServicepublic PageLayout updatePageLayout(PageLayout pagelayout)
IASLayoutDataServiceupdatePageLayout in interface IASLayoutDataServicepublic java.util.List<PageLayout> updatePageLayouts(java.util.List<PageLayout> list)
IASLayoutDataServiceupdatePageLayouts in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayoutsByProperty(java.lang.String propertyName, java.lang.Object value)
IASLayoutDataServicegetPageLayoutsByProperty in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayoutsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
IASLayoutDataServicegetPageLayoutsByProperty in interface IASLayoutDataServicepublic net.anotheria.anodoc.query2.QueryResult executeQueryOnPageLayouts(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnPageLayouts in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayoutsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
getPageLayoutsByProperty in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayoutsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
getPageLayoutsByProperty in interface IASLayoutDataServicepublic int getPageLayoutsCount()
getPageLayoutsCount in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayouts(net.anotheria.util.slicer.Segment aSegment)
getPageLayouts in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayoutsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
getPageLayoutsByProperty in interface IASLayoutDataServicepublic java.util.List<PageLayout> getPageLayoutsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
getPageLayoutsByProperty in interface IASLayoutDataServicepublic void fetchPageLayout(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASLayoutDataServiceException
IASLayoutDataServicefetchPageLayout in interface IASLayoutDataServiceASLayoutDataServiceExceptionpublic void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASLayoutDataServiceException
IASLayoutDataServiceexecuteParsingForDocument in interface IASLayoutDataServiceASLayoutDataServiceExceptionpublic net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnAllObjects in interface IASLayoutDataServicepublic net.anotheria.util.xml.XMLNode exportPageStylesToXML()
public net.anotheria.util.xml.XMLNode exportPageStylesToXML(java.util.List<PageStyle> list)
IASLayoutDataServiceexportPageStylesToXML in interface IASLayoutDataServicepublic net.anotheria.util.xml.XMLNode exportPageLayoutsToXML()
public net.anotheria.util.xml.XMLNode exportPageLayoutsToXML(java.util.List<PageLayout> list)
IASLayoutDataServiceexportPageLayoutsToXML in interface IASLayoutDataServicepublic net.anotheria.util.xml.XMLNode exportToXML()
IASLayoutDataServiceexportToXML in interface IASLayoutDataServiceCopyright © 2012-2023 anotheria.net. All Rights Reserved.