|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.retention.RetentionPolicyImpl
public class RetentionPolicyImpl
Basic implementation of the RetentionPolicy interface.
| Method Summary | |
|---|---|
static RetentionPolicy |
createRetentionPolicy(String jcrName,
Session session)
Creates a new RetentionPolicy that can be applied to a
Node using RetentionManager.setRetentionPolicy(String, org.apache.jackrabbit.api.jsr283.retention.RetentionPolicy). |
boolean |
equals(Object obj)
|
String |
getName()
Returns the name of the retention policy. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RetentionPolicy createRetentionPolicy(String jcrName,
Session session)
throws RepositoryException
RetentionPolicy that can be applied to a
Node using RetentionManager.setRetentionPolicy(String, org.apache.jackrabbit.api.jsr283.retention.RetentionPolicy).
jcrName - The name of the policy. It must be a valid JCR name.session - The editing Session from which the retention
manager will be obtained.
RetentionPolicy
RepositoryException - If the jcr name isn't valid or if same other
error occurs.
public String getName()
throws RepositoryException
RetentionPolicy
getName in interface RetentionPolicyRepositoryException - if an error occurs.RetentionPolicy.getName()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||