Class ASActionServiceImpl
java.lang.Object
net.anotheria.asg.service.AbstractASGService
net.anotheria.anosite.gen.shared.service.BasicService
net.anotheria.anosite.gen.asaction.service.ASActionServiceImpl
- All Implemented Interfaces:
net.anotheria.anoprise.metafactory.Service,IASActionService,net.anotheria.asg.service.ASGService
-
Field Summary
FieldsFields inherited from class net.anotheria.anosite.gen.shared.service.BasicService
log -
Method Summary
Modifier and TypeMethodDescriptioncreateActionDef(ActionDef actiondef) Creates a new ActionDef object.createActionDefs(List<ActionDef> list) Creates multiple new ActionDef objects.voidDeletes a ActionDef object by id.voiddeleteActionDef(ActionDef actiondef) Deletes a ActionDef object.voiddeleteActionDefs(List<ActionDef> list) Deletes multiple ActionDef objects.voidexecuteParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) Save transferred document by its own type.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on ActionDefsnet.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.util.xml.XMLNodeexportActionDefsToXML(String[] languages, List<ActionDef> listActionDefs) net.anotheria.util.xml.XMLNodeexportActionDefsToXML(List<ActionDef> listActionDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportToXML(String[] languages) voidfetchActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this ActionDef document.getActionDef(String id) Returns the ActionDef object with the specified id.Returns all ActionDefs objects stored.getActionDefs(net.anotheria.util.slicer.Segment aSegment) Returns ActionDef objects segment.getActionDefs(net.anotheria.util.sorter.SortType sortType) Returns all ActionDefs objects sorted by given sortType.getActionDefsByProperty(String propertyName, Object value) Returns all ActionDef objects, where property with given name equals object.getActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all ActionDef objects, where property with given name equals object, sorted.getActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionDef objects, where property matches.getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionDef objects segment, where property matched.getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionDef objects segment, where property matched, sorted.getActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionDef objects, where property matches, sortedintReturns ActionDef objects count.importActionDef(ActionDef actiondef) Imports a new ActionDef object.importActionDefs(List<ActionDef> list) Imports multiple new ActionDef object.updateActionDef(ActionDef actiondef) Updates a ActionDef object.updateActionDefs(List<ActionDef> list) Updates multiple new ActionDef objects.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, getImagesServiceMethods inherited from class net.anotheria.asg.service.AbstractASGService
addServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Field Details
-
ID_DELIMITER
public static final char ID_DELIMITER- See Also:
-
ID_PREFIX_G
- See Also:
-
ID_PREFIX_C
- See Also:
-
-
Method Details
-
getActionDefs
Description copied from interface:IASActionServiceReturns all ActionDefs objects stored.- Specified by:
getActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefs
public List<ActionDef> getActionDefs(net.anotheria.util.sorter.SortType sortType) throws ASActionServiceException Description copied from interface:IASActionServiceReturns all ActionDefs objects sorted by given sortType.- Specified by:
getActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
deleteActionDef
Description copied from interface:IASActionServiceDeletes a ActionDef object.- Specified by:
deleteActionDefin interfaceIASActionService- Throws:
ASActionServiceException
-
deleteActionDef
Description copied from interface:IASActionServiceDeletes a ActionDef object by id.- Specified by:
deleteActionDefin interfaceIASActionService- Throws:
ASActionServiceException
-
deleteActionDefs
Deletes multiple ActionDef objects.- Specified by:
deleteActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDef
Description copied from interface:IASActionServiceReturns the ActionDef object with the specified id.- Specified by:
getActionDefin interfaceIASActionService- Throws:
ASActionServiceException
-
importActionDef
Description copied from interface:IASActionServiceImports a new ActionDef object. Returns the created version.- Specified by:
importActionDefin interfaceIASActionService- Throws:
ASActionServiceException
-
importActionDefs
Description copied from interface:IASActionServiceImports multiple new ActionDef object. Returns the created versions.- Specified by:
importActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
createActionDef
Description copied from interface:IASActionServiceCreates a new ActionDef object. Returns the created version.- Specified by:
createActionDefin interfaceIASActionService- Throws:
ASActionServiceException
-
createActionDefs
Creates multiple new ActionDef objects. Returns the created versions.- Specified by:
createActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
updateActionDefs
Updates multiple new ActionDef objects. Returns the updated versions.- Specified by:
updateActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
updateActionDef
Description copied from interface:IASActionServiceUpdates a ActionDef object. Returns the updated version.- Specified by:
updateActionDefin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefsByProperty
public List<ActionDef> getActionDefsByProperty(String propertyName, Object value) throws ASActionServiceException Description copied from interface:IASActionServiceReturns all ActionDef objects, where property with given name equals object.- Specified by:
getActionDefsByPropertyin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefsByProperty
public List<ActionDef> getActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASActionServiceException Description copied from interface:IASActionServiceReturns all ActionDef objects, where property with given name equals object, sorted.- Specified by:
getActionDefsByPropertyin interfaceIASActionService- Throws:
ASActionServiceException
-
executeQueryOnActionDefs
public net.anotheria.anodoc.query2.QueryResult executeQueryOnActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASActionServiceException Executes a query on ActionDefs- Specified by:
executeQueryOnActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefsByProperty
public List<ActionDef> getActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASActionServiceException Returns all ActionDef objects, where property matches.- Specified by:
getActionDefsByPropertyin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefsByProperty
public List<ActionDef> getActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASActionServiceException Returns all ActionDef objects, where property matches, sorted- Specified by:
getActionDefsByPropertyin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefsCount
Returns ActionDef objects count.- Specified by:
getActionDefsCountin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefs
public List<ActionDef> getActionDefs(net.anotheria.util.slicer.Segment aSegment) throws ASActionServiceException Returns ActionDef objects segment.- Specified by:
getActionDefsin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefsByProperty
public List<ActionDef> getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASActionServiceException Returns ActionDef objects segment, where property matched.- Specified by:
getActionDefsByPropertyin interfaceIASActionService- Throws:
ASActionServiceException
-
getActionDefsByProperty
public List<ActionDef> getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASActionServiceException Returns ActionDef objects segment, where property matched, sorted.- Specified by:
getActionDefsByPropertyin interfaceIASActionService- Throws:
ASActionServiceException
-
exportActionDefsToXML
Description copied from interface:IASActionServiceCreates an xml element with selected contained data.- Specified by:
exportActionDefsToXMLin interfaceIASActionService
-
exportActionDefsToXML
public net.anotheria.util.xml.XMLNode exportActionDefsToXML(String[] languages, List<ActionDef> listActionDefs) throws ASActionServiceException - Throws:
ASActionServiceException
-
fetchActionDef
public void fetchActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASActionServiceException Description copied from interface:IASActionServiceCreate json object list dependencies for this ActionDef document.- Specified by:
fetchActionDefin interfaceIASActionService- Throws:
ASActionServiceException
-
executeQueryOnAllObjects
public net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASActionServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service- Specified by:
executeQueryOnAllObjectsin interfaceIASActionService- Throws:
ASActionServiceException
-
exportToXML
Description copied from interface:IASActionServicecreates an xml element with all contained data.- Specified by:
exportToXMLin interfaceIASActionService- Throws:
ASActionServiceException
-
exportToXML
public net.anotheria.util.xml.XMLNode exportToXML(String[] languages) throws ASActionServiceException - Throws:
ASActionServiceException
-