Class RemoveUserLinkAction
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.apache.cocoon.acting.AbstractAction
 - 
- org.apache.cocoon.acting.ServiceableAction
 - 
- org.ametys.plugins.linkdirectory.link.RemoveUserLinkAction
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,Action
public class RemoveUserLinkAction extends ServiceableAction
Removes a user link in Ametys. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected CurrentUserProvider_currentUserProviderThe current user providerprotected JSONUtils_jsonUtilsThe JSON utilsprotected LinkDAO_linkDAOThe DAO forLinks- 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager 
- 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RemoveUserLinkAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private List<String>_deleteLinks(Request request, List<String> ids)Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidservice(ServiceManager smanager)- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_currentUserProvider
protected CurrentUserProvider _currentUserProvider
The current user provider 
- 
_jsonUtils
protected JSONUtils _jsonUtils
The JSON utils 
 - 
 
- 
Constructor Detail
- 
RemoveUserLinkAction
public RemoveUserLinkAction()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classServiceableAction- Throws:
 ServiceException
 
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
 Exception
 
 - 
 
 -