WebLogic Integration


com.bea.wlxt.repository
Interface RepositoryFilter


public interface RepositoryFilter
extends java.io.Serializable

The RepositoryFilter interface serves as an optional user provided callback for the open and save document chooser class. It can be used to filter the folders/documents that are available for selection within a chooser dialog.

Since:
WLXT V2.0
Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 boolean accept(RepositoryObject obj)
          User provided callback identifying which repository objects are included in a open or save document chooser dialog.
 void addReposDocTypeToFilter(int fileType)
          This method adds sets the filter to filter on a file type.
 int getFileType()
           
 

Method Detail

accept

public boolean accept(RepositoryObject obj)
User provided callback identifying which repository objects are included in a open or save document chooser dialog.

Parameters:
obj - The repository object being considered for inclusion in the dialog.
Returns:
Return true to include the object in the dialog.

addReposDocTypeToFilter

public void addReposDocTypeToFilter(int fileType)
This method adds sets the filter to filter on a file type.

Parameters:
fileType - is an int that corresponds to a static Repository doc type such as Repository.DOC_TYPE_DTD.

getFileType

public int getFileType()


WebLogic Integration

WebLogic Integration (WLI)