Class ParserUtilService
- java.lang.Object
-
- net.anotheria.asg.service.AbstractASGService
-
- net.anotheria.anosite.gen.shared.service.BasicService
-
- net.anotheria.anosite.gen.shared.util.ParserUtilService
-
- All Implemented Interfaces:
net.anotheria.anoprise.metafactory.Service,net.anotheria.asg.service.ASGService
public class ParserUtilService extends BasicService
Util service for processing transferred documents.
-
-
Field Summary
-
Fields inherited from class net.anotheria.anosite.gen.shared.service.BasicService
log
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToQueueParsingDocuments(org.codehaus.jettison.json.JSONArray data)Add transferred objects to processing queue.protected voidexecuteParsingInServiceByName(ModuleName moduleName, DocumentName documentName, org.codehaus.jettison.json.JSONObject dataObject)static ParserUtilServicegetInstance()Get configuredParserUtilServiceinstance.-
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, getImagesService
-
-
-
-
Method Detail
-
getInstance
public static ParserUtilService getInstance()
Get configuredParserUtilServiceinstance.- Returns:
ParserUtilServiceinstance
-
addToQueueParsingDocuments
public void addToQueueParsingDocuments(org.codehaus.jettison.json.JSONArray data) throws java.lang.ExceptionAdd transferred objects to processing queue.- Parameters:
data-JSONArrayof documents- Throws:
java.lang.Exception- if any errors occurs
-
executeParsingInServiceByName
protected void executeParsingInServiceByName(ModuleName moduleName, DocumentName documentName, org.codehaus.jettison.json.JSONObject dataObject) throws net.anotheria.asg.exception.ASGRuntimeException
- Throws:
net.anotheria.asg.exception.ASGRuntimeException
-
-