public class DataStoreInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DataStoreInfo.DomainType |
class |
DataStoreInfo.InvalidDataStoreElementException |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATASTORE_CACHEDATA |
static java.lang.String |
DATASTORE_DATAATTRIBUTE |
static java.lang.String |
DATASTORE_DATASRC |
static java.lang.String |
DATASTORE_DOMAIN |
static java.lang.String |
DATASTORE_ID |
static java.lang.String |
DATASTORE_VALIDFOR |
static java.lang.String |
JSONKEY_DATASTORES |
static java.lang.String |
JSONKEY_FILTERS |
static java.lang.String |
JSONKEY_SETVALUES |
static java.lang.String |
JSONKEY_SITEORGFILTER |
static java.lang.String |
JSONKEY_TYPEAHEAD |
static java.lang.String |
PROP_DOMAINATTRIBUTE |
static java.lang.String |
PROP_FROMATTRIBUTE |
static java.lang.String |
PROP_FROMDATASRC |
static java.lang.String |
PROP_KEYATTRIBUTE |
static java.lang.String |
PROP_TOATTRIBUTE |
static java.lang.String |
PROP_TODATASRC |
static java.lang.String |
TAG_DATASTORE |
Constructor and Description |
---|
DataStoreInfo(org.w3c.dom.Element dataStoreElement,
EntityRelationshipModel erm,
boolean designMode) |
DataStoreInfo(java.lang.String id,
DomainInfo domainInfo) |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
getAsJSON(PageInstance page) |
com.ibm.json.java.JSONObject |
getAsJSONForDownload()
Returns the DataStoreInfo info as A JSONObject which is needed by the client to download the DataStore
|
java.lang.String[] |
getDomainAttributes() |
DomainInfo |
getDomainInfo() |
java.lang.String |
getDomainTimeStamp()
Returns the time in milliseconds when the domain was last changed.
|
DataStoreInfo.DomainType |
getDomainType() |
java.lang.String |
getElementId()
Returns the value of the id attribute on the datastore xml element from
the presentation xml).
|
java.util.Map<UIERMAttribute,java.lang.String> |
getFilterMap() |
com.ibm.json.java.JSONObject |
getFiltersAsJSON(PageInstance page) |
java.lang.String |
getId() |
MboSetRemote |
getMboSetForDataStore(WebClientSession wcs,
boolean useZombie) |
java.util.Map<UIERMAttribute,java.lang.String> |
getSetValueMap() |
com.ibm.json.java.JSONObject |
getSetValuesAsJSON(PageInstance page) |
com.ibm.json.java.JSONObject |
getTypeAhead() |
int |
getValidFor() |
boolean |
isSimpleDomain() |
boolean |
needsToConsiderSiteOrg()
Returns true id the datastore uses a simple domain and the domain needs to consider site and org filtering
|
public static final java.lang.String TAG_DATASTORE
public static final java.lang.String DATASTORE_ID
public static final java.lang.String DATASTORE_DATAATTRIBUTE
public static final java.lang.String DATASTORE_DATASRC
public static final java.lang.String DATASTORE_DOMAIN
public static final java.lang.String DATASTORE_VALIDFOR
public static final java.lang.String DATASTORE_CACHEDATA
public static final java.lang.String PROP_DOMAINATTRIBUTE
public static final java.lang.String PROP_KEYATTRIBUTE
public static final java.lang.String PROP_FROMATTRIBUTE
public static final java.lang.String PROP_TOATTRIBUTE
public static final java.lang.String PROP_TODATASRC
public static final java.lang.String PROP_FROMDATASRC
public static final java.lang.String JSONKEY_DATASTORES
public static final java.lang.String JSONKEY_SETVALUES
public static final java.lang.String JSONKEY_FILTERS
public static final java.lang.String JSONKEY_SITEORGFILTER
public static final java.lang.String JSONKEY_TYPEAHEAD
public DataStoreInfo(org.w3c.dom.Element dataStoreElement, EntityRelationshipModel erm, boolean designMode) throws DataStoreInfo.InvalidDataStoreElementException
public DataStoreInfo(java.lang.String id, DomainInfo domainInfo)
public MboSetRemote getMboSetForDataStore(WebClientSession wcs, boolean useZombie) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String[] getDomainAttributes()
public boolean isSimpleDomain()
public DomainInfo getDomainInfo()
public java.lang.String getId()
public java.util.Map<UIERMAttribute,java.lang.String> getFilterMap()
public com.ibm.json.java.JSONObject getTypeAhead()
public java.util.Map<UIERMAttribute,java.lang.String> getSetValueMap()
public int getValidFor()
public com.ibm.json.java.JSONObject getAsJSON(PageInstance page)
public com.ibm.json.java.JSONObject getFiltersAsJSON(PageInstance page)
public com.ibm.json.java.JSONObject getSetValuesAsJSON(PageInstance page)
public DataStoreInfo.DomainType getDomainType()
public java.lang.String getDomainTimeStamp()
public java.lang.String getElementId()
public boolean needsToConsiderSiteOrg()
public com.ibm.json.java.JSONObject getAsJSONForDownload()