1 package org.opencrx.kernel.document1.cci; 14 15 public class DocumentFolderClassImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefClass_1 17 implements DocumentFolderClass { 18 19 public DocumentFolderClassImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage 21 ) { 22 super(refPackage); 23 } 24 25 public String refMofId( 26 ) { 27 return "org:opencrx:kernel:document1:DocumentFolder"; 28 } 29 30 public DocumentFolder getDocumentFolder( 31 Object object 32 ) { 33 try { 34 if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) { 35 java.util.List args = new java.util.ArrayList (); 36 args.add(object); 37 DocumentFolder target = (DocumentFolder)refCreateInstance( 38 args 39 ); 40 return target; 41 } else { 42 return (DocumentFolder)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject( 43 object instanceof org.openmdx.compatibility.base.naming.Path 44 ? ((org.openmdx.compatibility.base.naming.Path)object).toXri() 45 : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri() 46 ); 47 } 48 } 49 catch(org.openmdx.base.exception.ServiceException e) { 50 throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e); 51 } 52 } 53 54 public DocumentFolder createDocumentFolder( 55 ) { 56 DocumentFolder target = (DocumentFolder)refCreateInstance( 57 null 58 ); 59 return target; 60 } 61 public DocumentFolder createDocumentFolder( 65 short accessLevelBrowse 66 , short accessLevelDelete 67 , short accessLevelUpdate 68 , String description 69 , String name 70 ) { 71 DocumentFolderImpl _object = (DocumentFolderImpl)createDocumentFolder(); 72 _object.setAccessLevelBrowse(accessLevelBrowse); 73 _object.setAccessLevelDelete(accessLevelDelete); 74 _object.setAccessLevelUpdate(accessLevelUpdate); 75 _object.setDescription(description); 76 _object.setName(name); 77 return _object; 78 } 79 80 public DocumentFolder extendAuditee( 84 org.opencrx.kernel.base.cci.Auditee _base 85 , short accessLevelBrowse 86 , short accessLevelDelete 87 , short accessLevelUpdate 88 , String description 89 , String name 90 ) { 91 DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base); 92 _object.setAccessLevelBrowse(accessLevelBrowse); 93 _object.setAccessLevelDelete(accessLevelDelete); 94 _object.setAccessLevelUpdate(accessLevelUpdate); 95 _object.setDescription(description); 96 _object.setName(name); 97 return _object; 98 } 99 100 public DocumentFolder extendSecureObject( 104 org.opencrx.kernel.base.cci.SecureObject _base 105 , String description 106 , String name 107 ) { 108 DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base); 109 _object.setDescription(description); 110 _object.setName(name); 111 return _object; 112 } 113 114 public DocumentFolder extendBasicObject( 118 org.openmdx.base.cci.BasicObject _base 119 , short accessLevelBrowse 120 , short accessLevelDelete 121 , short accessLevelUpdate 122 , String description 123 , String name 124 ) { 125 DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base); 126 _object.setAccessLevelBrowse(accessLevelBrowse); 127 _object.setAccessLevelDelete(accessLevelDelete); 128 _object.setAccessLevelUpdate(accessLevelUpdate); 129 _object.setDescription(description); 130 _object.setName(name); 131 return _object; 132 } 133 134 public DocumentFolder extendContextCapable( 138 org.openmdx.base.cci.ContextCapable _base 139 , short accessLevelBrowse 140 , short accessLevelDelete 141 , short accessLevelUpdate 142 , String description 143 , String name 144 ) { 145 DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base); 146 _object.setAccessLevelBrowse(accessLevelBrowse); 147 _object.setAccessLevelDelete(accessLevelDelete); 148 _object.setAccessLevelUpdate(accessLevelUpdate); 149 _object.setDescription(description); 150 _object.setName(name); 151 return _object; 152 } 153 154 public DocumentFolder extendExtentCapable( 158 org.openmdx.base.cci.ExtentCapable _base 159 , short accessLevelBrowse 160 , short accessLevelDelete 161 , short accessLevelUpdate 162 , String description 163 , String name 164 ) { 165 DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base); 166 _object.setAccessLevelBrowse(accessLevelBrowse); 167 _object.setAccessLevelDelete(accessLevelDelete); 168 _object.setAccessLevelUpdate(accessLevelUpdate); 169 _object.setDescription(description); 170 _object.setName(name); 171 return _object; 172 } 173 174 public DocumentFolder extendViewCapable( 178 org.openmdx.compatibility.view1.cci.ViewCapable _base 179 , short accessLevelBrowse 180 , short accessLevelDelete 181 , short accessLevelUpdate 182 , String description 183 , String name 184 ) { 185 DocumentFolderImpl _object = (DocumentFolderImpl)getDocumentFolder(_base); 186 _object.setAccessLevelBrowse(accessLevelBrowse); 187 _object.setAccessLevelDelete(accessLevelDelete); 188 _object.setAccessLevelUpdate(accessLevelUpdate); 189 _object.setDescription(description); 190 _object.setName(name); 191 return _object; 192 } 193 194 } 198 | Popular Tags |