You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/05/04 08:43:30 UTC

[jira] Created: (PLUTO-558) Change FilterManagerService to use portlet entity

Change FilterManagerService to use portlet entity
-------------------------------------------------

                 Key: PLUTO-558
                 URL: https://issues.apache.org/jira/browse/PLUTO-558
             Project: Pluto
          Issue Type: Improvement
          Components: portlet container
    Affects Versions: 2.0.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: 2.0.0


the current FilterManagerService interface uses the
PortletApplicationDefinition and the portlet name (string):

getFilterManager(PortletApplicationDefinition portletAppDD, String
portletName, String lifeCycle)

I would like to change the signature of this method to use the
PortletEntity:

getFilterManager(PortletEntity, String lifeCycle).

This would allow portals to provide different filter chains based on a
portlet entity.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (PLUTO-558) Change FilterManagerService to use portlet entity

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PLUTO-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed PLUTO-558.
----------------------------------

    Resolution: Fixed

Changed to use PortletWindow in Revision: 771572

> Change FilterManagerService to use portlet entity
> -------------------------------------------------
>
>                 Key: PLUTO-558
>                 URL: https://issues.apache.org/jira/browse/PLUTO-558
>             Project: Pluto
>          Issue Type: Improvement
>          Components: portlet container
>    Affects Versions: 2.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: 2.0.0
>
>
> the current FilterManagerService interface uses the
> PortletApplicationDefinition and the portlet name (string):
> getFilterManager(PortletApplicationDefinition portletAppDD, String
> portletName, String lifeCycle)
> I would like to change the signature of this method to use the
> PortletEntity:
> getFilterManager(PortletEntity, String lifeCycle).
> This would allow portals to provide different filter chains based on a
> portlet entity.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-558) Change FilterManagerService to use portlet entity

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705628#action_12705628 ] 

Carsten Ziegeler commented on PLUTO-558:
----------------------------------------

I guess it somehow depends what the portal uses as the manageable unit: portlet entity or window. But I agree that we could use the PortletWindow for the signature as well.

For your suggestion to drop PortletEntity:+1

> Change FilterManagerService to use portlet entity
> -------------------------------------------------
>
>                 Key: PLUTO-558
>                 URL: https://issues.apache.org/jira/browse/PLUTO-558
>             Project: Pluto
>          Issue Type: Improvement
>          Components: portlet container
>    Affects Versions: 2.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: 2.0.0
>
>
> the current FilterManagerService interface uses the
> PortletApplicationDefinition and the portlet name (string):
> getFilterManager(PortletApplicationDefinition portletAppDD, String
> portletName, String lifeCycle)
> I would like to change the signature of this method to use the
> PortletEntity:
> getFilterManager(PortletEntity, String lifeCycle).
> This would allow portals to provide different filter chains based on a
> portlet entity.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PLUTO-558) Change FilterManagerService to use portlet entity

Posted by "Ate Douma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PLUTO-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705543#action_12705543 ] 

Ate Douma commented on PLUTO-558:
---------------------------------

Carsten,

While I've no objections to allowing more fine-grained configuration and handling of filtering, I'm not so sure the PortletEntity is the right level for this.
Are you sure you want this to be differentiated only on the PreferencesSet used by the Portlet(Window)?
I would suggest using PortletWindow instead of PortletEntity.
Currently we have PortletWindow -> PortletEntity -> PortletDefinition -> portlet name, so using PortletWindow allows even finer grained configuration.

Furthermore, I'm actually tempted to propose we drop PortletEntity as a qualified interface all together as Pluto (nor Jetspeed) doesn't use PortletEntity at all.
For Jetspeed,  I've already enhanced our (extended) PortletWindow to provide access to the PortletEntity (PreferencesSet) *ID* with method String getPortletEntityId() and also added getPortletDefinition() directly to PortletWindow.
That greatly cleans up the code base as the PortletEntity 'intermediate' (now reduced to just an empty interface) then can be cut out from all the PortletWindow->PortletDefinition access usages.
WDYT?



> Change FilterManagerService to use portlet entity
> -------------------------------------------------
>
>                 Key: PLUTO-558
>                 URL: https://issues.apache.org/jira/browse/PLUTO-558
>             Project: Pluto
>          Issue Type: Improvement
>          Components: portlet container
>    Affects Versions: 2.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: 2.0.0
>
>
> the current FilterManagerService interface uses the
> PortletApplicationDefinition and the portlet name (string):
> getFilterManager(PortletApplicationDefinition portletAppDD, String
> portletName, String lifeCycle)
> I would like to change the signature of this method to use the
> PortletEntity:
> getFilterManager(PortletEntity, String lifeCycle).
> This would allow portals to provide different filter chains based on a
> portlet entity.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.