|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTDataSource
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 |
Methods inherited from interface com.plumtree.server.IPTServerContext |
---|
GetAccessLevel, GetACL, GetLastModifiedBy, GetLockState, GetObjectID, GetOwnerID, GetServerContextSettings, GetSession, GetSettings, LockObject, SetLastModifiedBy, SetObjectID, SetOwnerID, SetServerContextSettings, SetSettings, UnlockObject |
Methods inherited from interface com.plumtree.server.IPTStorable |
---|
Store |
Method Detail |
---|
void Initialize(java.lang.String bstrDataSourceProviderCLSID)
bstrDataSourceProviderCLSID
- A String which uniquely identifies
the Data Source Provider (web or soap) for this Data Sourcejava.lang.String GetDataSourceBrowserCLSID()
java.lang.String GetDataSourceProviderCLSID()
com.plumtree.openfoundation.util.IXPPropertyBag GetRepositoryInfo()
void SetRepositoryInfo(java.lang.String Value)
Value
- a String of configuration and connection parametersvoid SetRepositoryInfo(com.plumtree.openfoundation.util.IXPPropertyBag Value)
Value
- a property bag of configuration and connection parametersint GetURLType()
void SetURLType(int Value)
Value
- an int determining URL generationjava.lang.String GetGeneratedURLPrefix()
void SetGeneratedURLPrefix(java.lang.String Value)
Value
- A String prepended to URLs in earlier versions (pre-5.0)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 documentvoid 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 documentvoid ImportDocumentEx(java.lang.String vDocumentLocationBagAsXML, IPTDocumentType pDocumentType, IPTCard pCard, boolean bSummarize, IPTDataSourceProvider pProvider)
vDocumentLocationBagAsXML
- pDocumentType
- pCard
- bSummarize
- pProvider
- void ImportDocumentEx(com.plumtree.openfoundation.util.IXPPropertyBag vDocumentLocationBagAsXML, IPTDocumentType pDocumentType, IPTCard pCard, boolean bSummarize, IPTDataSourceProvider pProvider)
vDocumentLocationBagAsXML
- pDocumentType
- pCard
- bSummarize
- pProvider
- void RefreshCard(int lCardID, boolean bForceRefresh, IPTDataSourceProvider pProvider)
lCardID
- ID of an existing cardbForceRefresh
- if True, forces refresh irrespective of needpProvider
- Necessary Provider objectvoid 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 objectIPTDataSourceProvider GetDataSourceProvider()
void AttachDataSourceProvider(IPTCard pCard, IPTDataSourceProvider pProvider)
pCard
- Existing card object whose parameters will be used for attaching to the source documentpProvider
- an initialized providervoid DownloadDocument(IPTDocumentType pDocumentType, IPTCard pCard, IPTDataSourceProvider pProvider)
pDocumentType
- an instantiated DocumentType for this cardpCard
- an instantiated Card objectpProvider
- an initialized providerint GetWebServiceID()
void SetWebServiceID(int Value)
Value
- an int value for the Web Service ID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |