|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.portlet.rc.security.PortletItemSecurityHelper
public abstract class PortletItemSecurityHelper
Abstract implementation of the resource catalog's oracle.adf.rc.security.ItemSecurityHelper
interface. Subclasses should implement canView(String, String)
to control visibility of portlets in the resource catalog. The implementation class should then be registered in META-INF/rc_ext.xml
using the following:
<extension xmlns:="http://xmlns.oracle.com/adf/rc/extension"
id="your_extension_id"
name="Your_Extension_Name"
version="11.1.1.4.0">
<item-security-helper class="your.implementation.class.name"/>
</extension>
Constructor Summary | |
---|---|
PortletItemSecurityHelper() |
Method Summary | |
---|---|
boolean |
canView(CatalogItem item) Implementation of oracle.adf.rc.security.ItemSecurityHelper#canView that extracts the producer id and portlet id & delegates the call to canView(java.lang.String, java.lang.String) |
abstract boolean |
canView(java.lang.String producerId, java.lang.String portletId) Returns true if the current user has permission to view the specified portlet. |
java.lang.String[] |
getHandledClassNames() Returns an array containing the names of the portlet resource classes that should be handled by this helper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletItemSecurityHelper()
Method Detail |
---|
public abstract boolean canView(java.lang.String producerId, java.lang.String portletId)
producerId
- ID of the producer owning the portletportletId
- ID of the portletpublic final java.lang.String[] getHandledClassNames()
CatalogItem
s handled by this helperpublic final boolean canView(CatalogItem item)
oracle.adf.rc.security.ItemSecurityHelper#canView
that extracts the producer id and portlet id & delegates the call to canView(java.lang.String, java.lang.String)
item
- the CatalogItem to be checked
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |