All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.jcr.retention.RetentionPolicy Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
/*
 * Copyright 2008 Day Management AG, Switzerland. All rights reserved.
 */
package javax.jcr.retention;

import javax.jcr.RepositoryException;

/**
 * An RetentionPolicy is an object with a name and an optional
 * description.
 *
 * @see RetentionManager#getRetentionPolicy(String)
 * @see RetentionManager#setRetentionPolicy(String, RetentionPolicy)
 * @see RetentionManager#removeRetentionPolicy(String)
 * @since JCR 2.0
 */
public interface RetentionPolicy {
    /**
     * Returns the name of the retention policy. A JCR name.
     *
     * @return the name of the access control policy. A JCR name.
     * @throws RepositoryException if an error occurs.
     */
    public String getName() throws RepositoryException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy