Ontimize Document Management 0.035EN

com.ontimize.dms.jcr
Interface JcrProperty

All Superinterfaces:
JcrLockable, JcrWrapper, JcrWrapperProperty
All Known Implementing Classes:
JcrPropertyBase

public interface JcrProperty
extends JcrWrapperProperty, JcrLockable

Handle custom node properties.

Since:
31/12/2008, 12/01/2009 Added get and set methods (works with null values)., 15/01/2009 Added alias to get and set methods. Improved null values., 16/02/2009 Added support to add new properties., 13/02/2009 Setting properties returns added properties., 16/04/2009 Added support to copy properties from a given node., 20/05/2009 Added support to return properties from a given list., 10/06/2009 Removed permissions in nodes., 16/06/2009 Added support to remove properties., 19/06/2009 Added support to lock properties (only read)., 17/07/2009 Properties in a internal node., 24/07/2009 Allows properties with multiple values., 01/10/2010 Added value converter object., 25/10/2010 Changed access to internal node., 11/11/2010 Refactoring to allow changes in node structure.

Method Summary
 void add(java.util.Map properties, java.util.Map alias)
           
 JcrResult copy(Node source, java.util.List properties)
           
 java.util.List doAdd(java.util.Map properties, java.util.Map alias, java.util.List excluded)
           
 java.util.List doCopy(Node source, java.util.List properties)
           
 java.util.Map doGet(java.util.List properties, java.util.Map alias, java.util.List excluded)
           
 JcrResult doRemove(java.util.List properties, java.util.List excluded)
           
 java.util.Map get(java.util.List properties, java.util.Map alias)
           
 java.lang.Object getValue(java.lang.String key)
           
 java.util.Map getWithout(java.util.List exclude, java.util.Map alias)
           
 boolean has(java.util.Map properties)
           
 JcrResult remove(java.util.List properties, java.util.List excluded)
           
 JcrResult remove(java.util.Map properties, java.util.List excluded)
           
 JcrResult set(Property[] properties, java.util.Map alias, java.util.List excluded)
           
 
Methods inherited from interface com.ontimize.dms.jcr.JcrWrapperProperty
getProperty, hasProperty, setProperty
 
Methods inherited from interface com.ontimize.dms.jcr.JcrWrapper
getInnerSession, getInternal, getSession, getWrapper, save
 
Methods inherited from interface com.ontimize.dms.jcr.JcrLockable
isLocked, lock, unlock, unlock, unlock, unlock
 

Method Detail

getValue

java.lang.Object getValue(java.lang.String key)
                          throws RepositoryException
Throws:
RepositoryException

get

java.util.Map get(java.util.List properties,
                  java.util.Map alias)
                  throws RepositoryException
Throws:
RepositoryException

doGet

java.util.Map doGet(java.util.List properties,
                    java.util.Map alias,
                    java.util.List excluded)
                    throws RepositoryException
Throws:
RepositoryException

getWithout

java.util.Map getWithout(java.util.List exclude,
                         java.util.Map alias)
                         throws RepositoryException
Throws:
RepositoryException

has

boolean has(java.util.Map properties)
            throws RepositoryException
Throws:
RepositoryException

add

void add(java.util.Map properties,
         java.util.Map alias)
         throws LockException,
                RepositoryException
Throws:
LockException
RepositoryException

doAdd

java.util.List doAdd(java.util.Map properties,
                     java.util.Map alias,
                     java.util.List excluded)
                     throws RepositoryException
Throws:
RepositoryException

set

JcrResult set(Property[] properties,
              java.util.Map alias,
              java.util.List excluded)
              throws LockException,
                     RepositoryException
Throws:
LockException
RepositoryException

copy

JcrResult copy(Node source,
               java.util.List properties)
               throws RepositoryException
Throws:
RepositoryException

doCopy

java.util.List doCopy(Node source,
                      java.util.List properties)
                      throws RepositoryException
Throws:
RepositoryException

remove

JcrResult remove(java.util.List properties,
                 java.util.List excluded)
                 throws LockException,
                        RepositoryException
Throws:
LockException
RepositoryException

doRemove

JcrResult doRemove(java.util.List properties,
                   java.util.List excluded)
                   throws RepositoryException
Throws:
RepositoryException

remove

JcrResult remove(java.util.Map properties,
                 java.util.List excluded)
                 throws LockException,
                        RepositoryException
Throws:
LockException
RepositoryException

Ontimize Document Management