|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
This interface holds extensions made in JCR 2.0 while work is in progress implementing JCR 2.0.
Field Summary |
---|
Method Summary | |
---|---|
Value |
getDescriptorValue(String key)
The value of a single-value descriptor is found by passing the key for that descriptor to this method. |
Value[] |
getDescriptorValues(String key)
The value array of a multi-value descriptor is found by passing the key for that descriptor to this method. |
boolean |
isSingleValueDescriptor(String key)
Returns true if key is a valid single-value
descriptor; otherwise returns false . |
boolean |
isStandardDescriptor(String key)
Returns true if key is a standard descriptor
defined by the string constants in this interface and false
if it is either a valid implementation-specific key or not a valid key. |
Methods inherited from interface javax.jcr.Repository |
---|
getDescriptor, getDescriptorKeys, login, login, login, login |
Method Detail |
---|
boolean isStandardDescriptor(String key)
true
if key
is a standard descriptor
defined by the string constants in this interface and false
if it is either a valid implementation-specific key or not a valid key.
key
- a descriptor key.
key
is a standard descriptor.boolean isSingleValueDescriptor(String key)
true
if key
is a valid single-value
descriptor; otherwise returns false
.
key
- a descriptor key.
Value getDescriptorValue(String key)
key
is the key of a
multi-value descriptor or not a valid key this method returns
null
.
key
- a descriptor key.
Value[] getDescriptorValues(String key)
key
is the key of a
single-value descriptor then this method returns that value as an array
of size one. If key
is not a valid key this method returns
null
.
key
- a descriptor key.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |