AttachmentImpl_Chromattic.java

package org.exoplatform.wiki.mow.core.api.wiki;
import org.chromattic.apt.Invoker;
import org.chromattic.apt.Instrumented;
public class AttachmentImpl_Chromattic extends AttachmentImpl implements Instrumented {
public final org.chromattic.spi.instrument.MethodHandler handler;
public AttachmentImpl_Chromattic(org.chromattic.spi.instrument.MethodHandler handler) {
this.handler = handler;
}
private static final Invoker method_0 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getName");
public final java.lang.String getName() {
try {
return (java.lang.String)handler.invoke(this,method_0.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_1 = Invoker.getDeclaredMethod(org.chromattic.ext.ntdef.NTFile.class,"createResource");
protected final org.chromattic.ext.ntdef.NTResource createResource() {
try {
return (org.chromattic.ext.ntdef.NTResource)handler.invoke(this,method_1.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_2 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getPageDescriptionMixinByChromattic");
public final org.exoplatform.wiki.mow.core.api.wiki.PageDescriptionMixin getPageDescriptionMixinByChromattic() {
try {
return (org.exoplatform.wiki.mow.core.api.wiki.PageDescriptionMixin)handler.invoke(this,method_2.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_3 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"createPageDescriptionMixin");
protected final org.exoplatform.wiki.mow.core.api.wiki.PageDescriptionMixin createPageDescriptionMixin() {
try {
return (org.exoplatform.wiki.mow.core.api.wiki.PageDescriptionMixin)handler.invoke(this,method_3.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_4 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getTitle");
public final java.lang.String getTitle() {
try {
return (java.lang.String)handler.invoke(this,method_4.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_5 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getPath");
public final java.lang.String getPath() {
try {
return (java.lang.String)handler.invoke(this,method_5.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_6 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"createVersionableMixin");
protected final org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin createVersionableMixin() {
try {
return (org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin)handler.invoke(this,method_6.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_7 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"setTitle",java.lang.String.class);
public final void setTitle(java.lang.String arg_0) {
try {
handler.invoke(this,method_7.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_8 = Invoker.getDeclaredMethod(org.chromattic.ext.ntdef.NTHierarchyNode.class,"getCreated");
public final java.util.Date getCreated() {
try {
return (java.util.Date)handler.invoke(this,method_8.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_9 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"setName",java.lang.String.class);
public final void setName(java.lang.String arg_0) {
try {
handler.invoke(this,method_9.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_10 = Invoker.getDeclaredMethod(org.chromattic.ext.ntdef.NTFile.class,"setContent",java.lang.Object.class);
public final void setContent(java.lang.Object arg_0) {
try {
handler.invoke(this,method_10.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_11 = Invoker.getDeclaredMethod(org.chromattic.ext.ntdef.NTFile.class,"getContent");
public final java.lang.Object getContent() {
try {
return (java.lang.Object)handler.invoke(this,method_11.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_12 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"remove");
public final void remove() {
try {
handler.invoke(this,method_12.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_13 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getFileType");
public final java.lang.String getFileType() {
try {
return (java.lang.String)handler.invoke(this,method_13.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_14 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"setPageDescriptionMixinByChromattic",org.exoplatform.wiki.mow.core.api.wiki.PageDescriptionMixin.class);
protected final void setPageDescriptionMixinByChromattic(org.exoplatform.wiki.mow.core.api.wiki.PageDescriptionMixin arg_0) {
try {
handler.invoke(this,method_14.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_15 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getWorkspace");
public final java.lang.String getWorkspace() {
try {
return (java.lang.String)handler.invoke(this,method_15.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_16 = Invoker.getDeclaredMethod(org.chromattic.ext.ntdef.NTHierarchyNode.class,"setParent",org.chromattic.ext.ntdef.NTFolder.class);
public final void setParent(org.chromattic.ext.ntdef.NTFolder arg_0) {
try {
handler.invoke(this,method_16.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_17 = Invoker.getDeclaredMethod(org.chromattic.ext.ntdef.NTHierarchyNode.class,"getParent");
public final org.chromattic.ext.ntdef.NTFolder getParent() {
try {
return (org.chromattic.ext.ntdef.NTFolder)handler.invoke(this,method_17.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_18 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"setFileType",java.lang.String.class);
public final void setFileType(java.lang.String arg_0) {
try {
handler.invoke(this,method_18.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_19 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getParentPage");
public final org.exoplatform.wiki.mow.core.api.wiki.PageImpl getParentPage() {
try {
return (org.exoplatform.wiki.mow.core.api.wiki.PageImpl)handler.invoke(this,method_19.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_20 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"setCreator",java.lang.String.class);
public final void setCreator(java.lang.String arg_0) {
try {
handler.invoke(this,method_20.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_21 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getCreator");
public final java.lang.String getCreator() {
try {
return (java.lang.String)handler.invoke(this,method_21.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_22 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"getVersionableMixinByChromattic");
public final org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin getVersionableMixinByChromattic() {
try {
return (org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin)handler.invoke(this,method_22.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_23 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class,"setVersionableMixinByChromattic",org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin.class);
protected final void setVersionableMixinByChromattic(org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin arg_0) {
try {
handler.invoke(this,method_23.getMethod(),(Object)arg_0);
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
}