Package com.logicaldoc.web.service
Class TagServiceImpl
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
- com.google.gwt.user.server.rpc.RemoteServiceServlet
-
- com.logicaldoc.web.service.TagServiceImpl
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,TagService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class TagServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements TagService
Implementation of the TagService- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.TagService
TagService.Instance
-
-
Constructor Summary
Constructors Constructor Description TagServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTag(String tag)
Adds a new tag in the list of available tagsvoid
delete(String tag)
Deletes an existing tagGUIParameter[]
getSettings()
Gets the tag settingsGUITag[]
getTagCloud()
Loads the tag cloud from the servervoid
removeTag(String tag)
Removes an available from the list of available tagsvoid
rename(String tag, String newTag)
Rename an existing tag to another label-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
-
-
-
-
Method Detail
-
getTagCloud
public GUITag[] getTagCloud() throws ServerException
Description copied from interface:TagService
Loads the tag cloud from the server- Specified by:
getTagCloud
in interfaceTagService
- Returns:
- the tag cloud
- Throws:
ServerException
- an error happened in the server application
-
delete
public void delete(String tag)
Description copied from interface:TagService
Deletes an existing tag- Specified by:
delete
in interfaceTagService
- Parameters:
tag
- the tag to delete
-
rename
public void rename(String tag, String newTag)
Description copied from interface:TagService
Rename an existing tag to another label- Specified by:
rename
in interfaceTagService
- Parameters:
tag
- the actual tagnewTag
- the new tag
-
addTag
public void addTag(String tag) throws ServerException
Description copied from interface:TagService
Adds a new tag in the list of available tags- Specified by:
addTag
in interfaceTagService
- Parameters:
tag
- the tag to add- Throws:
ServerException
- an error happened in the server application
-
removeTag
public void removeTag(String tag) throws ServerException
Description copied from interface:TagService
Removes an available from the list of available tags- Specified by:
removeTag
in interfaceTagService
- Parameters:
tag
- the tag to remove- Throws:
ServerException
- an error happened in the server application
-
getSettings
public GUIParameter[] getSettings() throws ServerException
Description copied from interface:TagService
Gets the tag settings- Specified by:
getSettings
in interfaceTagService
- Returns:
- tag settings
- Throws:
ServerException
- an error happened in the server application
-
-