Skip to Content
author's profile photo Former Member
Former Member

Portal JavaDoc and Portal Jar methods don't match

Hi Friends:

I am using Usermanagement api available from com.sap.security.api jar file. We have IGroupSearchFilter class, which has two get and two set methods, according to the JavaDoc. But when during the coding, when you ask for the NWDStudio prompting, I don't see any set methods.

package com.symbol.tools;

import com.sapportals.portal.prt.component.*;

import java.util.Iterator;

import com.sapportals.portal.prt.component.*;

import com.sapportals.portal.prt.logger.ILogger;

import com.sapportals.portal.prt.runtime.IPortalConstants;

import com.sapportals.portal.prt.runtime.PortalRuntime;

import com.sap.security.api.IGroup;

import com.sap.security.api.IGroupFactory;

import com.sap.security.api.IGroupSearchFilter;

import com.sap.security.api.IRole;

import com.sap.security.api.IRoleFactory;

import com.sap.security.api.ISearchResult;

import com.sap.security.api.IUser;

import com.sap.security.api.IUserFactory;

import com.sap.security.api.NoSuchGroupException;

import com.sap.security.api.UMException;

import com.sap.security.api.UMFactory;

import com.sap.security.api.IGroupSearchFilter;

public class UserRole extends AbstractPortalComponent{

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response){

IGroupFactory gf = UMFactory.getGroupFactory();

gf.searchGroups(((IGroupSearchFilter)gf.getGroupSearchFilter()).???)

}

}

I am using the com.sap.security.api.jar file from the portal.

Any help in to this is great !!

Prasad Nutalapati

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 12:17 AM

    Hi,

    Try breaking the following code into more lines (ie. define a new variable for IGroupSearchFilter):

    gf.searchGroups(((IGroupSearchFilter)gf.getGroupSearchFilter()).???)

    Furthermore, you might want to check that you have the right libraries that corresponds to your version of javadocs.

    Chers,

    Vic

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.