[Yanel-dev] [Bug 8012] New: enhance PolicyManagerResource.

bugzilla at wyona.com bugzilla at wyona.com
Mon Dec 13 15:15:48 CET 2010


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=8012

           Summary: enhance PolicyManagerResource.
           Product: Yanel
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: General
        AssignedTo: michael.wechner at wyona.org
        ReportedBy: simon.litwan at wyona.org
         QAContact: yanel-development at wyona.com


the policy manager resource should be able to display if a user exists. first i
did it for the getAggregatedPolicyAsXML(String path, String contentItemId, int
orderedBy, boolean showParents) and getPoliciesAsXML(String path, String
contentItemId, int orderedBy, boolean showParents). 
since i would like to add some custom attributes the getPoliciesAsXML(String
path, String contentItemId, int orderedBy, boolean showParents) should be set
to protected.


i have some difficulties to understand why the following methodes are static
and public. why public, since they seemed only to be called within the class.

and why static, this way i'm not able to get the usermanaer to see if a user
exists.

static public StringBuilder getPolicyUsecasesAsXML(Policy p)
static public StringBuffer getPolicyIdentities(Policy p)
static public StringBuffer getPolicyGroups(Policy p)


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list