public class DefaultExtendableResourceService extends Object implements IDefaultExtendableResourceService
IExtendableResource
:
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE.
|
Constructor and Description |
---|
DefaultExtendableResourceService() |
Modifier and Type | Method and Description |
---|---|
void |
create(fr.paris.lutece.portal.service.resource.IExtendableResource resource)
Creates default resource.
|
fr.paris.lutece.portal.service.resource.IExtendableResource |
getResource(String strIdResource,
String strResourceType) |
String |
getResourceType() |
String |
getResourceTypeDescription(Locale locale) |
String |
getResourceUrl(String strIdResource,
String strResourceType) |
boolean |
isInvoked(String strResourceType) |
void |
remove(String strIdResource,
String strResourceType)
Delete.
|
void |
update(fr.paris.lutece.portal.service.resource.IExtendableResource resource)
Update.
|
public static final String BEAN_SERVICE
public boolean isInvoked(String strResourceType)
isInvoked
in interface fr.paris.lutece.portal.service.resource.IExtendableResourceService
public fr.paris.lutece.portal.service.resource.IExtendableResource getResource(String strIdResource, String strResourceType)
getResource
in interface fr.paris.lutece.portal.service.resource.IExtendableResourceService
@Transactional(value="extend.transactionManager") public void create(fr.paris.lutece.portal.service.resource.IExtendableResource resource)
create
in interface IDefaultExtendableResourceService
resource
- the resource@Transactional(value="extend.transactionManager") public void update(fr.paris.lutece.portal.service.resource.IExtendableResource resource)
update
in interface IDefaultExtendableResourceService
resource
- the resource@Transactional(value="extend.transactionManager") public void remove(String strIdResource, String strResourceType)
remove
in interface IDefaultExtendableResourceService
strIdResource
- the str id resourcestrResourceType
- the str resource typepublic String getResourceType()
getResourceType
in interface fr.paris.lutece.portal.service.resource.IExtendableResourceService
public String getResourceTypeDescription(Locale locale)
getResourceTypeDescription
in interface fr.paris.lutece.portal.service.resource.IExtendableResourceService
Copyright © 2017 City of Paris. All rights reserved.