org.apache.jackrabbit.jcr2spi.hierarchy
Interface PropertyEntry

All Superinterfaces:
HierarchyEntry
All Known Implementing Classes:
PropertyEntryImpl

public interface PropertyEntry
extends HierarchyEntry

PropertyEntry...


Method Summary
 PropertyId getId()
           
 PropertyState getPropertyState()
           
 PropertyId getWorkspaceId()
          Returns the ID that must be used for resolving this entry OR loading its children entries from the persistent layer.
 
Methods inherited from interface org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntry
calculateStatus, complete, denotesNode, getGeneration, getItemState, getName, getParent, getPath, getStatus, getWorkspacePath, invalidate, isAvailable, reload, remove, revert, setItemState, transientRemove
 

Method Detail

getId

PropertyId getId()
                 throws InvalidItemStateException,
                        RepositoryException
Returns:
the NodeId of this child node entry.
Throws:
InvalidItemStateException
RepositoryException

getWorkspaceId

PropertyId getWorkspaceId()
                          throws InvalidItemStateException,
                                 RepositoryException
Returns the ID that must be used for resolving this entry OR loading its children entries from the persistent layer. This is the same as getId() unless any of its ancestors has been transiently moved.

Returns:
Throws:
InvalidItemStateException
RepositoryException
See Also:
getId()

getPropertyState

PropertyState getPropertyState()
                               throws ItemNotFoundException,
                                      RepositoryException
Returns:
the referenced PropertyState.
Throws:
ItemNotFoundException - if the PropertyState does not exist anymore.
RepositoryException - if an error occurs while retrieving the PropertyState.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.