Skip navigation links
oracle.stellent.jcr
Class IdcResource
java.lang.Object
oracle.stellent.jcr.IdcResource
- All Implemented Interfaces:
- oracle.jcr.spi.Resource
-
public class IdcResource
- extends java.lang.Object
- implements oracle.jcr.spi.Resource
| Fields inherited from interface oracle.jcr.spi.Resource |
ACTION_ADDNODE, ACTION_CREATERESOURCE, ACTION_READ, ACTION_REMOVEITEM, ACTION_SETPROPERTY, ACTION_UNKNOWN, ACTION_UNLINKRESOURCE, LINKSTATE_CLEAN, LINKSTATE_LINKED, LINKSTATE_UNKNOWN, LINKSTATE_UNLINKED, RESOURCESTATE_CLEAN, RESOURCESTATE_DIRTY, RESOURCESTATE_UNKNOWN, TYPE_FILE, TYPE_FOLDER, TYPE_SYMBOLICLINK, TYPE_UNKNOWN |
| Constructor Summary |
IdcResource(oracle.jcr.impl.OracleSessionImpl session)
|
| Method Summary |
void |
addCustomProperty(org.w3c.dom.Document document)
|
protected boolean |
arrayContains(java.lang.String[] array, java.lang.String key)
|
oracle.jcr.spi.Resource |
createResource(byte type, java.lang.String bindingName)
|
void |
dispose()
|
java.lang.String |
getAuthor()
|
java.lang.String |
getCharacterSet()
|
java.lang.String |
getComment()
|
java.io.BufferedInputStream |
getContent()
|
java.lang.String |
getContentLanguage()
|
long |
getContentSize()
|
java.lang.String |
getContentType()
|
java.util.Calendar |
getCreationDate()
|
java.lang.String |
getCreator()
|
org.w3c.dom.Document |
getCustomProperty(oracle.jcr.impl.QName qname)
|
java.util.Collection |
getCustomPropertyNames()
|
protected java.util.Calendar |
getDate(java.lang.Object o, java.lang.String key)
|
java.lang.String |
getDisplayName()
|
javax.jcr.nodetype.NodeType |
getDOMElementNodeType(org.w3c.dom.Element element, javax.jcr.nodetype.NodeDefinition nodeDefinition)
|
oracle.stellent.ridc.model.DataObject |
getFileInfo()
|
oracle.stellent.ridc.model.DataObject |
getFolderInfo()
|
java.util.List |
getFolderLinks()
|
protected java.util.Set<java.lang.String> |
getKeySet(java.lang.Object o)
|
java.util.Calendar |
getLastModificationDate()
|
java.lang.String |
getLastModifier()
|
byte |
getLinkState()
|
java.lang.String |
getOwner()
|
java.lang.String |
getParentUUID()
|
oracle.jcr.impl.Path |
getPath()
|
java.lang.String |
getPersistentParentUUID()
|
oracle.jcr.impl.Path |
getPersistentPath()
|
byte |
getResourceState()
|
protected java.lang.Double |
getScore()
|
oracle.jcr.impl.OracleSessionImpl |
getSession()
|
java.lang.String |
getTarget()
|
byte |
getType()
|
java.lang.String |
getUUID()
|
protected java.lang.String |
getValue(java.lang.Object o, java.lang.String key)
|
protected java.lang.String |
getValue(java.lang.Object o, java.lang.String key, boolean canReturnDates)
|
org.w3c.dom.Document |
getXMLContent()
|
boolean |
hasPermission(byte action, oracle.jcr.impl.Path residualPath)
|
boolean |
hasXMLContent()
|
static java.lang.Object |
idcVersionInfo(java.lang.Object arg)
|
void |
initAsRoot()
|
void |
initWithDocument(java.lang.Object file, java.lang.Object linkInfo)
|
void |
initWithFolder(java.lang.Object folder, java.lang.Object linkInfo)
|
void |
relinkResource(java.lang.String newParentUUID, java.lang.String newBindingName)
|
void |
setAuthor(java.lang.String author)
|
void |
setCharacterSet(java.lang.String characterSet)
|
void |
setComment(java.lang.String comment)
|
void |
setContent(java.io.BufferedInputStream in)
|
void |
setContentLanguage(java.lang.String contentLanguage)
|
void |
setContentType(java.lang.String contentType)
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setDOMElementNodeType(org.w3c.dom.Element element, org.w3c.dom.Node parentNode, javax.jcr.nodetype.NodeType nodeType, javax.jcr.nodetype.NodeDefinition nodeDefinition)
|
void |
setLastModificationDate(java.util.Calendar date)
|
void |
setOwner(java.lang.String owner)
|
void |
setPath(oracle.jcr.impl.Path path)
|
void |
setTarget(java.lang.String target)
|
void |
unlinkResource()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOLDER_UUID_PREFIX
public static final java.lang.String FOLDER_UUID_PREFIX
-
- See Also:
- Constant Field Values
FILE_UUID_PREFIX
public static final java.lang.String FILE_UUID_PREFIX
-
- See Also:
- Constant Field Values
LINK_UUID_PREFIX
public static final java.lang.String LINK_UUID_PREFIX
-
- See Also:
- Constant Field Values
ROOT_UUID
public static final java.lang.String ROOT_UUID
-
- See Also:
- Constant Field Values
m_session
public oracle.jcr.impl.OracleSessionImpl m_session
m_customPropertiesByQName
public java.util.Map<oracle.jcr.impl.QName,org.w3c.dom.Document> m_customPropertiesByQName
m_persistenceManager
public IdcPersistenceManager m_persistenceManager
m_connection
public IdcConnection m_connection
m_folderInfo
public java.lang.Object m_folderInfo
m_fileInfo
public java.lang.Object m_fileInfo
m_linkInfo
public java.lang.Object m_linkInfo
m_extraInfo
public java.util.Map<java.lang.String,java.lang.String> m_extraInfo
m_type
public byte m_type
m_uuid
public java.lang.String m_uuid
m_path
public oracle.jcr.impl.Path m_path
m_createdCustomProperties
public boolean m_createdCustomProperties
m_creationDate
public java.util.Calendar m_creationDate
m_lastModificationDate
public java.util.Calendar m_lastModificationDate
m_targetPath
public oracle.jcr.impl.Path m_targetPath
FOLDER_META_KEYS
public static java.lang.String[] FOLDER_META_KEYS
STANDARD_FOLDER_DEFAULT_FIELDS
public static java.lang.String[] STANDARD_FOLDER_DEFAULT_FIELDS
IdcResource
public IdcResource(oracle.jcr.impl.OracleSessionImpl session)
initWithFolder
public void initWithFolder(java.lang.Object folder,
java.lang.Object linkInfo)
initWithDocument
public void initWithDocument(java.lang.Object file,
java.lang.Object linkInfo)
initAsRoot
public void initAsRoot()
throws javax.jcr.RepositoryException
-
- Throws:
javax.jcr.RepositoryException
addCustomProperty
public void addCustomProperty(org.w3c.dom.Document document)
-
- Specified by:
addCustomProperty in interface oracle.jcr.spi.Resource
dispose
public void dispose()
-
- Specified by:
dispose in interface oracle.jcr.spi.Resource
getAuthor
public java.lang.String getAuthor()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getAuthor in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getCharacterSet
public java.lang.String getCharacterSet()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getCharacterSet in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getComment
public java.lang.String getComment()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getComment in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getContent
public java.io.BufferedInputStream getContent()
throws javax.jcr.RepositoryException
-
- Specified by:
getContent in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
getContentLanguage
public java.lang.String getContentLanguage()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getContentLanguage in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getContentSize
public long getContentSize()
-
- Specified by:
getContentSize in interface oracle.jcr.spi.Resource
getContentType
public java.lang.String getContentType()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getContentType in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getCreationDate
public java.util.Calendar getCreationDate()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getCreationDate in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getCreator
public java.lang.String getCreator()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getCreator in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getCustomProperty
public org.w3c.dom.Document getCustomProperty(oracle.jcr.impl.QName qname)
-
- Specified by:
getCustomProperty in interface oracle.jcr.spi.Resource
getCustomPropertyNames
public java.util.Collection getCustomPropertyNames()
-
- Specified by:
getCustomPropertyNames in interface oracle.jcr.spi.Resource
getDisplayName
public java.lang.String getDisplayName()
-
- Specified by:
getDisplayName in interface oracle.jcr.spi.Resource
getDOMElementNodeType
public javax.jcr.nodetype.NodeType getDOMElementNodeType(org.w3c.dom.Element element,
javax.jcr.nodetype.NodeDefinition nodeDefinition)
throws javax.jcr.RepositoryException
-
- Specified by:
getDOMElementNodeType in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
getFolderLinks
public java.util.List getFolderLinks()
-
- Specified by:
getFolderLinks in interface oracle.jcr.spi.Resource
getLastModificationDate
public java.util.Calendar getLastModificationDate()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getLastModificationDate in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getLastModifier
public java.lang.String getLastModifier()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getLastModifier in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getLinkState
public byte getLinkState()
-
- Specified by:
getLinkState in interface oracle.jcr.spi.Resource
getOwner
public java.lang.String getOwner()
throws javax.jcr.PathNotFoundException
-
- Specified by:
getOwner in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.PathNotFoundException
getParentUUID
public java.lang.String getParentUUID()
-
- Specified by:
getParentUUID in interface oracle.jcr.spi.Resource
getPath
public oracle.jcr.impl.Path getPath()
-
- Specified by:
getPath in interface oracle.jcr.spi.Resource
getPersistentParentUUID
public java.lang.String getPersistentParentUUID()
-
- Specified by:
getPersistentParentUUID in interface oracle.jcr.spi.Resource
getPersistentPath
public oracle.jcr.impl.Path getPersistentPath()
-
- Specified by:
getPersistentPath in interface oracle.jcr.spi.Resource
getResourceState
public byte getResourceState()
-
- Specified by:
getResourceState in interface oracle.jcr.spi.Resource
getSession
public oracle.jcr.impl.OracleSessionImpl getSession()
-
- Specified by:
getSession in interface oracle.jcr.spi.Resource
getTarget
public java.lang.String getTarget()
-
- Specified by:
getTarget in interface oracle.jcr.spi.Resource
getType
public byte getType()
-
- Specified by:
getType in interface oracle.jcr.spi.Resource
getUUID
public java.lang.String getUUID()
-
- Specified by:
getUUID in interface oracle.jcr.spi.Resource
hasPermission
public boolean hasPermission(byte action,
oracle.jcr.impl.Path residualPath)
-
- Specified by:
hasPermission in interface oracle.jcr.spi.Resource
hasXMLContent
public boolean hasXMLContent()
-
- Specified by:
hasXMLContent in interface oracle.jcr.spi.Resource
setAuthor
public void setAuthor(java.lang.String author)
throws javax.jcr.RepositoryException
-
- Specified by:
setAuthor in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setCharacterSet
public void setCharacterSet(java.lang.String characterSet)
throws javax.jcr.RepositoryException
-
- Specified by:
setCharacterSet in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setComment
public void setComment(java.lang.String comment)
throws javax.jcr.RepositoryException
-
- Specified by:
setComment in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setContentLanguage
public void setContentLanguage(java.lang.String contentLanguage)
throws javax.jcr.RepositoryException
-
- Specified by:
setContentLanguage in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setContentType
public void setContentType(java.lang.String contentType)
throws javax.jcr.RepositoryException
-
- Specified by:
setContentType in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setDisplayName
public void setDisplayName(java.lang.String displayName)
throws javax.jcr.RepositoryException
-
- Specified by:
setDisplayName in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setDOMElementNodeType
public void setDOMElementNodeType(org.w3c.dom.Element element,
org.w3c.dom.Node parentNode,
javax.jcr.nodetype.NodeType nodeType,
javax.jcr.nodetype.NodeDefinition nodeDefinition)
throws javax.jcr.RepositoryException
-
- Specified by:
setDOMElementNodeType in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setLastModificationDate
public void setLastModificationDate(java.util.Calendar date)
throws javax.jcr.RepositoryException
-
- Specified by:
setLastModificationDate in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setOwner
public void setOwner(java.lang.String owner)
throws javax.jcr.RepositoryException
-
- Specified by:
setOwner in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setPath
public void setPath(oracle.jcr.impl.Path path)
-
- Specified by:
setPath in interface oracle.jcr.spi.Resource
setTarget
public void setTarget(java.lang.String target)
-
- Specified by:
setTarget in interface oracle.jcr.spi.Resource
getXMLContent
public org.w3c.dom.Document getXMLContent()
throws javax.jcr.RepositoryException
-
- Specified by:
getXMLContent in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
setContent
public void setContent(java.io.BufferedInputStream in)
throws javax.jcr.RepositoryException
-
- Specified by:
setContent in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
createResource
public oracle.jcr.spi.Resource createResource(byte type,
java.lang.String bindingName)
throws javax.jcr.RepositoryException
-
- Specified by:
createResource in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
unlinkResource
public void unlinkResource()
throws javax.jcr.RepositoryException
-
- Specified by:
unlinkResource in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
relinkResource
public void relinkResource(java.lang.String newParentUUID,
java.lang.String newBindingName)
throws javax.jcr.RepositoryException
-
- Specified by:
relinkResource in interface oracle.jcr.spi.Resource
-
- Throws:
javax.jcr.RepositoryException
getScore
protected java.lang.Double getScore()
getFolderInfo
public oracle.stellent.ridc.model.DataObject getFolderInfo()
getFileInfo
public oracle.stellent.ridc.model.DataObject getFileInfo()
getValue
protected java.lang.String getValue(java.lang.Object o,
java.lang.String key)
getValue
protected java.lang.String getValue(java.lang.Object o,
java.lang.String key,
boolean canReturnDates)
getDate
protected java.util.Calendar getDate(java.lang.Object o,
java.lang.String key)
arrayContains
protected boolean arrayContains(java.lang.String[] array,
java.lang.String key)
getKeySet
protected java.util.Set<java.lang.String> getKeySet(java.lang.Object o)
idcVersionInfo
public static java.lang.Object idcVersionInfo(java.lang.Object arg)
Skip navigation links
Copyright © 1996, 2011, Oracle and/or its affiliates. All rights reserved.