org.gcube.contentmanagement.timeseriesservice.calls.curation
Class CurationServiceCall

java.lang.Object
  extended by org.gcube.contentmanagement.timeseriesservice.calls.curation.CurationServiceCall

public class CurationServiceCall
extends Object


Constructor Summary
CurationServiceCall(org.apache.axis.message.addressing.EndpointReferenceType epr, org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager securityManager)
           
 
Method Summary
 void applyRules(String fieldId, org.gcube.contentmanagement.timeseriesservice.stubs.types.RuleItem[] ruleItems)
           
 long checkForDimension(String dimensionId, String fieldId, String keyId)
           
 long checkForRules(String fieldId, org.gcube.contentmanagement.timeseriesservice.stubs.types.FilterCondition[] filters)
           
 long checkForTypeChange(String fieldId, org.gcube.contentmanagement.timeseriesservice.stubs.types.DataType type)
           
 void closeEdit()
           
 void destroy()
           
 void editColumn(String fieldId, org.gcube.contentmanagement.timeseriesservice.stubs.types.DataType newType)
           
 void editDimension(String dimensionId, String fieldId, String keyId)
           
 void editRules(String fieldId)
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.RuleItem[] getApplyableRules(String fieldId)
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.RuleItem[] getApplyedRules(String fieldId)
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition getColumnInEditMode()
           
 String getDataAsJson(org.gcube.contentmanagement.timeseriesservice.stubs.types.SelectQuery query, boolean onlyErrors)
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition[] getDimensions()
           
 org.gcube.contentmanagement.timeseriesservice.stubs.ErrorPair[] getDistinctErrors()
           
 long getElementCount()
           
 long getErrorCount()
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.Status getInitializeEditingState()
           
 String getPossibleValuesAsJSon(String word)
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.GuessDimension[] guessDimension(String fieldId)
           
 boolean isInEditMode()
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.Status isUnderInitialization()
           
 void modifyEntryById(String fieldId, String newId, long rowId)
           
 void modifyEntryByValue(String fieldId, String newValue, long rowId)
           
 void removeAllErrors()
           
 void removeApplyedRules(String fieldId)
           
 void removeColumn(String fieldId)
           
 void removeError(long rowId)
           
 void replaceEntryId(String oldId, String newId, String fieldId)
           
 void replaceEntryValue(String oldValue, String newValue, String fieldId)
           
 void replaceEntryValueWithId(String oldValue, String newId, String fieldId)
           
 void saveColumnDefinition()
           
 void setColumnAsAttribute(String fieldId)
           
 void setColumnAsUndefined(String fieldId)
           
 void setColumnAsValue(String fieldId)
           
 void setLabel(String fieldId, String newLabel)
           
 void setProperties(String description, String publisher, String rights, String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurationServiceCall

public CurationServiceCall(org.apache.axis.message.addressing.EndpointReferenceType epr,
                           org.gcube.common.core.scope.GCUBEScope scope,
                           org.gcube.common.core.security.GCUBESecurityManager securityManager)
                    throws Exception
Throws:
Exception
Method Detail

editDimension

public void editDimension(String dimensionId,
                          String fieldId,
                          String keyId)
                   throws Exception
Throws:
Exception

editColumn

public void editColumn(String fieldId,
                       org.gcube.contentmanagement.timeseriesservice.stubs.types.DataType newType)
                throws Exception
Throws:
Exception

editRules

public void editRules(String fieldId)
               throws Exception
Throws:
Exception

getElementCount

public long getElementCount()
                     throws Exception
Throws:
Exception

getDataAsJson

public String getDataAsJson(org.gcube.contentmanagement.timeseriesservice.stubs.types.SelectQuery query,
                            boolean onlyErrors)
                     throws Exception
Throws:
Exception

getErrorCount

public long getErrorCount()
                   throws Exception
Throws:
Exception

getDimensions

public org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition[] getDimensions()
                                                                                           throws Exception
Throws:
Exception

checkForDimension

public long checkForDimension(String dimensionId,
                              String fieldId,
                              String keyId)
                       throws Exception
Throws:
Exception

checkForRules

public long checkForRules(String fieldId,
                          org.gcube.contentmanagement.timeseriesservice.stubs.types.FilterCondition[] filters)
                   throws Exception
Throws:
Exception

checkForTypeChange

public long checkForTypeChange(String fieldId,
                               org.gcube.contentmanagement.timeseriesservice.stubs.types.DataType type)
                        throws Exception
Throws:
Exception

setLabel

public void setLabel(String fieldId,
                     String newLabel)
              throws Exception
Throws:
Exception

saveColumnDefinition

public void saveColumnDefinition()
                          throws Exception
Throws:
Exception

closeEdit

public void closeEdit()
               throws Exception
Throws:
Exception

removeAllErrors

public void removeAllErrors()
                     throws Exception
Throws:
Exception

removeError

public void removeError(long rowId)
                 throws Exception
Throws:
Exception

isInEditMode

public boolean isInEditMode()
                     throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception

isUnderInitialization

public org.gcube.contentmanagement.timeseriesservice.stubs.types.Status isUnderInitialization()
                                                                                       throws Exception
Throws:
Exception

guessDimension

public org.gcube.contentmanagement.timeseriesservice.stubs.types.GuessDimension[] guessDimension(String fieldId)
                                                                                          throws Exception
Throws:
Exception

getInitializeEditingState

public org.gcube.contentmanagement.timeseriesservice.stubs.types.Status getInitializeEditingState()
                                                                                           throws Exception
Throws:
Exception

setColumnAsAttribute

public void setColumnAsAttribute(String fieldId)
                          throws Exception
Throws:
Exception

setColumnAsUndefined

public void setColumnAsUndefined(String fieldId)
                          throws Exception
Throws:
Exception

setColumnAsValue

public void setColumnAsValue(String fieldId)
                      throws Exception
Throws:
Exception

getColumnInEditMode

public org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition getColumnInEditMode()
                                                                                               throws Exception
Throws:
Exception

removeColumn

public void removeColumn(String fieldId)
                  throws Exception
Throws:
Exception

replaceEntryId

public void replaceEntryId(String oldId,
                           String newId,
                           String fieldId)
                    throws Exception
Throws:
Exception

replaceEntryValue

public void replaceEntryValue(String oldValue,
                              String newValue,
                              String fieldId)
                       throws Exception
Throws:
Exception

modifyEntryByValue

public void modifyEntryByValue(String fieldId,
                               String newValue,
                               long rowId)
                        throws Exception
Throws:
Exception

modifyEntryById

public void modifyEntryById(String fieldId,
                            String newId,
                            long rowId)
                     throws Exception
Throws:
Exception

replaceEntryValueWithId

public void replaceEntryValueWithId(String oldValue,
                                    String newId,
                                    String fieldId)
                             throws Exception
Throws:
Exception

getPossibleValuesAsJSon

public String getPossibleValuesAsJSon(String word)
                               throws Exception
Throws:
Exception

getDistinctErrors

public org.gcube.contentmanagement.timeseriesservice.stubs.ErrorPair[] getDistinctErrors()
                                                                                  throws Exception
Throws:
Exception

setProperties

public void setProperties(String description,
                          String publisher,
                          String rights,
                          String title)
                   throws Exception
Throws:
Exception

applyRules

public void applyRules(String fieldId,
                       org.gcube.contentmanagement.timeseriesservice.stubs.types.RuleItem[] ruleItems)
                throws Exception
Throws:
Exception

getApplyedRules

public org.gcube.contentmanagement.timeseriesservice.stubs.types.RuleItem[] getApplyedRules(String fieldId)
                                                                                     throws Exception
Throws:
Exception

getApplyableRules

public org.gcube.contentmanagement.timeseriesservice.stubs.types.RuleItem[] getApplyableRules(String fieldId)
                                                                                       throws Exception
Throws:
Exception

removeApplyedRules

public void removeApplyedRules(String fieldId)
                        throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.