|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a newly-created document in the portal. A new document can be created
through the IDocumentManager interface. Note: Changes made to this object
will not take effect in the portal until the save() method
is called.
| Method Summary | |
int |
getDataSourceID()
Gets the ID for the Data Source used to access the document. |
int |
getID()
Gets the ID of the document. |
java.lang.String |
getLanguage()
Gets the language of this document, or null if no language has been set. |
int |
getParentFolderID()
Gets the ID for the folder in which the document resides. |
int |
save()
Saves any changes made to this object in the portal. |
void |
setLanguage(java.lang.String language)
Sets the language of the document. |
void |
setOverrideDescription(java.lang.String description)
Sets a description to use for the document in the portal Knowledge Directory. |
void |
setOverrideName(java.lang.String name)
Sets a name to use for the document in the portal Knowledge Directory. |
| Method Detail |
public int getID()
save() method is called.
java.lang.IllegalStateException - if the method was called for a newly created document before it was savedpublic int getParentFolderID()
public int getDataSourceID()
public java.lang.String getLanguage()
null if no language has been set.
public void setLanguage(java.lang.String language)
language - the document languagepublic void setOverrideName(java.lang.String name)
name - the name to use instead of the defaultpublic void setOverrideDescription(java.lang.String description)
description - the description to use instead of the default
public int save()
throws java.net.MalformedURLException,
PortalException,
java.rmi.RemoteException
java.net.MalformedURLException - if the query interface URL is not valid
java.lang.IllegalStateException - if the setType() method was not called in the IRemoteDocument subinterface
PortalException - if an operation resulted in an error in the portal
java.rmi.RemoteException - if there was a communication problem during the execution of the remote method call
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©2008 Oracle® Corporation. All Rights Reserved.