|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceExtenderService
IResourceExtenderService
| Method Summary | |
|---|---|
void |
create(ResourceExtenderDTO extender)
Creates. |
void |
doCreateResourceAddOn(ResourceExtenderDTO resourceExtender)
Do create resource add on. |
void |
doDeleteResourceAddOn(ResourceExtenderDTO resourceExtender)
Do delete resource add on. |
List<ResourceExtenderDTO> |
findAll()
Find by id hub resource. |
List<ResourceExtenderDTO> |
findByFilter(ResourceExtenderDTOFilter filter)
Find by filter. |
List<ResourceExtenderDTO> |
findByListIds(List<Integer> listIds)
Find by list ids. |
ResourceExtenderDTO |
findByPrimaryKey(int nIdExtender)
Find by primary key. |
List<Integer> |
findIdsByFilter(ResourceExtenderDTOFilter filter)
Find ids by filter. |
ResourceExtenderDTO |
findResourceExtender(String strExtenderType,
String strIdExtendableResource,
String strExtendableResourceType)
Find the resource extender that either has an ID. |
ResourceExtenderDTO |
findWildCardResourceExtender(String strExtenderType,
String strExtendableResourceType)
Find wildcard resource extender. |
Map<String,Map<String,Boolean>> |
getActionPermissions(List<Integer> listIds,
fr.paris.lutece.portal.business.user.AdminUser user)
Gets the actions permission. |
String |
getContent(String strIdExtendableResource,
String strExtendableResourceType,
String strExtenderType,
String strParameters,
javax.servlet.http.HttpServletRequest request)
Gets the resource extender content. |
fr.paris.lutece.portal.service.resource.IExtendableResource |
getExtendableResource(ResourceExtenderDTO resourceExtender)
Gets the extendable resource |
fr.paris.lutece.portal.service.resource.IExtendableResource |
getExtendableResource(String strIdExtendableResource,
String strExtendableResourceType)
Gets the extendable resource. |
String |
getExtendableResourceName(ResourceExtenderDTO resourceExtender)
Gets the extendable resource name. |
String |
getExtendableResourceName(String strIdExtendableResource,
String strExtendableResourceType)
Gets the extendable resource name. |
fr.paris.lutece.util.ReferenceList |
getExtenderTypes(Locale locale)
Gets the extender types. |
Map<String,Boolean> |
getExtenderTypesInstalled(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of installed extenders for a given resource id and a given resource type. |
IResourceExtender |
getResourceExtender(String strExtenderType)
Gets the resource extender. |
List<IResourceExtender> |
getResourceExtenders()
Gets the resource extenders. |
boolean |
isAuthorized(String strIdExtendableResource,
String strExtendableResourceType,
String strExtenderType)
Checks if is authorized. |
boolean |
isAuthorizedToAllResources(int nIdExtender)
Checks if is authorized to all resources. |
boolean |
isAuthorizedToAllResources(String strExtendableResourceType,
String strExtenderType)
Checks if is authorized to all resources. |
void |
remove(int nIdExtender)
Delete. |
void |
update(ResourceExtenderDTO extender)
Update. |
| Method Detail |
|---|
@Transactional(value="extend.transactionManager") void create(ResourceExtenderDTO extender)
extender - the extender@Transactional(value="extend.transactionManager") void update(ResourceExtenderDTO extender)
extender - the extender@Transactional(value="extend.transactionManager") void remove(int nIdExtender)
nIdExtender - the n id extenderResourceExtenderDTO findByPrimaryKey(int nIdExtender)
nIdExtender - the n id extender
List<ResourceExtenderDTO> findAll()
List<ResourceExtenderDTO> findByFilter(ResourceExtenderDTOFilter filter)
filter - the filter
List<Integer> findIdsByFilter(ResourceExtenderDTOFilter filter)
filter - the filter
List<ResourceExtenderDTO> findByListIds(List<Integer> listIds)
listIds - the list ids
ResourceExtenderDTO findResourceExtender(String strExtenderType,
String strIdExtendableResource,
String strExtendableResourceType)
strExtenderType - the str extender typestrIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource type
ResourceExtenderDTO findWildCardResourceExtender(String strExtenderType,
String strExtendableResourceType)
strExtenderType - the str extender typestrExtendableResourceType - the str extendable resource type
fr.paris.lutece.util.ReferenceList getExtenderTypes(Locale locale)
locale - the locale
Map<String,Boolean> getExtenderTypesInstalled(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strIdExtendableResource - Id of the resourcestrExtendableResourceType - Type of the resourceplugin - the plugin
boolean isAuthorized(String strIdExtendableResource,
String strExtendableResourceType,
String strExtenderType)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typestrExtenderType - the str extender type
boolean isAuthorizedToAllResources(String strExtendableResourceType,
String strExtenderType)
strExtendableResourceType - the str extendable resource typestrExtenderType - the str extender type
boolean isAuthorizedToAllResources(int nIdExtender)
nIdExtender - the n id extender
String getContent(String strIdExtendableResource,
String strExtendableResourceType,
String strExtenderType,
String strParameters,
javax.servlet.http.HttpServletRequest request)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typestrExtenderType - the str resource extender typestrParameters - the str parametersrequest - the request
void doCreateResourceAddOn(ResourceExtenderDTO resourceExtender)
resourceExtender - the extendervoid doDeleteResourceAddOn(ResourceExtenderDTO resourceExtender)
resourceExtender - the extenderList<IResourceExtender> getResourceExtenders()
IResourceExtender getResourceExtender(String strExtenderType)
strExtenderType - the str extender type
String getExtendableResourceName(ResourceExtenderDTO resourceExtender)
resourceExtender - the resource extender
String getExtendableResourceName(String strIdExtendableResource,
String strExtendableResourceType)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource type
fr.paris.lutece.portal.service.resource.IExtendableResource getExtendableResource(ResourceExtenderDTO resourceExtender)
resourceExtender - the resource extender
fr.paris.lutece.portal.service.resource.IExtendableResource getExtendableResource(String strIdExtendableResource,
String strExtendableResourceType)
strIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource type
Map<String,Map<String,Boolean>> getActionPermissions(List<Integer> listIds,
fr.paris.lutece.portal.business.user.AdminUser user)
listIds - the list idsuser - the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||