1 13 package info.magnolia.cms.core; 14 15 import info.magnolia.cms.security.AccessManager; 16 17 import org.apache.commons.lang.exception.NestableRuntimeException; 18 19 20 24 public abstract class ContentHandler implements Cloneable { 25 26 29 protected AccessManager accessManager; 30 31 34 ContentHandler() { 35 } 36 37 41 public void setAccessManager(AccessManager manager) { 42 this.accessManager = manager; 43 } 44 45 49 public AccessManager getAccessManager() { 50 return this.accessManager; 51 } 52 53 57 protected Object clone() { 58 try { 59 return super.clone(); 60 } 61 catch (CloneNotSupportedException e) { 62 throw new NestableRuntimeException(e); 64 } 65 } 66 67 } 68 | Popular Tags |