javax.jcr.retention
Interface RetentionPolicy


public interface RetentionPolicy

An RetentionPolicy is an object with a name and an optional description.

Since:
JCR 2.0
See Also:
RetentionManager.getRetentionPolicy(String), RetentionManager.setRetentionPolicy(String, RetentionPolicy), RetentionManager.removeRetentionPolicy(String)

Method Summary
 java.lang.String getName()
          Returns the name of the retention policy.
 

Method Detail

getName

java.lang.String getName()
                         throws RepositoryException
Returns the name of the retention policy. A JCR name.

Returns:
the name of the access control policy. A JCR name.
Throws:
RepositoryException - if an error occurs.