1 6 7 package javax.emb; 8 9 import javax.ejb.EJBLocalObject; 10 11 32 public interface MetaDataEntityLocal extends EJBLocalObject 33 { 34 42 void addChild(MetaDataEntityLocal child) throws MediaException; 43 44 52 void addMediaEntity(MediaEntityLocal mediaEntity) throws MediaException; 53 54 58 62 MetaDataEntityLocal[] getChildren() throws MediaException; 63 64 70 long getLastModified() throws MediaException; 71 72 78 MediaEntityLocal[] getMediaEntities() throws MediaException; 79 80 90 MediaEntityLocal[] getMediaEntities( 91 MediaFormat mediaFormat, 92 boolean searchCildren) 93 throws MediaException; 94 95 104 MediaEntityLocal[] getMediaEntities(String mimeType, boolean searchCildren) 105 throws MediaException; 106 107 119 String getName() throws MediaException; 120 121 130 MetaDataEntityLocal getNextVersion() throws MediaException; 131 132 139 MetaDataEntityLocal[] getParents() throws MediaException; 140 141 149 MetaDataEntityLocal getPreviousVersion() throws MediaException; 150 151 157 String getXML() throws MediaException; 158 159 168 void removeChild(MetaDataEntityLocal child) throws MediaException; 169 170 179 void removeMediaEntity(MediaEntityLocal mediaEntity) throws MediaException; 180 181 194 void setName(String name) throws MediaException; 195 196 222 void setPreviousVersion(MetaDataEntityLocal metadata) throws MediaException; 223 224 238 void setXML(String xmlContent, boolean validate) throws MediaException; 239 } | Popular Tags |