|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Method Summary | |
void |
AttachDataSourceProvider(IPTCard pCard,
IPTDataSourceProvider pProvider)
AttachDataSourceProvider Use this method to attach an instantiated Data Source Provider. |
void |
DownloadDocument(IPTDocumentType pDocumentType,
IPTCard pCard,
IPTDataSourceProvider pProvider)
Downloads a temporary copy of the source document for the given card |
java.lang.String |
GetDataSourceBrowserCLSID()
Returns a String used to identify the browsing object for the provider on which this Data Source is based. |
IPTDataSourceProvider |
GetDataSourceProvider()
DataSourceProvider Use this method to get an instantiated Data Source Provider for this Data Source which has been Intialized using the RepositoryInfo bag. |
java.lang.String |
GetDataSourceProviderCLSID()
Returns a String used to identify the provider object for this Data Source. |
java.lang.String |
GetGeneratedURLPrefix()
Retrieves a 4.x style URL prefix String |
com.plumtree.openfoundation.util.IXPPropertyBag |
GetRepositoryInfo()
Returns a provider specific format of configuration and connection parameters for this Data Source. |
int |
GetURLType()
Returns the type of URL that is generated for opening documents for cards built on this Data Source. |
int |
GetWebServiceID()
Retrieves the Web Service ID from which this Data Source was based |
void |
ImportDocument(com.plumtree.openfoundation.util.IXPPropertyBag vDocumentLocationBagAsXML,
int lDocumentTypeID,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
Import Document Takes init info for the Data Source Provider, ID of the Document Type to use, and a fresh Card which will be populated with Properties, have its indexing file property set, and be given a Signature. |
void |
ImportDocument(java.lang.String vDocumentLocationBagAsXML,
int lDocumentTypeID,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
Import Document Takes init info for the Data Source Provider, ID of the Document Type to use, and a fresh Card which will be populated with Properties, have its indexing file property set, and be given a Signature. |
void |
ImportDocumentEx(com.plumtree.openfoundation.util.IXPPropertyBag vDocumentLocationBagAsXML,
IPTDocumentType pDocumentType,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
Same as ImportDocument only takes Document Type object in lieu of its ID |
void |
ImportDocumentEx(java.lang.String vDocumentLocationBagAsXML,
IPTDocumentType pDocumentType,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
Same as ImportDocument only takes Document Type object in lieu of its ID |
void |
Initialize(java.lang.String bstrDataSourceProviderCLSID)
Initializes newly created Data Source. |
void |
RefreshCard(int lCardID,
boolean bForceRefresh,
IPTDataSourceProvider pProvider)
Refreshes a Card's Properties and serializes the results May be called when a Card is due for automatic refresh or by a Content Admin. |
void |
RefreshCardInMemory(IPTCard pCard,
boolean bSummarize,
boolean bForceRefresh,
IPTDataSourceProvider pProvider)
RefreshCardInMemory Similar method but takes an instantiated Card, which must be already locked. |
void |
SetGeneratedURLPrefix(java.lang.String Value)
Sets a 4.x style URL prefix String |
void |
SetRepositoryInfo(com.plumtree.openfoundation.util.IXPPropertyBag Value)
Sets a provider specific format of configuration and connection parameters for this Data Source. |
void |
SetRepositoryInfo(java.lang.String Value)
Sets a provider specific format of configuration and connection parameters for this Data Source. |
void |
SetURLType(int Value)
Sets the type of URL that is generated for opening documents for cards built on this Data Source. |
void |
SetWebServiceID(int Value)
Sets the Web Service ID from which this Data Source was based |
| Methods inherited from interface com.plumtree.server.IPTObject |
GetAdminFolderID, GetClassID, GetCreated, GetImageUUID, GetLastModified, GetObjectProperties, SetAdminFolderID, SetImageUUID, SetLastModified |
| Methods inherited from interface com.plumtree.server.IPTLocalizable |
GetDescription, GetIsLocalized, GetLocalizedDescription, GetLocalizedDescriptions, GetLocalizedName, GetLocalizedNames, GetName, GetPrimaryLang, GetSupportsLocalization, SetDescription, SetIsLocalized, SetLocalizedDescriptions, SetLocalizedNames, SetName, SetPrimaryLang |
| Methods inherited from interface com.plumtree.server.IPTUnknown |
GetInterfaces |
| Method Detail |
public void Initialize(java.lang.String bstrDataSourceProviderCLSID)
bstrDataSourceProviderCLSID - A String which uniquely identifies
the Data Source Provider (web or soap) for this Data Sourcepublic java.lang.String GetDataSourceBrowserCLSID()
public java.lang.String GetDataSourceProviderCLSID()
public com.plumtree.openfoundation.util.IXPPropertyBag GetRepositoryInfo()
public void SetRepositoryInfo(java.lang.String Value)
Value - a String of configuration and connection parameterspublic void SetRepositoryInfo(com.plumtree.openfoundation.util.IXPPropertyBag Value)
Value - a property bag of configuration and connection parameterspublic int GetURLType()
public void SetURLType(int Value)
Value - an int determining URL generationpublic java.lang.String GetGeneratedURLPrefix()
public void SetGeneratedURLPrefix(java.lang.String Value)
Value - A String prepended to URLs in earlier versions (pre-5.0)
public void ImportDocument(java.lang.String vDocumentLocationBagAsXML,
int lDocumentTypeID,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
vDocumentLocationBagAsXML - An XML String of a provider specific document locationlDocumentTypeID - The ID of the Document Type used for mapping property valuespCard - a Card object that will be populated with the document attributesbSummarize - Force summarizationpProvider - The Data Source Provider object used to connect to the document
public void ImportDocument(com.plumtree.openfoundation.util.IXPPropertyBag vDocumentLocationBagAsXML,
int lDocumentTypeID,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
vDocumentLocationBagAsXML - An IXPPropertyBag of a provider specific document locationlDocumentTypeID - The ID of the Document Type used for mapping property valuespCard - a Card object that will be populated with the document attributesbSummarize - Force summarizationpProvider - The Data Source Provider object used to connect to the document
public void ImportDocumentEx(java.lang.String vDocumentLocationBagAsXML,
IPTDocumentType pDocumentType,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
vDocumentLocationBagAsXML - pDocumentType - pCard - bSummarize - pProvider -
public void ImportDocumentEx(com.plumtree.openfoundation.util.IXPPropertyBag vDocumentLocationBagAsXML,
IPTDocumentType pDocumentType,
IPTCard pCard,
boolean bSummarize,
IPTDataSourceProvider pProvider)
vDocumentLocationBagAsXML - pDocumentType - pCard - bSummarize - pProvider -
public void RefreshCard(int lCardID,
boolean bForceRefresh,
IPTDataSourceProvider pProvider)
lCardID - ID of an existing cardbForceRefresh - if True, forces refresh irrespective of needpProvider - Necessary Provider object
public void RefreshCardInMemory(IPTCard pCard,
boolean bSummarize,
boolean bForceRefresh,
IPTDataSourceProvider pProvider)
pCard - an Existing card object to be refreshedbSummarize - Forces description generation if TruebForceRefresh - if True, forces refresh irrespective of needpProvider - Necessary Provider objectpublic IPTDataSourceProvider GetDataSourceProvider()
public void AttachDataSourceProvider(IPTCard pCard,
IPTDataSourceProvider pProvider)
pCard - Existing card object whose parameters will be used for attaching to the source documentpProvider - an initialized provider
public void DownloadDocument(IPTDocumentType pDocumentType,
IPTCard pCard,
IPTDataSourceProvider pProvider)
pDocumentType - an instantiated DocumentType for this cardpCard - an instantiated Card objectpProvider - an initialized providerpublic int GetWebServiceID()
public void SetWebServiceID(int Value)
Value - an int value for the Web Service ID
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||