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
|
emptyString
Constructor and Description |
---|
ManagedFileListDataBean() |
Modifier and Type | Method and Description |
---|---|
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.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fulfills
getRequestProperties, setRequestProperties
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)
aFileDirectoryId
- the file directory id.public java.lang.Long getFileDirectoryId()
public java.lang.String getFilePath()
public void setFilePath(java.lang.String astrFilePath)
astrFilePath
- The file path to set.public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
public java.util.List getManagedFiles()
public void setManagedFiles(java.util.List alstManagedFiles)
alstManagedFiles
- The list of managed files.public Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface Delegator
java.lang.Exception
public java.lang.Long getOwner() throws java.lang.Exception
getOwner
in interface Protectable
java.lang.Exception
- thrown when the owner's member ID cannot be retrieved through the StoreAccessBean
.public java.lang.String getFilePathSearchCriteria()
public void setFilePathSearchCriteria(java.lang.String astrFilePathSearchCriteria)
astrFilePathSearchCriteria
- The file path search criteria to set.