Class ASCustomActionServiceImpl
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.ascustomaction.service.ASCustomActionServiceImpl
- All Implemented Interfaces:
net.anotheria.anoprise.metafactory.Service,IASCustomActionService,net.anotheria.asg.service.ASGService,net.anotheria.asg.util.listener.IModuleListener
public class ASCustomActionServiceImpl
extends BasicCMSService
implements IASCustomActionService, net.anotheria.asg.util.listener.IModuleListener
-
Field Summary
Fields inherited from class net.anotheria.anosite.gen.shared.service.BasicCMSService
MY_OWNER_ID, serviceFields inherited from class net.anotheria.anosite.gen.shared.service.BasicService
log -
Method Summary
Modifier and TypeMethodDescriptioncreateActionMappingDef(ActionMappingDef actionmappingdef) Creates a new ActionMappingDef object.Creates multiple new ActionMappingDef objects.createCustomActionDef(CustomActionDef customactiondef) Creates a new CustomActionDef object.Creates multiple new CustomActionDef objects.voidDeletes a ActionMappingDef object by id.voiddeleteActionMappingDef(ActionMappingDef actionmappingdef) Deletes a ActionMappingDef object.voidDeletes multiple ActionMappingDef object.voidDeletes a CustomActionDef object by id.voiddeleteCustomActionDef(CustomActionDef customactiondef) Deletes a CustomActionDef object.voidDeletes multiple CustomActionDef object.voidexecuteParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) Save transferred document by its own type.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnActionMappingDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on ActionMappingDefsnet.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.QueryResultexecuteQueryOnCustomActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on CustomActionDefsnet.anotheria.util.xml.XMLNodenet.anotheria.util.xml.XMLNodeCreates an xml element with selected contained data.net.anotheria.util.xml.XMLNodenet.anotheria.util.xml.XMLNodeCreates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchActionMappingDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this ActionMappingDef document.voidfetchCustomActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this CustomActionDef document.Returns the ActionMappingDef object with the specified id.Returns all ActionMappingDefs objects stored.getActionMappingDefs(List<String> ids) Returns the ActionMappingDef objects with the specified ids.getActionMappingDefs(List<String> ids, net.anotheria.util.sorter.SortType sortType) Returns the ActionMappingDef objects with the specified ids, sorted by given sorttype.getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment) Returns ActionMappingDef objects segment.getActionMappingDefs(net.anotheria.util.sorter.SortType sortType) Returns all ActionMappingDefs objects sorted by given sortType.getActionMappingDefsByProperty(String propertyName, Object value) Returns all ActionMappingDef objects, where property with given name equals object.getActionMappingDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all ActionMappingDef objects, where property with given name equals object, sorted.getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionMappingDef objects, where property matches.getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property) Returns ActionMappingDef objects segment, where property matched.getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionMappingDef objects segment, where property matched, sorted.getActionMappingDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionMappingDef objects, where property matches, sortedintReturns ActionMappingDef objects count.Returns the CustomActionDef object with the specified id.Returns all CustomActionDefs objects stored.getCustomActionDefs(List<String> ids) Returns the CustomActionDef objects with the specified ids.getCustomActionDefs(List<String> ids, net.anotheria.util.sorter.SortType sortType) Returns the CustomActionDef objects with the specified ids, sorted by given sorttype.getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment) Returns CustomActionDef objects segment.getCustomActionDefs(net.anotheria.util.sorter.SortType sortType) Returns all CustomActionDefs objects sorted by given sortType.getCustomActionDefsByProperty(String propertyName, Object value) Returns all CustomActionDef objects, where property with given name equals object.getCustomActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all CustomActionDef objects, where property with given name equals object, sorted.getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all CustomActionDef objects, where property matches.getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property) Returns CustomActionDef objects segment, where property matched.getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns CustomActionDef objects segment, where property matched, sorted.getCustomActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all CustomActionDef objects, where property matches, sortedintReturns CustomActionDef objects count.importActionMappingDef(ActionMappingDef actionmappingdef) Imports a new ActionMappingDef object.Imports multiple new ActionMappingDef object.importCustomActionDef(CustomActionDef customactiondef) Imports a new CustomActionDef object.Imports multiple new CustomActionDef object.voidmoduleLoaded(net.anotheria.anodoc.data.Module module) updateActionMappingDef(ActionMappingDef actionmappingdef) Updates a ActionMappingDef object.Updates multiple ActionMappingDef objects.updateCustomActionDef(CustomActionDef customactiondef) Updates a CustomActionDef object.Updates multiple CustomActionDef objects.Methods inherited from class net.anotheria.anosite.gen.shared.service.BasicCMSService
addModuleListener, getModule, updateModuleMethods 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
-
Method Details
-
moduleLoaded
public void moduleLoaded(net.anotheria.anodoc.data.Module module) - Specified by:
moduleLoadedin interfacenet.anotheria.asg.util.listener.IModuleListener
-
getCustomActionDefs
Description copied from interface:IASCustomActionServiceReturns all CustomActionDefs objects stored.- Specified by:
getCustomActionDefsin interfaceIASCustomActionService
-
getCustomActionDefs
Description copied from interface:IASCustomActionServiceReturns all CustomActionDefs objects sorted by given sortType.- Specified by:
getCustomActionDefsin interfaceIASCustomActionService
-
getCustomActionDefs
Returns the CustomActionDef objects with the specified ids. -
getCustomActionDefs
public List<CustomActionDef> getCustomActionDefs(List<String> ids, net.anotheria.util.sorter.SortType sortType) Returns the CustomActionDef objects with the specified ids, sorted by given sorttype. -
deleteCustomActionDef
Description copied from interface:IASCustomActionServiceDeletes a CustomActionDef object.- Specified by:
deleteCustomActionDefin interfaceIASCustomActionService
-
deleteCustomActionDef
Description copied from interface:IASCustomActionServiceDeletes a CustomActionDef object by id.- Specified by:
deleteCustomActionDefin interfaceIASCustomActionService
-
deleteCustomActionDefs
Description copied from interface:IASCustomActionServiceDeletes multiple CustomActionDef object.- Specified by:
deleteCustomActionDefsin interfaceIASCustomActionService
-
getCustomActionDef
Description copied from interface:IASCustomActionServiceReturns the CustomActionDef object with the specified id.- Specified by:
getCustomActionDefin interfaceIASCustomActionService
-
importCustomActionDef
Description copied from interface:IASCustomActionServiceImports a new CustomActionDef object. Returns the created version.- Specified by:
importCustomActionDefin interfaceIASCustomActionService
-
importCustomActionDefs
Description copied from interface:IASCustomActionServiceImports multiple new CustomActionDef object. Returns the created versions.- Specified by:
importCustomActionDefsin interfaceIASCustomActionService
-
createCustomActionDef
Description copied from interface:IASCustomActionServiceCreates a new CustomActionDef object. Returns the created version.- Specified by:
createCustomActionDefin interfaceIASCustomActionService
-
createCustomActionDefs
Description copied from interface:IASCustomActionServiceCreates multiple new CustomActionDef objects. Returns the created versions.- Specified by:
createCustomActionDefsin interfaceIASCustomActionService
-
updateCustomActionDef
Description copied from interface:IASCustomActionServiceUpdates a CustomActionDef object. Returns the updated version.- Specified by:
updateCustomActionDefin interfaceIASCustomActionService
-
updateCustomActionDefs
Description copied from interface:IASCustomActionServiceUpdates multiple CustomActionDef objects. Returns the updated versions.- Specified by:
updateCustomActionDefsin interfaceIASCustomActionService
-
getCustomActionDefsByProperty
Description copied from interface:IASCustomActionServiceReturns all CustomActionDef objects, where property with given name equals object.- Specified by:
getCustomActionDefsByPropertyin interfaceIASCustomActionService
-
getCustomActionDefsByProperty
public List<CustomActionDef> getCustomActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Description copied from interface:IASCustomActionServiceReturns all CustomActionDef objects, where property with given name equals object, sorted.- Specified by:
getCustomActionDefsByPropertyin interfaceIASCustomActionService
-
executeQueryOnCustomActionDefs
public net.anotheria.anodoc.query2.QueryResult executeQueryOnCustomActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on CustomActionDefs- Specified by:
executeQueryOnCustomActionDefsin interfaceIASCustomActionService
-
getCustomActionDefsByProperty
public List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all CustomActionDef objects, where property matches.- Specified by:
getCustomActionDefsByPropertyin interfaceIASCustomActionService
-
getCustomActionDefsByProperty
public List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all CustomActionDef objects, where property matches, sorted- Specified by:
getCustomActionDefsByPropertyin interfaceIASCustomActionService
-
getCustomActionDefsCount
public int getCustomActionDefsCount()Returns CustomActionDef objects count.- Specified by:
getCustomActionDefsCountin interfaceIASCustomActionService
-
getCustomActionDefs
Returns CustomActionDef objects segment.- Specified by:
getCustomActionDefsin interfaceIASCustomActionService
-
getCustomActionDefsByProperty
public List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property) Returns CustomActionDef objects segment, where property matched.- Specified by:
getCustomActionDefsByPropertyin interfaceIASCustomActionService
-
getCustomActionDefsByProperty
public List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns CustomActionDef objects segment, where property matched, sorted.- Specified by:
getCustomActionDefsByPropertyin interfaceIASCustomActionService
-
fetchCustomActionDef
public void fetchCustomActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASCustomActionServiceException Description copied from interface:IASCustomActionServiceCreate json object list dependencies for this CustomActionDef document.- Specified by:
fetchCustomActionDefin interfaceIASCustomActionService- Throws:
ASCustomActionServiceException
-
getActionMappingDefs
Description copied from interface:IASCustomActionServiceReturns all ActionMappingDefs objects stored.- Specified by:
getActionMappingDefsin interfaceIASCustomActionService
-
getActionMappingDefs
Description copied from interface:IASCustomActionServiceReturns all ActionMappingDefs objects sorted by given sortType.- Specified by:
getActionMappingDefsin interfaceIASCustomActionService
-
getActionMappingDefs
Returns the ActionMappingDef objects with the specified ids. -
getActionMappingDefs
public List<ActionMappingDef> getActionMappingDefs(List<String> ids, net.anotheria.util.sorter.SortType sortType) Returns the ActionMappingDef objects with the specified ids, sorted by given sorttype. -
deleteActionMappingDef
Description copied from interface:IASCustomActionServiceDeletes a ActionMappingDef object.- Specified by:
deleteActionMappingDefin interfaceIASCustomActionService
-
deleteActionMappingDef
Description copied from interface:IASCustomActionServiceDeletes a ActionMappingDef object by id.- Specified by:
deleteActionMappingDefin interfaceIASCustomActionService
-
deleteActionMappingDefs
Description copied from interface:IASCustomActionServiceDeletes multiple ActionMappingDef object.- Specified by:
deleteActionMappingDefsin interfaceIASCustomActionService
-
getActionMappingDef
Description copied from interface:IASCustomActionServiceReturns the ActionMappingDef object with the specified id.- Specified by:
getActionMappingDefin interfaceIASCustomActionService
-
importActionMappingDef
Description copied from interface:IASCustomActionServiceImports a new ActionMappingDef object. Returns the created version.- Specified by:
importActionMappingDefin interfaceIASCustomActionService
-
importActionMappingDefs
Description copied from interface:IASCustomActionServiceImports multiple new ActionMappingDef object. Returns the created versions.- Specified by:
importActionMappingDefsin interfaceIASCustomActionService
-
createActionMappingDef
Description copied from interface:IASCustomActionServiceCreates a new ActionMappingDef object. Returns the created version.- Specified by:
createActionMappingDefin interfaceIASCustomActionService
-
createActionMappingDefs
Description copied from interface:IASCustomActionServiceCreates multiple new ActionMappingDef objects. Returns the created versions.- Specified by:
createActionMappingDefsin interfaceIASCustomActionService
-
updateActionMappingDef
Description copied from interface:IASCustomActionServiceUpdates a ActionMappingDef object. Returns the updated version.- Specified by:
updateActionMappingDefin interfaceIASCustomActionService
-
updateActionMappingDefs
Description copied from interface:IASCustomActionServiceUpdates multiple ActionMappingDef objects. Returns the updated versions.- Specified by:
updateActionMappingDefsin interfaceIASCustomActionService
-
getActionMappingDefsByProperty
Description copied from interface:IASCustomActionServiceReturns all ActionMappingDef objects, where property with given name equals object.- Specified by:
getActionMappingDefsByPropertyin interfaceIASCustomActionService
-
getActionMappingDefsByProperty
public List<ActionMappingDef> getActionMappingDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Description copied from interface:IASCustomActionServiceReturns all ActionMappingDef objects, where property with given name equals object, sorted.- Specified by:
getActionMappingDefsByPropertyin interfaceIASCustomActionService
-
executeQueryOnActionMappingDefs
public net.anotheria.anodoc.query2.QueryResult executeQueryOnActionMappingDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query on ActionMappingDefs- Specified by:
executeQueryOnActionMappingDefsin interfaceIASCustomActionService
-
getActionMappingDefsByProperty
public List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionMappingDef objects, where property matches.- Specified by:
getActionMappingDefsByPropertyin interfaceIASCustomActionService
-
getActionMappingDefsByProperty
public List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionMappingDef objects, where property matches, sorted- Specified by:
getActionMappingDefsByPropertyin interfaceIASCustomActionService
-
getActionMappingDefsCount
public int getActionMappingDefsCount()Returns ActionMappingDef objects count.- Specified by:
getActionMappingDefsCountin interfaceIASCustomActionService
-
getActionMappingDefs
Returns ActionMappingDef objects segment.- Specified by:
getActionMappingDefsin interfaceIASCustomActionService
-
getActionMappingDefsByProperty
public List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property) Returns ActionMappingDef objects segment, where property matched.- Specified by:
getActionMappingDefsByPropertyin interfaceIASCustomActionService
-
getActionMappingDefsByProperty
public List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionMappingDef objects segment, where property matched, sorted.- Specified by:
getActionMappingDefsByPropertyin interfaceIASCustomActionService
-
fetchActionMappingDef
public void fetchActionMappingDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASCustomActionServiceException Description copied from interface:IASCustomActionServiceCreate json object list dependencies for this ActionMappingDef document.- Specified by:
fetchActionMappingDefin interfaceIASCustomActionService- Throws:
ASCustomActionServiceException
-
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 interfaceIASCustomActionService
-
exportCustomActionDefsToXML
public net.anotheria.util.xml.XMLNode exportCustomActionDefsToXML() -
exportCustomActionDefsToXML
Description copied from interface:IASCustomActionServiceCreates an xml element with selected contained data.- Specified by:
exportCustomActionDefsToXMLin interfaceIASCustomActionService
-
exportActionMappingDefsToXML
public net.anotheria.util.xml.XMLNode exportActionMappingDefsToXML() -
exportActionMappingDefsToXML
Description copied from interface:IASCustomActionServiceCreates an xml element with selected contained data.- Specified by:
exportActionMappingDefsToXMLin interfaceIASCustomActionService
-
exportToXML
public net.anotheria.util.xml.XMLNode exportToXML()Description copied from interface:IASCustomActionServicecreates an xml element with all contained data.- Specified by:
exportToXMLin interfaceIASCustomActionService
-