Class DefaultExtendableResourceService
java.lang.Object
fr.paris.lutece.plugins.extend.service.DefaultExtendableResourceService
- All Implemented Interfaces:
IDefaultExtendableResourceService,fr.paris.lutece.portal.service.resource.IExtendableResourceService
@ApplicationScoped
@Named("extend.defaultExtendableResourceService")
public class DefaultExtendableResourceService
extends Object
implements IDefaultExtendableResourceService
Default service that is invoked when other IExtendableResourceService are not invoked. This service stores in database the information of the
IExtendableResource :
- id
- resourceType
- name
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(fr.paris.lutece.portal.service.resource.IExtendableResource resource) Creates default resource.fr.paris.lutece.portal.service.resource.IExtendableResourcegetResource(String strIdResource, String strResourceType) getResourceTypeDescription(Locale locale) getResourceUrl(String strIdResource, String strResourceType) booleanvoidDelete.voidupdate(fr.paris.lutece.portal.service.resource.IExtendableResource resource) Update.
-
Field Details
-
BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
-
-
Method Details
-
isInvoked
- Specified by:
isInvokedin interfacefr.paris.lutece.portal.service.resource.IExtendableResourceService
-
getResource
public fr.paris.lutece.portal.service.resource.IExtendableResource getResource(String strIdResource, String strResourceType) - Specified by:
getResourcein interfacefr.paris.lutece.portal.service.resource.IExtendableResourceService
-
create
public void create(fr.paris.lutece.portal.service.resource.IExtendableResource resource) Creates default resource.- Specified by:
createin interfaceIDefaultExtendableResourceService- Parameters:
resource- the resource
-
update
public void update(fr.paris.lutece.portal.service.resource.IExtendableResource resource) Update.- Specified by:
updatein interfaceIDefaultExtendableResourceService- Parameters:
resource- the resource
-
remove
Delete.- Specified by:
removein interfaceIDefaultExtendableResourceService- Parameters:
strIdResource- the str id resourcestrResourceType- the str resource type
-
getResourceType
- Specified by:
getResourceTypein interfacefr.paris.lutece.portal.service.resource.IExtendableResourceService
-
getResourceTypeDescription
- Specified by:
getResourceTypeDescriptionin interfacefr.paris.lutece.portal.service.resource.IExtendableResourceService
-
getResourceUrl
- Specified by:
getResourceUrlin interfacefr.paris.lutece.portal.service.resource.IExtendableResourceService
-