Package com.logicaldoc.web.service
Class AttributeSetServiceImpl
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.web.service.AttributeSetServiceImpl
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService,- com.google.gwt.user.server.rpc.SerializationPolicyProvider,- AttributeSetService,- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
Implementation of the AttributeSetService
- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.AttributeSetServiceAttributeSetService.Instance
- 
Field SummaryFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyAllToTemplates(long setId, String attributeName) 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 databasegetAttributeSet(String name) Loads all the sets from the databaseparseOptions(long setId, String attribute) Reads the contacts that are about to be imported from CSVsave(GUIAttributeSet guiAttributeSet) Creates or updates a setvoidsaveOptions(long setId, String attribute, List<GUIValue> values) Saves the list of all possible optionsMethods inherited from class com.logicaldoc.web.service.AbstractRemoteServicesetThreadRequestMethods inherited from class com.google.gwt.user.server.rpc.jakarta.RemoteServiceServletgetSerializationPolicy, init, processCall, processCall, processPostMethods inherited from class com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServletdoPostMethods inherited from class jakarta.servlet.http.HttpServletserviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
AttributeSetServiceImplpublic AttributeSetServiceImpl()
 
- 
- 
Method Details- 
deleteDescription copied from interface:AttributeSetServiceDeletes a given set- Specified by:
- deletein interface- AttributeSetService
- Parameters:
- setId- identifier of the set
- Throws:
- ServerException- an error happened in the server application
 
- 
saveOptionsDescription copied from interface:AttributeSetServiceSaves the list of all possible options- Specified by:
- saveOptionsin interface- AttributeSetService
- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- values- possible options
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteOptionsDescription copied from interface:AttributeSetServiceDelete a selection of options- Specified by:
- deleteOptionsin interface- AttributeSetService
- 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
 
- 
saveDescription copied from interface:AttributeSetServiceCreates or updates a set- Specified by:
- savein interface- AttributeSetService
- Parameters:
- guiAttributeSet- the set to save
- Returns:
- the saved set
- Throws:
- ServerException- an error happened in the server application
 
- 
getAttributeSet- Throws:
- ServerException
 
- 
getAttributeSetDescription copied from interface:AttributeSetServiceLoads a given set from the database- Specified by:
- getAttributeSetin interface- AttributeSetService
- Parameters:
- setId- identifier of the set
- Returns:
- the set retrieved from the server
- Throws:
- ServerException- an error happened in the server application
 
- 
getAttributeSetsDescription copied from interface:AttributeSetServiceLoads all the sets from the database- Specified by:
- getAttributeSetsin interface- AttributeSetService
- Returns:
- the sets retrieved from the server
- Throws:
- ServerException- an error happened in the server application
 
- 
parseOptionsDescription copied from interface:AttributeSetServiceReads the contacts that are about to be imported from CSV- Specified by:
- parseOptionsin interface- AttributeSetService
- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- Returns:
- array of options
- Throws:
- ServerException- an error happened in the server application
 
- 
applyValidationToTemplatesDescription copied from interface:AttributeSetServiceForces the validation of an attribute to all those templates that use it- Specified by:
- applyValidationToTemplatesin interface- AttributeSetService
- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- Throws:
- ServerException- an error happened in the server application
 
- 
applyInitializationToTemplatesDescription copied from interface:AttributeSetServiceForces the initialization of an attribute to all those templates that use it- Specified by:
- applyInitializationToTemplatesin interface- AttributeSetService
- Parameters:
- setId- identifier of the set
- attribute- name of the attribute
- Throws:
- ServerException- an error happened in the server application
 
- 
applyAllToTemplatesDescription copied from interface:AttributeSetServiceForces all the settings of an attribute to all those templates that use it- Specified by:
- applyAllToTemplatesin interface- AttributeSetService
- Parameters:
- setId- identifier of the set
- attributeName- name of the attribute
- Throws:
- ServerException- an error happened in the server application
 
 
-