|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.extend.service.DefaultExtendableResourceService
public class DefaultExtendableResourceService
Default service that is invoked when other IExtendableResourceService are not invoked.
This service stores in database the information of the IExtendableResource :
| Field Summary | |
|---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE. |
| Constructor Summary | |
|---|---|
DefaultExtendableResourceService()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_SERVICE
| Constructor Detail |
|---|
public DefaultExtendableResourceService()
| Method Detail |
|---|
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 IDefaultExtendableResourceServiceresource - the resource@Transactional(value="extend.transactionManager") public void update(fr.paris.lutece.portal.service.resource.IExtendableResource resource)
update in interface IDefaultExtendableResourceServiceresource - the resource
@Transactional(value="extend.transactionManager")
public void remove(String strIdResource,
String strResourceType)
remove in interface IDefaultExtendableResourceServicestrIdResource - the str id resourcestrResourceType - the str resource typepublic String getResourceType()
getResourceType in interface fr.paris.lutece.portal.service.resource.IExtendableResourceServicepublic String getResourceTypeDescription(Locale locale)
getResourceTypeDescription in interface fr.paris.lutece.portal.service.resource.IExtendableResourceService
public String getResourceUrl(String strIdResource,
String strResourceType)
getResourceUrl in interface fr.paris.lutece.portal.service.resource.IExtendableResourceService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||