Details d = newEnum.getDetails(); d.setOwner( new Experimenter( 0L, false ) ); d.setGroup( new ExperimenterGroup( 0L, false ) ); d.setPermissions( Permissions.DEFAULT ); d.setCreationEvent( getSecuritySystem().currentEvent() );
    public <T extends IEnum> T createEnumeration( T newEnum )    {    	final LocalUpdate up = iUpdate;    	return getSecuritySystem().doAction(newEnum, new SecureAction(){    		public IObject updateObject(IObject iObject) {    			return up.saveAndReturnObject(iObject);    		}    	});    }