public static MethodDef [ ] reflectMethods ( ) { ArrayList < MethodDef > methodList = new ArrayList < MethodDef > ( ) ; MethodDef method = null ; method = new MethodDef ( ) ; method . methodName = "viewObjectProfile" ; method . methodLabel = "View description of the object" ; method . methodParms = new MethodParmDef [ 0 ] ; methodList . add ( method ) ; method = new MethodDef ( ) ; method . methodName = "viewMethodIndex" ; method . methodLabel = "View a list of dissemination methods in the object" ; method . methodParms = new MethodParmDef [ 0 ] ; methodList . add ( method ) ; method = new MethodDef ( ) ; method . methodName = "viewItemIndex" ; method . methodLabel = "View a list of items in the object" ; method . methodParms = new MethodParmDef [ 0 ] ; methodList . add ( method ) ; method = new MethodDef ( ) ; method . methodName = "viewDublinCore" ; method . methodLabel = "View the Dublin Core record for the object" ; method . methodParms = new MethodParmDef [ 0 ] ; methodList . add ( method ) ; return methodList . toArray ( new MethodDef [ 0 ] ) ; }
Method implementation of reflectMethods from the InternalService interface . This will return an array of method definitions that constitute the behaviors of the Default Disseminator which is associated with every Fedora object . These will be the methods promulgated by the DefaultDisseminator interface .