|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.attachments.ui.AttachmentRowCache
public class AttachmentRowCache
A cache of the attachment rows for a particular row from a parent VO that is attached to the attachments table via a view link. The intended use of this class is to cache the minimum number of attachment rows needed to fulfill the requirements of the UI. The rowIndex is the identifier of the row from the parent VO. Once populated this object will be put in the request parameters collection so that any other requests from the UI will use the cached value provided that the rowId matches.
Constructor Summary | |
---|---|
AttachmentRowCache()
Default constructor. |
Method Summary | |
---|---|
java.util.List<CachedAttachment> |
getAttachments()
Getter for the collection of attachment row values. |
AttachmentsCM |
getAttachmentsCollectionModel()
Gets the attachments as a collection model. |
java.lang.String |
getCacheKey()
Getter for the unique cache key. |
CachedAttachment |
getLastAttachment()
Gets the last cached attachment. |
int |
getRowIndex()
Getter for the index of the row from the parent VO. |
long |
getTotalRowCount()
Getter of the total number of attachments for the parent VO. |
void |
setAttachments(java.util.List<CachedAttachment> attachments)
Setter for the collection of attachment row values. |
void |
setCacheKey(java.lang.String cacheKey)
Setter for the unique cache key. |
void |
setRowIndex(int rowIndex)
Setter for the indes of the row from the parent VO. |
void |
setTotalRowCount(long totalRowCount)
Setter of the total number of attachments for the parent VO. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentRowCache()
Method Detail |
---|
public void setRowIndex(int rowIndex)
rowIndex
- index for the parent row.public int getRowIndex()
public void setCacheKey(java.lang.String cacheKey)
cacheKey
- unique cache key.public java.lang.String getCacheKey()
public void setAttachments(java.util.List<CachedAttachment> attachments)
attachments
- the attachment rows to be cached.public java.util.List<CachedAttachment> getAttachments()
public AttachmentsCM getAttachmentsCollectionModel()
public CachedAttachment getLastAttachment()
public void setTotalRowCount(long totalRowCount)
totalRowCount
- the number of attachments.public long getTotalRowCount()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |