|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.rest.ARESTModel com.plumtree.portalpages.rest.dojo.AQueryStoreModel com.plumtree.portalpages.rest.dojo.KDDocumentDataStoreModel
public class KDDocumentDataStoreModel
Model to retrieve KD documents in a specific KD folder
Field Summary | |
---|---|
static java.lang.String |
COL_AUTHOR
|
static java.lang.String |
COL_DOCUMENTPATH
KD document specific property names |
static java.lang.String |
COL_DOCUMENTURL
|
static java.lang.String |
COL_ICON
|
static int |
INVALIDFOLDER_ERROR
folder id to return error |
protected AActivitySpace |
m_space
|
static int |
NOFOLDER_EMPTYRESPONSE
folder id to return empty response (default behavior) |
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.portalpages.rest.dojo.AQueryStoreModel |
---|
COL_CREATED, COL_DESCRIPTION, COL_LASTMODIFIED, COL_NAME, COL_OBJECTID, COLNAME_PREFIX, COLNAME_TO_PROPID_MAP, CUSTOMPROP_TYPE_SESSIONMAP_NAME, DATASTORE_PROP_IDENTIFIER, DATASTORE_PROP_ITEMS, DATASTORE_PROP_LABEL, DATASTORE_PROP_TOTALRESULTS, INVALID_PROPID, NO_PROPTYPE, PROP_GRIDTYPE_ICON, PROP_GRIDTYPE_URL, PROPID_PROPTYPE_MAP, PROPTYPE_LOCK |
Fields inherited from class com.plumtree.portalpages.rest.ARESTModel |
---|
m_error |
Constructor Summary | |
---|---|
KDDocumentDataStoreModel()
|
Method Summary | |
---|---|
void |
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache. |
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected java.lang.String |
CreateGridLabelEntry(java.lang.String iconUrl,
java.lang.String docUrl,
java.lang.String docName)
Create special entry for first column in the dojo datagrid widget. |
java.lang.String |
FormatPropertyDateString(double dateFromSearch)
|
java.lang.String |
FormatPropertyDateString(XPDateTime date)
|
int |
GetCurrFolderId()
|
int |
GetDateFormat()
|
XPHashtable |
GetFolderDocumentDataStoreObject(int folderId)
Performs search request to retrieve documents |
XPLocale |
GetLocale()
|
java.lang.String |
GetName()
Return the name of the MVC object. |
int[] |
GetQueryPropIds()
|
XPHashtable |
GetQueryStoreResult()
Return the result from the current request. |
int |
GetTimeFormat()
|
void |
Init(AActivitySpace parent)
This method initializes the model. |
void |
SetCurrFolderId(int folderId)
|
void |
SetDateFormat(int dateFormat)
|
void |
SetLocale(java.lang.String localeStr)
|
void |
SetQueryPropIds(int[] queryPropIds)
|
void |
SetTimeFormat(int timeFormat)
|
Methods inherited from class com.plumtree.portalpages.rest.dojo.AQueryStoreModel |
---|
AddColNameToSearchPropIdMapping, AddDataStoreMetaData, AddPropIdToPropTypeMapping, GetCustomPropType, GetOrderById, GetPropType, GetQuery, GetResultSize, GetSearchPropIdFromColumnName, GetStartIndex, SetOrderById, SetQuery, SetResultSize, SetStartIndex |
Methods inherited from class com.plumtree.portalpages.rest.ARESTModel |
---|
GetError, SetError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String COL_DOCUMENTPATH
public static final java.lang.String COL_ICON
public static final java.lang.String COL_DOCUMENTURL
public static final java.lang.String COL_AUTHOR
public static final int NOFOLDER_EMPTYRESPONSE
public static final int INVALIDFOLDER_ERROR
protected AActivitySpace m_space
Constructor Detail |
---|
public KDDocumentDataStoreModel()
Method Detail |
---|
public XPHashtable GetQueryStoreResult()
GetQueryStoreResult
in class AQueryStoreModel
public XPHashtable GetFolderDocumentDataStoreObject(int folderId)
folderId
-
protected java.lang.String CreateGridLabelEntry(java.lang.String iconUrl, java.lang.String docUrl, java.lang.String docName)
iconUrl
- docUrl
- docName
-
public java.lang.String FormatPropertyDateString(double dateFromSearch)
public java.lang.String FormatPropertyDateString(XPDateTime date)
date
-
public void SetCurrFolderId(int folderId)
public int GetCurrFolderId()
public void SetDateFormat(int dateFormat)
public int GetDateFormat()
public void SetTimeFormat(int timeFormat)
public int GetTimeFormat()
public void SetLocale(java.lang.String localeStr)
public XPLocale GetLocale()
public void SetQueryPropIds(int[] queryPropIds)
public int[] GetQueryPropIds()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
IModel.CleanupAllData()
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
IModel.CleanupTempData()
public void Init(AActivitySpace parent)
IModel
Init
in interface IModel
parent
- the parent Activity SpaceIModel.Init(com.plumtree.uiinfrastructure.activityspace.AActivitySpace)
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
IMVCObject.GetName()
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |