Oracle® Application Server
XML Java API Reference
10g Release 2 (10.1.2)

Part no. B12024-03
September 2004

oracle.xdb.spi
Interface Resource

All Known Implementing Classes:
XDBResource

public interface Resource

Method Summary
 java.lang.String getACL()
           
 java.lang.String getAuthor()
           
 java.lang.String getCharacterSet()
           
 java.lang.String getComment()
           
 java.io.InputStream getContentBinary()
           
 java.lang.String getContentType()
           
 Document getContentXML()
           
 java.sql.Timestamp getCreationDate()
           
 java.lang.String getCreator()
           
 java.lang.String getDisplayName()
           
 java.lang.String getLanguage()
           
 java.lang.String getLastModifier()
           
 java.sql.Timestamp getModificationDate()
           
 java.lang.String getOwner()
           
 long getOwnerId()
           
 java.lang.String getSchemaElement()
           
 int getSize()
           
 int getVersionId()
           
 boolean isFolder()
           
 void setACL(java.lang.String aclpath)
           
 void setAuthor(java.lang.String authname)
           
 void setCharacterSet(java.lang.String charSet)
           
 void setComment(java.lang.String davcom)
           
 void setContent(java.lang.Object xmlobj)
           
 void setContentType(java.lang.String conttype)
           
 void setCreationDate(java.sql.Timestamp credate)
           
 void setCreator(java.lang.String creator)
           
 void setDisplayName(java.lang.String dname)
           
 void setLanguage(java.lang.String lang)
           
 void setLastModifier(java.lang.String modifier)
           
 void setModificationDate(java.sql.Timestamp moddate)
           
 void setOwner(java.lang.String owner)
           
 void setOwnerId(long ownerid)
           
 void setSchemaElement(java.lang.String schema)
           
 void setVersionId(int versionId)
           

 

Method Detail

getOwnerId

public long getOwnerId()

setOwnerId

public void setOwnerId(long ownerid)
                throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getCharacterSet

public java.lang.String getCharacterSet()

setCharacterSet

public void setCharacterSet(java.lang.String charSet)
                     throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getSchemaElement

public java.lang.String getSchemaElement()

setSchemaElement

public void setSchemaElement(java.lang.String schema)
                      throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getCreator

public java.lang.String getCreator()

setCreator

public void setCreator(java.lang.String creator)
                throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getOwner

public java.lang.String getOwner()

setOwner

public void setOwner(java.lang.String owner)
              throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getCreationDate

public java.sql.Timestamp getCreationDate()

setCreationDate

public void setCreationDate(java.sql.Timestamp credate)
                     throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getModificationDate

public java.sql.Timestamp getModificationDate()

setModificationDate

public void setModificationDate(java.sql.Timestamp moddate)
                         throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getLastModifier

public java.lang.String getLastModifier()

setLastModifier

public void setLastModifier(java.lang.String modifier)
                     throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getAuthor

public java.lang.String getAuthor()

setAuthor

public void setAuthor(java.lang.String authname)
               throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getDisplayName

public java.lang.String getDisplayName()

setDisplayName

public void setDisplayName(java.lang.String dname)
                    throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getComment

public java.lang.String getComment()

setComment

public void setComment(java.lang.String davcom)
                throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getLanguage

public java.lang.String getLanguage()

setLanguage

public void setLanguage(java.lang.String lang)
                 throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getContentType

public java.lang.String getContentType()

setContentType

public void setContentType(java.lang.String conttype)
                    throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getVersionId

public int getVersionId()

setVersionId

public void setVersionId(int versionId)
                  throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

getContentXML

public Document getContentXML()

getContentBinary

public java.io.InputStream getContentBinary()

setContent

public void setContent(java.lang.Object xmlobj)
                throws javax.naming.directory.InvalidAttributeValueException,
                       javax.naming.OperationNotSupportedException
javax.naming.directory.InvalidAttributeValueException
javax.naming.OperationNotSupportedException

getACL

public java.lang.String getACL()

setACL

public void setACL(java.lang.String aclpath)
            throws javax.naming.directory.InvalidAttributeValueException
javax.naming.directory.InvalidAttributeValueException

isFolder

public boolean isFolder()

getSize

public int getSize()

Oracle® Application Server
XML Java API Reference
10g Release 2 (10.1.2)

Part no. B12024-03
September 2004

Copyright © 2003, 2004, Oracle. All rights reserved.