public class ASCustomActionServiceImpl extends BasicCMSService implements IASCustomActionService, net.anotheria.asg.util.listener.IModuleListener
MY_OWNER_ID, servicelog| Modifier and Type | Method and Description |
|---|---|
ActionMappingDef |
createActionMappingDef(ActionMappingDef actionmappingdef)
Creates a new ActionMappingDef object.
|
java.util.List<ActionMappingDef> |
createActionMappingDefs(java.util.List<ActionMappingDef> list)
Creates multiple new ActionMappingDef objects.
|
CustomActionDef |
createCustomActionDef(CustomActionDef customactiondef)
Creates a new CustomActionDef object.
|
java.util.List<CustomActionDef> |
createCustomActionDefs(java.util.List<CustomActionDef> list)
Creates multiple new CustomActionDef objects.
|
void |
deleteActionMappingDef(ActionMappingDef actionmappingdef)
Deletes a ActionMappingDef object.
|
void |
deleteActionMappingDef(java.lang.String id)
Deletes a ActionMappingDef object by id.
|
void |
deleteActionMappingDefs(java.util.List<ActionMappingDef> list)
Deletes multiple ActionMappingDef object.
|
void |
deleteCustomActionDef(CustomActionDef customactiondef)
Deletes a CustomActionDef object.
|
void |
deleteCustomActionDef(java.lang.String id)
Deletes a CustomActionDef object by id.
|
void |
deleteCustomActionDefs(java.util.List<CustomActionDef> list)
Deletes multiple CustomActionDef object.
|
void |
executeParsingForDocument(DocumentName documentName,
org.codehaus.jettison.json.JSONObject data)
Save transferred document by its own type.
|
net.anotheria.anodoc.query2.QueryResult |
executeQueryOnActionMappingDefs(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on ActionMappingDefs
|
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 |
executeQueryOnCustomActionDefs(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on CustomActionDefs
|
net.anotheria.util.xml.XMLNode |
exportActionMappingDefsToXML() |
net.anotheria.util.xml.XMLNode |
exportActionMappingDefsToXML(java.util.List<ActionMappingDef> list)
Creates an xml element with selected contained data.
|
net.anotheria.util.xml.XMLNode |
exportCustomActionDefsToXML() |
net.anotheria.util.xml.XMLNode |
exportCustomActionDefsToXML(java.util.List<CustomActionDef> list)
Creates an xml element with selected contained data.
|
net.anotheria.util.xml.XMLNode |
exportToXML()
creates an xml element with all contained data.
|
void |
fetchActionMappingDef(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
Create json object list dependencies for this ActionMappingDef document.
|
void |
fetchCustomActionDef(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
Create json object list dependencies for this CustomActionDef document.
|
ActionMappingDef |
getActionMappingDef(java.lang.String id)
Returns the ActionMappingDef object with the specified id.
|
java.util.List<ActionMappingDef> |
getActionMappingDefs()
Returns all ActionMappingDefs objects stored.
|
java.util.List<ActionMappingDef> |
getActionMappingDefs(java.util.List<java.lang.String> ids)
Returns the ActionMappingDef objects with the specified ids.
|
java.util.List<ActionMappingDef> |
getActionMappingDefs(java.util.List<java.lang.String> ids,
net.anotheria.util.sorter.SortType sortType)
Returns the ActionMappingDef objects with the specified ids, sorted by given sorttype.
|
java.util.List<ActionMappingDef> |
getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment)
Returns ActionMappingDef objects segment.
|
java.util.List<ActionMappingDef> |
getActionMappingDefs(net.anotheria.util.sorter.SortType sortType)
Returns all ActionMappingDefs objects sorted by given sortType.
|
java.util.List<ActionMappingDef> |
getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
Returns all ActionMappingDef objects, where property matches.
|
java.util.List<ActionMappingDef> |
getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment,
net.anotheria.anodoc.query2.QueryProperty... property)
Returns ActionMappingDef objects segment, where property matched.
|
java.util.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.
|
java.util.List<ActionMappingDef> |
getActionMappingDefsByProperty(net.anotheria.util.sorter.SortType sortType,
net.anotheria.anodoc.query2.QueryProperty... property)
Returns all ActionMappingDef objects, where property matches, sorted
|
java.util.List<ActionMappingDef> |
getActionMappingDefsByProperty(java.lang.String propertyName,
java.lang.Object value)
Returns all ActionMappingDef objects, where property with given name equals object.
|
java.util.List<ActionMappingDef> |
getActionMappingDefsByProperty(java.lang.String propertyName,
java.lang.Object value,
net.anotheria.util.sorter.SortType sortType)
Returns all ActionMappingDef objects, where property with given name equals object, sorted.
|
int |
getActionMappingDefsCount()
Returns ActionMappingDef objects count.
|
CustomActionDef |
getCustomActionDef(java.lang.String id)
Returns the CustomActionDef object with the specified id.
|
java.util.List<CustomActionDef> |
getCustomActionDefs()
Returns all CustomActionDefs objects stored.
|
java.util.List<CustomActionDef> |
getCustomActionDefs(java.util.List<java.lang.String> ids)
Returns the CustomActionDef objects with the specified ids.
|
java.util.List<CustomActionDef> |
getCustomActionDefs(java.util.List<java.lang.String> ids,
net.anotheria.util.sorter.SortType sortType)
Returns the CustomActionDef objects with the specified ids, sorted by given sorttype.
|
java.util.List<CustomActionDef> |
getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment)
Returns CustomActionDef objects segment.
|
java.util.List<CustomActionDef> |
getCustomActionDefs(net.anotheria.util.sorter.SortType sortType)
Returns all CustomActionDefs objects sorted by given sortType.
|
java.util.List<CustomActionDef> |
getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
Returns all CustomActionDef objects, where property matches.
|
java.util.List<CustomActionDef> |
getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment,
net.anotheria.anodoc.query2.QueryProperty... property)
Returns CustomActionDef objects segment, where property matched.
|
java.util.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.
|
java.util.List<CustomActionDef> |
getCustomActionDefsByProperty(net.anotheria.util.sorter.SortType sortType,
net.anotheria.anodoc.query2.QueryProperty... property)
Returns all CustomActionDef objects, where property matches, sorted
|
java.util.List<CustomActionDef> |
getCustomActionDefsByProperty(java.lang.String propertyName,
java.lang.Object value)
Returns all CustomActionDef objects, where property with given name equals object.
|
java.util.List<CustomActionDef> |
getCustomActionDefsByProperty(java.lang.String propertyName,
java.lang.Object value,
net.anotheria.util.sorter.SortType sortType)
Returns all CustomActionDef objects, where property with given name equals object, sorted.
|
int |
getCustomActionDefsCount()
Returns CustomActionDef objects count.
|
ActionMappingDef |
importActionMappingDef(ActionMappingDef actionmappingdef)
Imports a new ActionMappingDef object.
|
java.util.List<ActionMappingDef> |
importActionMappingDefs(java.util.List<ActionMappingDef> list)
Imports multiple new ActionMappingDef object.
|
CustomActionDef |
importCustomActionDef(CustomActionDef customactiondef)
Imports a new CustomActionDef object.
|
java.util.List<CustomActionDef> |
importCustomActionDefs(java.util.List<CustomActionDef> list)
Imports multiple new CustomActionDef object.
|
void |
moduleLoaded(net.anotheria.anodoc.data.Module module) |
ActionMappingDef |
updateActionMappingDef(ActionMappingDef actionmappingdef)
Updates a ActionMappingDef object.
|
java.util.List<ActionMappingDef> |
updateActionMappingDefs(java.util.List<ActionMappingDef> list)
Updates multiple ActionMappingDef objects.
|
CustomActionDef |
updateCustomActionDef(CustomActionDef customactiondef)
Updates a CustomActionDef object.
|
java.util.List<CustomActionDef> |
updateCustomActionDefs(java.util.List<CustomActionDef> list)
Updates multiple CustomActionDef 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<CustomActionDef> getCustomActionDefs()
IASCustomActionServicegetCustomActionDefs in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefs(net.anotheria.util.sorter.SortType sortType)
IASCustomActionServicegetCustomActionDefs in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefs(java.util.List<java.lang.String> ids)
public java.util.List<CustomActionDef> getCustomActionDefs(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
public void deleteCustomActionDef(CustomActionDef customactiondef)
IASCustomActionServicedeleteCustomActionDef in interface IASCustomActionServicepublic void deleteCustomActionDef(java.lang.String id)
IASCustomActionServicedeleteCustomActionDef in interface IASCustomActionServicepublic void deleteCustomActionDefs(java.util.List<CustomActionDef> list)
IASCustomActionServicedeleteCustomActionDefs in interface IASCustomActionServicepublic CustomActionDef getCustomActionDef(java.lang.String id)
IASCustomActionServicegetCustomActionDef in interface IASCustomActionServicepublic CustomActionDef importCustomActionDef(CustomActionDef customactiondef)
IASCustomActionServiceimportCustomActionDef in interface IASCustomActionServicepublic java.util.List<CustomActionDef> importCustomActionDefs(java.util.List<CustomActionDef> list)
IASCustomActionServiceimportCustomActionDefs in interface IASCustomActionServicepublic CustomActionDef createCustomActionDef(CustomActionDef customactiondef)
IASCustomActionServicecreateCustomActionDef in interface IASCustomActionServicepublic java.util.List<CustomActionDef> createCustomActionDefs(java.util.List<CustomActionDef> list)
IASCustomActionServicecreateCustomActionDefs in interface IASCustomActionServicepublic CustomActionDef updateCustomActionDef(CustomActionDef customactiondef)
IASCustomActionServiceupdateCustomActionDef in interface IASCustomActionServicepublic java.util.List<CustomActionDef> updateCustomActionDefs(java.util.List<CustomActionDef> list)
IASCustomActionServiceupdateCustomActionDefs in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefsByProperty(java.lang.String propertyName, java.lang.Object value)
IASCustomActionServicegetCustomActionDefsByProperty in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
IASCustomActionServicegetCustomActionDefsByProperty in interface IASCustomActionServicepublic net.anotheria.anodoc.query2.QueryResult executeQueryOnCustomActionDefs(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnCustomActionDefs in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
getCustomActionDefsByProperty in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
getCustomActionDefsByProperty in interface IASCustomActionServicepublic int getCustomActionDefsCount()
getCustomActionDefsCount in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment)
getCustomActionDefs in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
getCustomActionDefsByProperty in interface IASCustomActionServicepublic java.util.List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
getCustomActionDefsByProperty in interface IASCustomActionServicepublic void fetchCustomActionDef(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASCustomActionServiceException
IASCustomActionServicefetchCustomActionDef in interface IASCustomActionServiceASCustomActionServiceExceptionpublic java.util.List<ActionMappingDef> getActionMappingDefs()
IASCustomActionServicegetActionMappingDefs in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefs(net.anotheria.util.sorter.SortType sortType)
IASCustomActionServicegetActionMappingDefs in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefs(java.util.List<java.lang.String> ids)
public java.util.List<ActionMappingDef> getActionMappingDefs(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
public void deleteActionMappingDef(ActionMappingDef actionmappingdef)
IASCustomActionServicedeleteActionMappingDef in interface IASCustomActionServicepublic void deleteActionMappingDef(java.lang.String id)
IASCustomActionServicedeleteActionMappingDef in interface IASCustomActionServicepublic void deleteActionMappingDefs(java.util.List<ActionMappingDef> list)
IASCustomActionServicedeleteActionMappingDefs in interface IASCustomActionServicepublic ActionMappingDef getActionMappingDef(java.lang.String id)
IASCustomActionServicegetActionMappingDef in interface IASCustomActionServicepublic ActionMappingDef importActionMappingDef(ActionMappingDef actionmappingdef)
IASCustomActionServiceimportActionMappingDef in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> importActionMappingDefs(java.util.List<ActionMappingDef> list)
IASCustomActionServiceimportActionMappingDefs in interface IASCustomActionServicepublic ActionMappingDef createActionMappingDef(ActionMappingDef actionmappingdef)
IASCustomActionServicecreateActionMappingDef in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> createActionMappingDefs(java.util.List<ActionMappingDef> list)
IASCustomActionServicecreateActionMappingDefs in interface IASCustomActionServicepublic ActionMappingDef updateActionMappingDef(ActionMappingDef actionmappingdef)
IASCustomActionServiceupdateActionMappingDef in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> updateActionMappingDefs(java.util.List<ActionMappingDef> list)
IASCustomActionServiceupdateActionMappingDefs in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefsByProperty(java.lang.String propertyName, java.lang.Object value)
IASCustomActionServicegetActionMappingDefsByProperty in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
IASCustomActionServicegetActionMappingDefsByProperty in interface IASCustomActionServicepublic net.anotheria.anodoc.query2.QueryResult executeQueryOnActionMappingDefs(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnActionMappingDefs in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
getActionMappingDefsByProperty in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
getActionMappingDefsByProperty in interface IASCustomActionServicepublic int getActionMappingDefsCount()
getActionMappingDefsCount in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment)
getActionMappingDefs in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
getActionMappingDefsByProperty in interface IASCustomActionServicepublic java.util.List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
getActionMappingDefsByProperty in interface IASCustomActionServicepublic void fetchActionMappingDef(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASCustomActionServiceException
IASCustomActionServicefetchActionMappingDef in interface IASCustomActionServiceASCustomActionServiceExceptionpublic void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASCustomActionServiceException
IASCustomActionServiceexecuteParsingForDocument in interface IASCustomActionServiceASCustomActionServiceExceptionpublic net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnAllObjects in interface IASCustomActionServicepublic net.anotheria.util.xml.XMLNode exportCustomActionDefsToXML()
public net.anotheria.util.xml.XMLNode exportCustomActionDefsToXML(java.util.List<CustomActionDef> list)
IASCustomActionServiceexportCustomActionDefsToXML in interface IASCustomActionServicepublic net.anotheria.util.xml.XMLNode exportActionMappingDefsToXML()
public net.anotheria.util.xml.XMLNode exportActionMappingDefsToXML(java.util.List<ActionMappingDef> list)
IASCustomActionServiceexportActionMappingDefsToXML in interface IASCustomActionServicepublic net.anotheria.util.xml.XMLNode exportToXML()
IASCustomActionServiceexportToXML in interface IASCustomActionServiceCopyright © 2012-2023 anotheria.net. All Rights Reserved.