public class ManagedFileListDataBean extends SmartDataBeanImpl implements Protectable, Delegator
Mode 1: when the file directory ID is specified.
This ManagedFileListDataBean when populated will give a list of managed file databeans. The list contains all the managed files in the given directory.
Mode 2: when the file full path is specified.
The ManagedFileListDataBean can be used to search managed files by the given file full path. The search is case sensitive. The search criteria can be starts with, contains, ends with and exact match.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String | EXACT_MATCH
Case sensitive; exact match
|
static java.lang.String | MATCHCASE_CONTAINING
Case sensitive; contains
|
static java.lang.String | MATCHCASE_ENDWITH
Case sensitive; ends with
|
static java.lang.String | MATCHCASE_STARTWITH
Case sensitive; starts with
|
Constructor and Description |
---|
ManagedFileListDataBean() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List | findManagedFileIdsByFilePath(java.lang.String filePath, java.lang.String searchCriteria)
This method finds the managed files by the file path and search criteria.
|
Protectable | getDelegate()
This method returns the Protectable object whose access control policies will indirectly control the access control for this object.
|
java.lang.Long | getFileDirectoryId()
This method gets the file directory id.
|
java.lang.String | getFilePath()
Get the file path.
|
java.lang.String | getFilePathSearchCriteria()
Get file path search criteria.
|
java.util.List | getManagedFiles()
This method returns the list of managed files.
|
java.lang.Long | getOwner()
Return the member reference number of the owner.
|
void | populate()
This method is used to populate the ManagedFileListDataBean.
|
void | setFileDirectoryId(java.lang.Long aFileDirectoryId)
This method sets the file directory id.
|
void | setFilePath(java.lang.String astrFilePath)
Set the file path.
|
void | setFilePathSearchCriteria(java.lang.String astrFilePathSearchCriteria)
Set file path search criteria.
|
void | setManagedFiles(java.util.List alstManagedFiles)
This method sets the list of managed files.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MATCHCASE_STARTWITH
public static final java.lang.String MATCHCASE_CONTAINING
public static final java.lang.String MATCHCASE_ENDWITH
public static final java.lang.String EXACT_MATCH
public void setFileDirectoryId(java.lang.Long aFileDirectoryId)
public java.lang.Long getFileDirectoryId()
public java.lang.String getFilePath()
public void setFilePath(java.lang.String astrFilePath)
public void populate() throws java.lang.Exception
protected java.util.List findManagedFileIdsByFilePath(java.lang.String filePath, java.lang.String searchCriteria) throws ECException
public java.util.List getManagedFiles()
public void setManagedFiles(java.util.List alstManagedFiles)
public Protectable getDelegate() throws java.lang.Exception
public java.lang.Long getOwner() throws java.lang.Exception
public java.lang.String getFilePathSearchCriteria()
public void setFilePathSearchCriteria(java.lang.String astrFilePathSearchCriteria)