Interface AttributeSetService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- AttributeSetServiceImpl
@RemoteServiceRelativePath("attributeset")
public interface AttributeSetService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the AttributeSet Service. This service gives all
 needed methods to handle attribute sets
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyAllToTemplates(long setId, String attribute) Forces all the settings of an attribute to all those templates that use itvoidapplyInitializationToTemplates(long setId, String attribute) Forces the initialization of an attribute to all those templates that use itvoidapplyValidationToTemplates(long setId, String attribute) Forces the validation of an attribute to all those templates that use itvoiddelete(long setId) Deletes a given setvoiddeleteOptions(long setId, String attribute, List<String> values) Delete a selection of optionsgetAttributeSet(long setId) Loads a given set from the databaseLoads all the sets from the databaseparseOptions(long setId, String attribute) Reads the contacts that are about to be imported from CSVsave(GUIAttributeSet set) Creates or updates a setvoidsaveOptions(long setId, String attribute, List<GUIValue> options) Saves the list of all possible options
- 
Method Details- 
deleteDeletes a given set- Parameters:
- setId- identifier of the set
- Throws:
- ServerException- an error happened in the server application
 
- 
saveCreates or updates a set- Parameters:
- set- the set to save
- Returns:
- the saved set
- Throws:
- ServerException- an error happened in the server application
 
- 
getAttributeSetLoads a given set from the database- Parameters:
- setId- identifier of the set
- Returns:
- the set retrieved from the server
- Throws:
- ServerException- an error happened in the server application
 
- 
getAttributeSetsLoads all the sets from the database- Returns:
- the sets retrieved from the server
- Throws:
- ServerException- an error happened in the server application
 
- 
saveOptionsSaves the list of all possible options- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- options- possible options
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteOptionsDelete a selection of options- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- values- collectiojn of options to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
parseOptionsReads the contacts that are about to be imported from CSV- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- Returns:
- array of options
- Throws:
- ServerException- an error happened in the server application
 
- 
applyAllToTemplatesForces all the settings of an attribute to all those templates that use it- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- Throws:
- ServerException- an error happened in the server application
 
- 
applyValidationToTemplatesForces the validation of an attribute to all those templates that use it- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- Throws:
- ServerException- an error happened in the server application
 
- 
applyInitializationToTemplatesForces the initialization of an attribute to all those templates that use it- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- Throws:
- ServerException- an error happened in the server application
 
 
-