Class AddOrUpdateResource
java.lang.Object
org.ametys.plugins.explorer.resources.AddOrUpdateResource
- All Implemented Interfaces:
 Component,Contextualizable,Serviceable
Adding or updating a resource file.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AddOrUpdateResourceHelperresource operation helperprotected ContextThe avalon contextstatic final StringAvalon Role - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionAdd, add and rename or update a resourcevoidcontextualize(Context context) voidservice(ServiceManager serviceManager)  
- 
Field Details
- 
ROLE
Avalon Role - 
_addOrUpdateResourceHelper
resource operation helper - 
_context
The avalon context 
 - 
 - 
Constructor Details
- 
AddOrUpdateResource
public AddOrUpdateResource() 
 - 
 - 
Method Details
- 
service
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 - 
contextualize
- Specified by:
 contextualizein interfaceContextualizable- Throws:
 ContextException
 - 
addOrUpdateResources
Add, add and rename or update a resource- Parameters:
 parentId- The id of the collection parentrawMode- The modeunzip- If there is an unzip to be doneparts- The parts to import- Returns:
 - The results
 
 
 -